Stickup/templates/index.html
2020-11-18 11:40:18 -05:00

42 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Stickup</title>
<link rel="stylesheet" type="text/css" href="/static/stickup.css">
<meta name="viewport" content="width=device-width, initial-scale=0.8">
<meta name="description" content="An email management frontend.">
</head>
<body>
<header>
<h1>This is a stickup!</h1>
</header>
<main>
{% for record in user_data %}
<div>Your email address is {{ record['email'] }}</div>
{% endfor %}
{% if result %}
<div class="result_message result_{% if result['ok'] %}good{% else %}bad{% endif %}">{{ result['message'] }}</div>
{% endif %}
<form method="post" enctype="application/x-www-form-urlencoded">
<table>
<tr>
<td><label for="current_password">Current password</label></td>
<td><input id="current_password" name="current_password" type="password"></td>
</tr>
<tr>
<td><label for="new_password">New password</label></td>
<td><input id="new_password" name="new_password" type="password"></td>
</tr>
<tr>
<td><label for="verify_new_password">Verify new password</label></td>
<td><input id="verify_new_password" name="verify_new_password" type="password"></td>
</tr>
<tr>
<td><input type="submit" value="Submit"></td>
</tr>
</table>
</form>
</main>
</body>
</html>