|
Revision 11093, 0.8 KB
(checked in by edent, 14 months ago)
|
|
move divs around and connect to webServer from local development
|
| Line | |
|---|
| 1 | <html> |
|---|
| 2 | <body> |
|---|
| 3 | <form action="{{MEDIA_URL}}/connect_to_node/" method="post">{% csrf_token %} |
|---|
| 4 | <p>floor: |
|---|
| 5 | <select name = "floor"> |
|---|
| 6 | {% for floor in number_of_floors %} |
|---|
| 7 | {% ifequal floor selectedFloor %} |
|---|
| 8 | <option selected value="{{floor}}">Floor {{floor}}</option> |
|---|
| 9 | {% else %} |
|---|
| 10 | <option value="{{floor}}">Floor {{floor}}</option> |
|---|
| 11 | {% endifequal %} |
|---|
| 12 | {% endfor %} |
|---|
| 13 | </select> |
|---|
| 14 | </p> |
|---|
| 15 | <p>number: |
|---|
| 16 | <select name="number"> |
|---|
| 17 | {% for node in number_of_nodes %} |
|---|
| 18 | {% ifequal node selectedNum %} |
|---|
| 19 | <option selected value="{{node}}">Node {{node}}</option> |
|---|
| 20 | {% else %} |
|---|
| 21 | <option value="{{node}}">Node {{node}}</option> |
|---|
| 22 | {% endifequal %} |
|---|
| 23 | {% endfor %} |
|---|
| 24 | </select> |
|---|
| 25 | </p> |
|---|
| 26 | <p>User: <input type="text" name="user"/></p> |
|---|
| 27 | <p>Pass: <input type="password" name="pass"/></p> |
|---|
| 28 | <input type="submit" value="Check Nodebooter"/> |
|---|
| 29 | </form> |
|---|
| 30 | </body> |
|---|
| 31 | </html> |
|---|