add titles to pages

This commit is contained in:
Wojciech Kwolek 2020-08-29 21:18:05 +02:00
parent d2871e86cc
commit 7f440df1cb
5 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{% extends "_skel.html" %}
{% block title %}Log in{% endblock %}
{% block header_width %}max-w-xs{% endblock %}
{% from "_formhelpers.html" import render_field %}
{% block content %}

View File

@ -1,4 +1,5 @@
{% extends "_skel.html" %}
{% block title %}Log out{% endblock %}
{% block header_width %}max-w-xs{% endblock %}
{% block header_user %}{% endblock %}
{% from "_formhelpers.html" import render_field %}
@ -8,7 +9,7 @@
<h3>Are you sure you want to log out?</h3>
{{ form.csrf_token }}
{{ render_field(form.submit, False) }}
<p class="text-center text-xs">
<p class="text-xs text-center">
<a class="link" href="{{ url_for('main.index') }}">cancel</a>
</p>
</form>

View File

@ -1,4 +1,5 @@
{% extends "_skel.html" %}
{% block title %}Register{% endblock %}
{% block header_width %}max-w-xs{% endblock %}
{% from "_formhelpers.html" import render_field %}
{% block content %}

View File

@ -1,4 +1,5 @@
{% extends "_skel.html" %}
{% block title %}Welcome{% endblock %}
{% block content %}
<div class="max-w-lg m-auto card">
<h3 class="text-2xl text-center">Welcome!</h3>

View File

@ -1,4 +1,5 @@
{% extends "_skel.html" %}
{% block title %}{% if is_today %}Home{% else %}{{ day }}{% endif %}{% endblock %}
{% block content %}
<div class="max-w-lg mx-auto card">
<form method="POST" action="{{ url_for('main.index') }}">