mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-06-23 08:06:17 +00:00
Yeet useless tables
Yeet useless data paths in dockerfile Add order into templates file
This commit is contained in:
parent
b19dedc568
commit
300c80fcd5
17 changed files with 86 additions and 106 deletions
25
TFR/server/templates/views/auth.html
Normal file
25
TFR/server/templates/views/auth.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
{% extends "base.html" %}
|
||||
{% from "macros/input.html" import text %}
|
||||
|
||||
{% block content %}
|
||||
<div class="block">
|
||||
<h2>Login</h2>
|
||||
<p>Welcome back!</p>
|
||||
<form action="{{ url_for('auth.login') }}" method="POST">
|
||||
{{ text(id="login-username", name="username", required=True) }}
|
||||
{{ text(id="login-password", name="password", type="password", required=True) }}
|
||||
<button type="submit" class="button primary">Login</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="block">
|
||||
<h2>Register</h2>
|
||||
<p>Don't have an account?</p>
|
||||
<form action="{{ url_for('auth.register') }}" method="POST">
|
||||
{{ text(id="register-username", name="username", required=True) }}
|
||||
{{ text(id="register-password", name="password", type="password", required=True, minlength=8) }}
|
||||
{{ text(id="register-confirm", name="confirm", type="password", required=True, minlength=8) }}
|
||||
<button type="submit" class="button primary">Register</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue