This commit is contained in:
root 2020-09-21 18:40:52 +01:00
parent 296b9164e6
commit d03c91d1af
3 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<!doctype html>
<html lang="en-GB">
<head>
<meta charset="UTF-8" />
<meta name="handheldfriendly" content="true" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="YouTube-DL interface, written in Flask" />
<link rel="stylesheet" type="text/css" href="https://assets.pup.cloud/css/chota.min.css" />
<title>YouTube-DL-fe :: {% block title %}{% endblock %}</title>
{% block head_more %}{% endblock %}
</head>
<body>
{% include "navigation-bar.html.j2" %}
{% block page_body %}{% endblock %}
</body>
</html>

View File

@ -0,0 +1,16 @@
{% extends 'base.html.j2' %}
{% block title %}Home{% endblock %}
{% block head_more %}
{% endblock %}
{% block page_body %}
<div class="row"><div class="col"></div></div>
<div class="row">
<div class="col-1"></div>
<form class="col card" method="post" action="/add">
<header><h4><label for="uri">Quick Add</label></h4></header>
<input id="uri" type="url" placeholder="https://www.youtube.com/watch?v=dQw4w9WgXcQ" />
</form>
<div class="col-1"></div>
</div>
{% endblock %}

View File

@ -0,0 +1,13 @@
{% block nav %}
<nav class="nav">
<div class="nav-left">
<a class="brand" href="/">
<img src="https://assets.pup.cloud/img/maffsie_awoo.svg" height=150 alt="" />
YouTube-DL-fe
</a>
<div class="tabs">
<a href="/redis">Queue Dashboard</a>
</div>
</div>
</nav>
{% endblock %}