at/templates/claim.html

18 lines
554 B
HTML
Raw Normal View History

<html>
<body>
2012-01-27 17:46:30 +00:00
<h2>Claiming a device</h2>
{% if not hwaddr %}
<p class="error">Unknown MAC. Are you sure you're in the hackerspace?</p>
{% else %}
2012-01-27 17:46:30 +00:00
You are about to claim <strong>{{ hwaddr }}</strong> as <strong>{{ login }}</strong>. Do you wish to continue?
<table>
<form action="" method="post">
2012-01-27 17:46:30 +00:00
<label><tr><td>Device name (optional):</td><td><input type="text" name="name" value="{{ name }}"></td></tr></label>
<tr><td><input type="submit" value="yes"></td>
</form>
2012-01-27 17:46:30 +00:00
<td><a href="/"><button>no</button></button></td>
</table>
{% endif %}
</body>
</html>