aboutsummaryrefslogtreecommitdiff
path: root/app/templates/base.html
blob: c40482da043aad0dcc1cbbec43ba83845dde9819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>