started working on templates and api
This commit is contained in:
36
static/templates/register.st
Normal file
36
static/templates/register.st
Normal 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>
|
||||
Reference in New Issue
Block a user