aboutsummaryrefslogtreecommitdiff
path: root/app/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/base.html')
-rw-r--r--app/templates/base.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html
new file mode 100644
index 0000000..c40482d
--- /dev/null
+++ b/app/templates/base.html
@@ -0,0 +1,27 @@
+<html>
+ <head>
+ {% if title %}
+ <title>{{ title }} - Annotate Change</title>
+ {% else %}
+ <title>Welcome to Annotate Change</title>
+ {% endif %}
+ </head>
+ <body>
+ <div>Annotate Change:
+ <a href="{{ url_for('index') }}">Home</a>
+ <a href="{{ url_for('login') }}">Login</a>
+ </div>
+ <hr>
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ <ul>
+ {% for message in messages %}
+ <li>{{ message}}</li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+ {% endwith %}
+ {% block content %}
+ {% endblock %}
+ </body>
+</html>