calendar-social/app/templates/base.html

37 lines
1002 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Calendar.Social</title>
{% block head %}
<style>
footer {
margin-top: 3em;
font-weight: bold;
border-top: 1px dotted black;
padding-top: 1em;
}
</style>
{% endblock %}
</head>
<body>
<header>
<h1>Calendar.social</h1>
<nav class="menu">
{{ _('Logged in as %(username)s', username=current_user.username) }}
<ul>
{% if not current_user.is_authenticated %}
<li><a href="{{ url_for('security.login') }}">{% trans %}Login{% endtrans %}</a></li>
{% else %}
<li><a href="{{ url_for('security.logout') }}">{% trans %}Logout{% endtrans %}</a></li>
{% endif %}
</ul>
</nav>
</header>
{% block content %}{% endblock %}
<footer>
Soon…™
</footer>
{% block scripts %}{% endblock %}
</body>
</html>