pytubedl/templates/index.html

49 lines
914 B
HTML
Raw Normal View History

2021-04-12 14:15:08 +02:00
<!DOCTYPE html>
<html lang="en" data-theme='dark'>
<style>
:root {
--background-color: #fff;
--text-color: #121416d8;
--link-color: #543fd7;
}
html[data-theme='light'] {
--background-color: #fff;
--text-color: #121416d8;
--link-color: #543fd7;
}
html[data-theme='dark'] {
--background-color: #212a2e;
--text-color: #F7F8F8;
--link-color: #828fff;
}
body {
background: var(--background-color);
color: var(--text-color);
}
</style>
<head>
<meta charset="UTF-8">
<title>PyTubeDL</title>
</head>
<body>
<form method="POST" action="/">
{{ form.csrf }}
{{ form.url.label }} {{ form.url }}
<input type="submit" value="Go">
</form>
{% with messages = get_flashed_messages() %}
{% if messages %}
<ul class=flashes>
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endwith %}
</body>
</html>