missing templates
This commit is contained in:
parent
f73d722970
commit
2b55bbbece
3 changed files with 39 additions and 1 deletions
|
@ -15,7 +15,7 @@ var UPLOAD_URL = "{{PREFIX}}/add";
|
||||||
<div>
|
<div>
|
||||||
You have to
|
You have to
|
||||||
<a href="{{PREFIX}}/login">login</a>
|
<a href="{{PREFIX}}/login">login</a>
|
||||||
or <a href="{{PREFIX}}register">register</a>.
|
or <a href="{{PREFIX}}/register">register</a>.
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
18
templates/login.html
Normal file
18
templates/login.html
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>videopdf</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>videopdf</h1>
|
||||||
|
{% if message %}
|
||||||
|
<div style="color: rgb(255,0,0)">
|
||||||
|
{{message}}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
<form method="POST">
|
||||||
|
Username: <input name="username" value="" /><br>
|
||||||
|
Password: <input name="password" type="password" value="" /><br>
|
||||||
|
<input type="submit" value="Login"/>
|
||||||
|
</body>
|
||||||
|
</html>
|
20
templates/register.html
Normal file
20
templates/register.html
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>videopdf</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>videopdf</h1>
|
||||||
|
{% if message %}
|
||||||
|
<div style="color: rgb(255,0,0)">
|
||||||
|
{{message}}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
Register:
|
||||||
|
<form method="POST">
|
||||||
|
Username: <input name="username" value="" /><br>
|
||||||
|
Email: <input name="email" value="" /><br>
|
||||||
|
Password: <input name="password" type="password" value="" /><br>
|
||||||
|
<input type="submit" value="Login"/>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue