2018-06-26 05:23:53 +00:00
|
|
|
<!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>
|
2018-06-29 06:03:49 +00:00
|
|
|
<nav class="menu">
|
2018-06-29 11:59:58 +00:00
|
|
|
{% if current_user.is_authenticated %}
|
2018-06-29 06:03:49 +00:00
|
|
|
{{ _('Logged in as %(username)s', username=current_user.username) }}
|
2018-06-29 11:59:58 +00:00
|
|
|
{% endif %}
|
2018-06-29 06:03:49 +00:00
|
|
|
<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>
|
2018-06-30 04:44:45 +00:00
|
|
|
<li><a href="{{ url_for('hello') }}">{% trans %}Calendar view{% endtrans %}</a></li>
|
2018-06-29 06:03:49 +00:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2018-06-26 05:23:53 +00:00
|
|
|
</header>
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
<footer>
|
|
|
|
Soon…™
|
|
|
|
</footer>
|
|
|
|
{% block scripts %}{% endblock %}
|
|
|
|
</body>
|
|
|
|
</html>
|