mirror of https://github.com/mitsuhiko/flask.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
487 B
18 lines
487 B
15 years ago
|
<!doctype html>
|
||
|
<title>Flaskr</title>
|
||
|
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}">
|
||
|
<div class=page>
|
||
|
<h1>Flaskr</h1>
|
||
|
<div class=metanav>
|
||
|
{% if not g.logged_in %}
|
||
|
<a href="{{ url_for('login') }}">log in</a>
|
||
|
{% else %}
|
||
|
<a href="{{ url_for('logout') }}">log out</a>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
{% for message in get_flashed_messages() %}
|
||
|
<div class=flash>{{ message }}</div>
|
||
|
{% endfor %}
|
||
|
{% block body %}{% endblock %}
|
||
|
</div>
|