summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2022-07-24 16:05:57 +0200
committerMarius Peter <marius.peter@tutanota.com>2022-07-24 16:05:57 +0200
commit98219953d4d1fbd399d7e3c61d9bb996dc133e3e (patch)
tree14cfd0e1202780855da3cff97f9b266f1a5f2854
parent400a27ad965d49ff6a1df706010b212a78259d32 (diff)
Templates.
-rw-r--r--app/templates/base.html5
-rw-r--r--app/templates/home.html4
2 files changed, 3 insertions, 6 deletions
diff --git a/app/templates/base.html b/app/templates/base.html
index 7a63ddf..4c51f04 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -14,9 +14,10 @@
</head>
<body>
<nav id="user">
- <div style="display: flex; align-items: baseline;">
+ <div style="display: flex;">
<ul>
- <li><a href="https:apps.mlnp.fr" class="button">Apps</a></li>
+ <li><a href="https://apps.mlnp.fr" class="button">Apps</a></li>
+ <li><a href="{{ url_for('main.home') }}" class="button"><code>mdl</code></a></li>
</ul>
<h1>{% block title %}{% endblock %}</h1>
</div>
diff --git a/app/templates/home.html b/app/templates/home.html
index e4e690f..a71a0d4 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -10,10 +10,6 @@ Welcome to <code>mdl</code>, the music downloader
{% endif %}
{% endblock %}
-{% block actions %}
-{# <li><a href="{{ url_for('main.download_database') }}" class="button">Download database</a></li> #}
-{% endblock %}
-
{% block content %}
{% if current_user.is_authenticated %}
<div id="downloads">
Copyright 2019--2024 Marius PETER