blob: 92fce2b4cdcc47fbed1d521073f7be222fe46977 (
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
38
39
40
41
42
43
44
|
{% 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>
{% if g.user.regtoken -%}
<span class="warning" style="clear:both;">
Warning: this user account has not yet been confirmed.<br />
Until the account has been confirmed, You won't receive
notifications and cannot add packages to your watch list.
</span>
{% endif -%}{# g.user.regtoken #}
<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>
|