started working on templates and api

This commit is contained in:
2022-04-15 14:59:51 +02:00
parent 26df2e5654
commit 546d3c10f3
16 changed files with 313 additions and 42 deletions

View File

@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<script src="jquery"></script>
<script src="js"></script>
<link rel="stylesheet" href="css" />
</head>
<body id="login">
«userinfo()»
<h1>Widerhall user registration</h1>
«messages()»
<form method="POST" action="register">
<fieldset>
<legend>User credentials</legend>
<label>
<input type="text" name="name" value="«data.name»" id="name" />
Your name
</label>
<label>
<input type="text" name="email" value="«data.email»" id="email" />
E-Mail Address
</label>
<label>
<input type="password" name="pass" value="" id="password" />
Password
</label>
<label>
<input type="password" name="pass_repeat" value="" id="password_repeated" />
Password (repeat)
</label>
<button type="submit">Save new user</button>
</fieldset>
</form>
</body>
</html>