Mercurial > kraina_muminkow
comparison frontend/mfrontend/templates/layout.html @ 7:d86794939fe4
Rejestracja użytkowników
author | Michał Rudowicz <michal.rudowicz@fl9.eu> |
---|---|
date | Mon, 28 Feb 2011 11:34:20 +0100 |
parents | 79fc37fe85a6 |
children | 9a0a9fa7f91d |
comparison
equal
deleted
inserted
replaced
6:27d63cac76ac | 7:d86794939fe4 |
---|---|
1 <!doctype html> | 1 <!doctype html> |
2 <title>Flaskr</title> | 2 <title>NASZA APLIKACJA!</title> |
3 <div class=page> | 3 <div class=page> |
4 <h1>NO HEJ</h1> | 4 <h1>NO HEJ</h1> |
5 <div class=metanav> | 5 <div class=metanav> |
6 {% if not session.logged_in %} | 6 {% if not session.logged_in %} |
7 <a href="{{ url_for('login') }}">log in</a> | 7 <a href="{{ url_for('login') }}">Zaloguj się</a> | |
8 <a href="{{ url_for('register') }}">Załóż konto</a> | |
8 {% else %} | 9 {% else %} |
9 <a href="{{ url_for('logout') }}">log out</a> | 10 <a href="{{ url_for('logout') }}">Wyloguj się</a> |
10 {% endif %} | 11 {% endif %} |
11 </div> | 12 </div> |
12 {% for message in get_flashed_messages() %} | 13 {% for message in get_flashed_messages() %} |
13 <div class=flash>{{ message }}</div> | 14 <div class=flash>{{ message }}</div> |
14 {% endfor %} | 15 {% endfor %} |