do some things

This commit is contained in:
Nyx 2025-03-09 15:28:35 -05:00
parent 3df4c70387
commit 99b1a7bb9c
4 changed files with 30 additions and 4 deletions

View file

@ -4,4 +4,4 @@
{% macro header_login() %}
<div align="left"><a href="/">Home</a></div> <div align="right"><a href="/auth/login/">Login</a></div>
{% endmacro %}
{% endmacro %}

View file

@ -1,5 +1,5 @@
{% from 'header.j2' import header_home %}
<html>
<html lang=en>
<head>
</head>
<body>

View file

@ -1,5 +1,5 @@
{% from 'header.j2' import header_login %}
<html>
<html lang="en">
<head>
</head>
<body>
@ -23,4 +23,4 @@
size="10" />
</div>
</body>
</html>
</html>

26
app/templates/register.j2 Normal file
View 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>