summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index 1886d12..c3ed80b 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,4 +1,4 @@
-{%- set styles = ['layout.css'] + styles|default([]) %}
+{%- set styles = ['layout.css', 'bootstrap-form.css'] + styles|default([]) %}
{%- set scripts = [] + scripts|default([]) %}
<!doctype html>
<html>
@@ -19,11 +19,13 @@
<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>
{%- else %}
<p>Not logged in. <a href="{{ url_for('index') }}">Log in</a></p>
{%- endif %}
+ {%- endif %}
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
@@ -36,7 +38,5 @@
{% endwith %}
{% block content %}{% endblock %}
-
- <pre>{{ session.__repr__() }}</pre>
</body>
</html>