blob: 3823903da7b6406235e07a3fed6dc5c68a05bb38 (
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
|
{% import '_userinfo.html' as userinfo -%}
<!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 %}
</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>
|