lasertube-flask/templates/layout.html

26 lines
724 B
HTML
Raw Permalink Normal View History

2012-04-11 12:44:05 +00:00
<!doctype html>
<html>
<head>
<title>LaserTube</title>
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}">
{% block head %}{% endblock %}
</head>
<body>
<div class=page>
<h1>LaserTube</h1>
<div class=metanav>
{% if not session.logged_in %}
<a href="{{ url_for('login') }}">log in</a>
{% else %}
<form method='post' action="{{ url_for('logout') }}">
<input type="submit" value="log out" />
</form>
{% endif %}
</div>
{% for message in get_flashed_messages() %}
<div class=flash>{{ message }}</div>
{% endfor %}
{% block body %}{% endblock %}
</div>
</body>
</html>