Mercurial > kraina_muminkow
comparison frontend/mfrontend/templates/layout.html @ 3:79fc37fe85a6
Zabawy z Flaskiem ciąg dalszy, zaczyna to jakoś wyglądać
author | michalr |
---|---|
date | Tue, 22 Feb 2011 19:25:10 +0000 |
parents | |
children | d86794939fe4 |
comparison
equal
deleted
inserted
replaced
2:e0061735c327 | 3:79fc37fe85a6 |
---|---|
1 <!doctype html> | |
2 <title>Flaskr</title> | |
3 <div class=page> | |
4 <h1>NO HEJ</h1> | |
5 <div class=metanav> | |
6 {% if not session.logged_in %} | |
7 <a href="{{ url_for('login') }}">log in</a> | |
8 {% else %} | |
9 <a href="{{ url_for('logout') }}">log out</a> | |
10 {% endif %} | |
11 </div> | |
12 {% for message in get_flashed_messages() %} | |
13 <div class=flash>{{ message }}</div> | |
14 {% endfor %} | |
15 {% block body %}{% endblock %} | |
16 </div> |