torent-downloader/templates/index.html

24 lines
924 B
HTML
Raw Normal View History

2024-09-15 00:39:25 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Search and download torrents directly to mediacenter</title>
<script src="https://unpkg.com/htmx.org@2.0.0" integrity="sha384-wS5l5IKJBvK6sPTKa2WZ1js3d947pvWXbPJ1OmWfEuxLgeHcEbjUUA5i9V5ZkpCw" crossorigin="anonymous"></script>
2024-09-18 01:58:35 +02:00
<link href="{{ url_for('static', path='/style.css') }}" rel="stylesheet">
2024-09-15 00:39:25 +02:00
</head>
<body>
<menu>
2024-09-18 02:47:31 +02:00
<li>Search <input class="search" hx-get="/list" hx-replace-url="true" hx-target="#content" type=text name=query /></li>
2024-09-15 00:39:25 +02:00
<li hx-get="/active" hx-replace-url="/active" hx-target="#content">Active downloads</li>
</menu>
2024-09-18 01:58:35 +02:00
<div id="content">
2024-09-15 00:39:25 +02:00
{% block content %}
2024-09-18 01:58:35 +02:00
{% if include_template %}
{% include include_template %}
{% endif %}
2024-09-15 00:39:25 +02:00
{% endblock %}
</div>
</body>
</html>