do some things
This commit is contained in:
parent
3df4c70387
commit
99b1a7bb9c
4 changed files with 30 additions and 4 deletions
|
@ -4,4 +4,4 @@
|
||||||
|
|
||||||
{% macro header_login() %}
|
{% macro header_login() %}
|
||||||
<div align="left"><a href="/">Home</a></div> <div align="right"><a href="/auth/login/">Login</a></div>
|
<div align="left"><a href="/">Home</a></div> <div align="right"><a href="/auth/login/">Login</a></div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
|
@ -1,5 +1,5 @@
|
||||||
{% from 'header.j2' import header_home %}
|
{% from 'header.j2' import header_home %}
|
||||||
<html>
|
<html lang=en>
|
||||||
<head>
|
<head>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% from 'header.j2' import header_login %}
|
{% from 'header.j2' import header_login %}
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -23,4 +23,4 @@
|
||||||
size="10" />
|
size="10" />
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
26
app/templates/register.j2
Normal file
26
app/templates/register.j2
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{% from 'header.j2' import header_login %}
|
||||||
|
<html lang=en>
|
||||||
|
<head>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{ header_login() }}
|
||||||
|
<div style="text-align:center">
|
||||||
|
<h1>
|
||||||
|
Login to {{ instanceName }}'s Nyxask!
|
||||||
|
</h1>
|
||||||
|
<label for="name">Username: </label>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
id="name"
|
||||||
|
name="name"
|
||||||
|
size="10" />
|
||||||
|
<br>
|
||||||
|
<label for="question">Password: </label>
|
||||||
|
<input
|
||||||
|
type="password"
|
||||||
|
id="password"
|
||||||
|
name="password"
|
||||||
|
size="10" />
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Add table
Reference in a new issue