Stickup/templates/index.html

43 lines
1.4 KiB
HTML
Raw Normal View History

2020-11-11 13:27:18 -05:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>Stickup</title>
2020-11-18 11:40:18 -05:00
<link rel="stylesheet" type="text/css" href="/static/stickup.css">
2020-11-11 13:27:18 -05:00
<meta name="viewport" content="width=device-width, initial-scale=0.8">
<meta name="description" content="An email management frontend.">
</head>
<body>
2020-11-18 11:40:18 -05:00
<header>
2020-11-18 17:46:23 -05:00
<object id="logo" title="Stickup logo" data="/static/stickup.svg"></object>
2020-11-18 11:40:18 -05:00
<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>
2020-11-11 13:27:18 -05:00
</body>
</html>