summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorMarian Sigler <m@qjym.de>2012-09-26 02:37:56 +0200
committerMarian Sigler <m@qjym.de>2012-09-26 02:37:56 +0200
commit7216ec0a7fe4051611990c237652eaaa50e26e42 (patch)
tree697d0798852ecdcc5c33b37b4a76f785badc273e /templates/base.html
parentcc31815e01c6cb36fb1e88f02a9ae463745dac59 (diff)
downloadweb-7216ec0a7fe4051611990c237652eaaa50e26e42.tar.gz
web-7216ec0a7fe4051611990c237652eaaa50e26e42.tar.bz2
web-7216ec0a7fe4051611990c237652eaaa50e26e42.zip
start with form and template changes for service password management
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html
index c3ed80b..425ea34 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -15,15 +15,11 @@
<h1 id="header"><img src="{{url_for('static', filename='logo.png')}}" alt="Spline" /></h1>
- {% if title %}
- <h2>{{ title }}</h2>
- {% endif %}
-
{%- if not no_login_message %}
{%- if g.user %}
- <p>Logged in as {{ g.user.uid }}. <a href="{{ url_for('logout') }}">Log out</a></p>
+ <p>Angemeldet als <strong>{{ g.user.uid }}</strong> | <a href="{{ url_for('logout') }}">Abmelden</a></p>
{%- else %}
- <p>Not logged in. <a href="{{ url_for('index') }}">Log in</a></p>
+ <p>Nicht angemeldet | <a href="{{ url_for('index') }}">Login</a></p>
{%- endif %}
{%- endif %}
@@ -37,6 +33,10 @@
{% endif %}
{% endwith %}
+ {% if title %}
+ <h2>{{ title }}</h2>
+ {% endif %}
+
{% block content %}{% endblock %}
</body>
</html>