diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..1cd5c00 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,84 @@ + + + + + + {% block title %}AniWorld Downloader{% endblock %} + + + + {% block extra_head %}{% endblock %} + + + + +
+ {% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} + {% for category, message in messages %} + + {% endfor %} + {% endif %} + {% endwith %} + + {% block content %}{% endblock %} +
+ + + + + + {% block extra_scripts %}{% endblock %} + + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..4ef4918 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,392 @@ +{% extends "base.html" %} + +{% block content %} +
+
+

AniWorld Downloader

+

Willkommen, {{ current_user.jellyfin_username }}!

+
+
+ +
+
+
+
+
Link eingeben
+
+
+
+ + +
+ +
+
Titel wird geladen...
+ +
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ +
+ + bis + +
+
+
+ +
+ + bis + +
+
+
+ +
+
+ +
+ + bis + +
+
+
+ +
+ + +
+
+
+ +
+ +
+
+
+
+
+ +
+
+
+
Aktuelle Downloads
+ +
+
+
+ +

Keine aktiven Downloads

+
+
+
+ +
+
+
Schnellsuche
+
+
+
+
+ + +
+
+
+
+
+
+{% endblock %} + +{% block extra_scripts %} + +{% endblock %} \ No newline at end of file diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..751a6c7 --- /dev/null +++ b/templates/login.html @@ -0,0 +1,87 @@ +{% extends "base.html" %} + +{% block title %}Anmeldung - Media Manager{% endblock %} + +{% block head %} + +{% endblock %} + +{% block content %} +
+
+ + +
+
+ +
+ + +
+
+ +
+ +
+ + +
+
+ +
+ + +
+
+
+ + +{% endblock %} \ No newline at end of file diff --git a/templates/logs.html b/templates/logs.html new file mode 100644 index 0000000..b6d9c7f --- /dev/null +++ b/templates/logs.html @@ -0,0 +1,35 @@ +{% extends "base.html" %} + +{% block title %}Anmelden - AniWorld Downloader{% endblock %} + +{% block content %} +
+
+
+
+

Mit Jellyfin anmelden

+
+
+
+
+ + +
+
+ + +
+ +
+
+
+ Du musst einen gültigen Jellyfin-Account haben, um den Downloader zu nutzen. +
+
+
+
+
+
+{% endblock %} \ No newline at end of file diff --git a/templates/queue.html b/templates/queue.html new file mode 100644 index 0000000..d38080c --- /dev/null +++ b/templates/queue.html @@ -0,0 +1,157 @@ +{% extends "base.html" %} + +{% block title %}Warteschlange - AniWorld Downloader{% endblock %} + +{% block content %} +
+

Download-Warteschlange

+ +
+ +
+
+
+ + + + + + + + + + + + + + + {% for download in downloads %} + + + + + + + + + + + {% endfor %} + +
TitelS/EProviderSpracheStatusFortschrittErstelltAktionen
{{ download.title }} + {% if download.season %} + S{{ download.season }}E{{ download.episode }} + {% else %} + Film {{ download.episode }} + {% endif %} + {{ download.provider }}{{ download.language }} + + {{ download.status.title() }} + + +
+
+
+
+ {{ download.progress|round(1) }}% +
{{ download.created_at.strftime('%d.%m.%Y %H:%M') }} + {% if download.status in ['queued', 'downloading'] %} + + {% endif %} +
+
+ + {% if not downloads %} +
+ +

Keine Downloads in der Warteschlange

+
+ {% endif %} +
+
+{% endblock %} + +{% block extra_scripts %} + +{% endblock %} \ No newline at end of file