add missing files

This commit is contained in:
j 2023-07-25 20:06:14 +01:00
commit a936246de9
4 changed files with 99 additions and 0 deletions

17
app/templates/login.html Normal file
View file

@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block head %}
<title>Login - {{ settings.SITENAME }}</title>
{% endblock %}
{% block content %}
<div class="login">
<form method="POST">
{% csrf_token %}
<input name="username" type="text" placeholder="your username" required></input>
<input name="password" type="password" placeholder="your password" required></input>
<div class="buttons login">
<button id="login">Login</button>
</div>
<div class="error">{{ error }}</div>
</form>
</div>
{% endblock %}

10
app/templates/page.html Normal file
View file

@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block head %}
<title>{{ page.title }} - {{ settings.SITENAME }}</title>
{% endblock %}
{% block content %}
<div class="page">
{{ page.content|safe }}
</div>
{% endblock %}