diff options
Diffstat (limited to 'at/templates/claim.html')
-rw-r--r-- | at/templates/claim.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/at/templates/claim.html b/at/templates/claim.html new file mode 100644 index 0000000..05f2e0b --- /dev/null +++ b/at/templates/claim.html @@ -0,0 +1,21 @@ +{% extends "basic.html" %} +{% block content %} + <h2>Claiming a device</h2> + {% if not hwaddr %} + <p class="error">Unknown MAC. Are you sure you're in the hackerspace?</p> + {% else %} + You are about to claim <strong>{{ hwaddr }}</strong> as <strong>{{ current_user.id }}</strong>. Do you wish to continue? + <table> + <form action="" method="post"> + <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> + <td><a href="/"><button>no</button></button></td> + </tr> + </table> + {% endif %} +{% endblock %} |