38 lines
994 B
HTML
38 lines
994 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>{% block title %}{% endblock %}{% if self.title() %} - {% endif %}capsul</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="shortcut icon" href="/favicon.ico" />
|
|
<link rel="apple-touch-icon" href="/icon.png" />
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
|
|
<div class="float-right">
|
|
{% if session["account"] %}
|
|
<span>Logged in as {{ session["account"] }}</span>
|
|
<a href="{{ url_for('auth.logout') }}">Log Out</a>
|
|
{% else %}
|
|
<a href="{{ url_for('auth.login') }}">Log In</a>
|
|
{% endif %}
|
|
</div>
|
|
<h1>
|
|
capsul
|
|
</h1>
|
|
|
|
</header>
|
|
<main>
|
|
{% for message in get_flashed_messages() %}
|
|
<div class="flash">{{ message }}</div>
|
|
{% endfor %}
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
<footer>
|
|
|
|
</footer>
|
|
</body>
|
|
</html> |