add missing files
This commit is contained in:
parent
0b64fd58a1
commit
a936246de9
4 changed files with 99 additions and 0 deletions
17
app/templates/login.html
Normal file
17
app/templates/login.html
Normal 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
10
app/templates/page.html
Normal 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 %}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue