|
Revision 11095, 1.0 KB
(checked in by edent, 14 months ago)
|
|
edit frames
|
| Line | |
|---|
| 1 | <html> |
|---|
| 2 | <body> |
|---|
| 3 | <form action="{{MEDIA_URL}}/connect_to_node/" method="post">{% csrf_token %} |
|---|
| 4 | <table> |
|---|
| 5 | <tr> |
|---|
| 6 | <td>Floor: </td> |
|---|
| 7 | <td> |
|---|
| 8 | <select name = "floor"> |
|---|
| 9 | {% for floor in number_of_floors %} |
|---|
| 10 | {% ifequal floor selectedFloor %} |
|---|
| 11 | <option selected value="{{floor}}">Floor {{floor}}</option> |
|---|
| 12 | {% else %} |
|---|
| 13 | <option value="{{floor}}">Floor {{floor}}</option> |
|---|
| 14 | {% endifequal %} |
|---|
| 15 | {% endfor %} |
|---|
| 16 | </select> |
|---|
| 17 | </td> |
|---|
| 18 | </tr> |
|---|
| 19 | <tr> |
|---|
| 20 | <td>Number: </td> |
|---|
| 21 | <td> |
|---|
| 22 | <select name="number"> |
|---|
| 23 | {% for node in number_of_nodes %} |
|---|
| 24 | {% ifequal node selectedNum %} |
|---|
| 25 | <option selected value="{{node}}">Node {{node}}</option> |
|---|
| 26 | {% else %} |
|---|
| 27 | <option value="{{node}}">Node {{node}}</option> |
|---|
| 28 | {% endifequal %} |
|---|
| 29 | {% endfor %} |
|---|
| 30 | </select> |
|---|
| 31 | </td> |
|---|
| 32 | </tr> |
|---|
| 33 | <tr> |
|---|
| 34 | <td>Username: </td><td><input type="text" name="user"/></td> |
|---|
| 35 | </tr> |
|---|
| 36 | <tr> |
|---|
| 37 | <td>Password: </td><td><input type="password" name="pass"/></p></td> |
|---|
| 38 | </tr> |
|---|
| 39 | <tr><td></td><td><input type="submit" value="Check Nodebooter"/></td></tr> |
|---|
| 40 | </table> |
|---|
| 41 | </form> |
|---|
| 42 | </body> |
|---|
| 43 | </html> |
|---|