aboutsummaryrefslogtreecommitdiff
blob: 2395577be5d1ae34f395678986251998da392ceb (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
28
29
30
31
32
33
34
{% import '_userinfo.html' as userinfo -%}
{% import '_util.html' as importer -%}
<!doctype html>
<head>
<title>{% block title %}Welcome{% endblock %} | Grumpy</title>
{% block script %}
{% endblock %}
</head>
{{ userinfo.show_box(g) }}
<div class=menu>
  <ul>
  {% if not g.user %}
    <li><a href="{{ url_for('login') }}">Login</a></li>
  {% endif %}
    <li><a href="{{ url_for('index') }}">Browse Portage</a></li>
  </ul>
</div>
<div class=page>
{% with flashes = get_flashed_messages() %}
  {% if flashes %}
    <ul class=flashes>
      {% for message in flashes %}
        <li>{{ message | e}}
      {% endfor %}
    </ul>
  {% endif %}
{% endwith %}
<div class=body>
{% block body %}{% endblock %}
</div>
<div class=foot>
Project Grumpy
</div>
</div>