blob: be8339fb400314f085f161a7a98a7b13b9379d0a (
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 -%}
<!doctype html>
<head>
<title>{% block title %}Welcome{% endblock %} | Grumpy</title>
<script type="text/javascript" language="javascript" src="{{ url_for('static', filename='js/jquery.min.js' )}}"></script>
<script type="text/javascript" language="javascript" src="{{ url_for('static', filename='js/jquery.dataTables.min.js' )}}"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#owned_pkgs').dataTable();
} );
</script>
</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>
|