| {% 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 %} |
| <p> |
| You are about to claim <strong>{{ hwaddr }}</strong> as |
| <strong>{{ current_user.id }}</strong>. Please make sure you have MAC |
| address randomisation configured per-network or turned off entirely. |
| </p> |
| <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="Claim"></td> |
| </form> |
| <td><a href="/"><button>Cancel</button></td> |
| </tr> |
| </table> |
| {% endif %} |
| {% endblock %} |