This repository has been archived on 2026-11-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
videovault/app/web/templates/base.html
T

57 lines
1.7 KiB
HTML

<!doctype html>
<html lang="sv">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex,nofollow">
<title>{% block title %}VideoVault{% endblock %}</title>
<link rel="stylesheet" href="/static/style.css">
<script src="/static/app.js" defer></script>
</head>
<body>
<header class="top">
<a class="brand" href="/">📼 VideoVault</a>
<form class="search" method="get" action="/">
<input type="search" name="q" value="{{ q or '' }}"
placeholder="Sök titel, tagg, nisch…" autofocus>
<button>🔍</button>
</form>
<div class="stats">
<span>{{ stats['ready'] }} redo</span>
<span>{{ stats['queued'] }} kö</span>
<span>{{ stats['failed'] }} fel</span>
</div>
</header>
<nav class="primaries">
<div class="wrap">
<a href="/">Alla</a>
{% for p in primaries %}
<a class="chip" href="/?cat={{ p|urlencode }}">{{ p }}</a>
{% endfor %}
<span class="spacer"></span>
<a href="/?status=queued">Kö/aktivt</a>
<a href="/?status=failed">Fel</a>
<a class="btn-add" href="#" onclick="document.getElementById('addform').classList.toggle('open');return false;">+ Länk</a>
</div>
</nav>
<form id="addform" action="/add" method="post" hidden>
<label>Klistra in en video-länk (t.ex. xvideos.com/…, pornhub.com/…)</label>
<input name="url" type="url" placeholder="https://…" required>
<button type="submit">Köa och ladda ner</button>
</form>
{% include "filters.html" %}
<main>
{% block content %}{% endblock %}
</main>
<footer class="foot">
<span>VideoVault — lokal kuratering. Endast laglig adult-innehåll (18+).</span>
<a href="/reindex">Re-indexera sök</a>
</footer>
</body>
</html>