lasertube-flask/templates/layout.html
2012-04-11 08:44:05 -04:00

26 lines
724 B
HTML

<!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>