vuko | 3cd087d | 2021-12-28 13:19:40 +0100 | [diff] [blame] | 1 | {% extends "basic.html" %} |
| 2 | {% block content %} |
| 3 | <h2>Claiming a device</h2> |
| 4 | {% if not hwaddr %} |
| 5 | <p class="error">Unknown MAC. Are you sure you're in the hackerspace?</p> |
| 6 | {% else %} |
Wojtek Porczyk | b56b8fc | 2022-08-21 19:00:29 +0200 | [diff] [blame] | 7 | <p> |
| 8 | You are about to claim <strong>{{ hwaddr }}</strong> as |
| 9 | <strong>{{ current_user.id }}</strong>. Please make sure you have MAC |
| 10 | address randomisation configured per-network or turned off entirely. |
| 11 | </p> |
vuko | 3cd087d | 2021-12-28 13:19:40 +0100 | [diff] [blame] | 12 | <table> |
| 13 | <form action="" method="post"> |
| 14 | <label><tr> |
| 15 | <td>Device name (optional):</td> |
| 16 | <td><input type="text" name="name" value="{{ name }}"></td> |
| 17 | </tr></label> |
| 18 | <tr> |
Wojtek Porczyk | b56b8fc | 2022-08-21 19:00:29 +0200 | [diff] [blame] | 19 | <td><input type="submit" value="Claim"></td> |
vuko | 3cd087d | 2021-12-28 13:19:40 +0100 | [diff] [blame] | 20 | </form> |
Wojtek Porczyk | b56b8fc | 2022-08-21 19:00:29 +0200 | [diff] [blame] | 21 | <td><a href="/"><button>Cancel</button></td> |
vuko | 3cd087d | 2021-12-28 13:19:40 +0100 | [diff] [blame] | 22 | </tr> |
| 23 | </table> |
| 24 | {% endif %} |
| 25 | {% endblock %} |