aboutsummaryrefslogtreecommitdiff
blob: e4870c8ca8ec467d8462fd0416e1ecff516839c0 (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
35
36
37
{% import '_userinfo.html' as userinfo -%}
{% import '_util.html' as importer -%}
<!doctype html>
<head>
<title>{% block title %}Welcome{% endblock %} | Grumpy</title>
{{ importer.load_css('style') }}
{% block script %}
{% endblock %}
</head>
<div id=page>
{{ userinfo.show_usernav(g) }}
<h1><a href="{{ url_for('dashboard') }}">Gentoo Grumpy</a></h1>
<div id=menu>
  <ul>
  {% if not g.user %}
  {% 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>
</div>