| | 15 | {% ifequal floor "2" %} |
| | 16 | <img style="z-index:-1; top: 0px; left: 0px;" src="{{STATIC_URL}}floor2_small_nonodes.jpg"/> |
| | 17 | {% for node in floor_list.1 %} |
| | 18 | {% for node_top, node_left in node_position_2 %} |
| | 19 | {% if node and forloop.counter0 == forloop.parentloop.counter0 %} |
| | 20 | <a id="node" href="#"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a> |
| | 21 | {% else %} |
| | 22 | {% if forloop.counter0 == forloop.parentloop.counter0 %} |
| | 23 | <img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}grey_ball.gif"/> |
| | 24 | {% endif %} |
| | 25 | {% endif %} |
| | 26 | {% endfor %} |
| | 27 | {% endfor %} |
| | 28 | {% endifequal %} |
| | 29 | {% ifequal floor "3" %} |
| | 30 | <img style="z-index:-1; top: 0px; left: 0px;" src="{{STATIC_URL}}floor3_small_nonodes.jpg"/> |
| | 31 | {% for node in floor_list.2 %} |
| | 32 | {% for node_top, node_left in node_position_3 %} |
| | 33 | {% if node and forloop.counter0 == forloop.parentloop.counter0 %} |
| | 34 | <a id="node" href="#"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a> |
| | 35 | {% else %} |
| | 36 | {% if forloop.counter0 == forloop.parentloop.counter0 %} |
| | 37 | <img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}grey_ball.gif"/> |
| | 38 | {% endif %} |
| | 39 | {% endif %} |
| | 40 | {% endfor %} |
| | 41 | {% endfor %} |
| | 42 | {% endifequal %} |
| | 43 | {% ifequal floor "4" %} |
| | 44 | <img style="z-index:-1; top: 0px; left: 0px;" src="{{STATIC_URL}}floor4_small_nonodes.jpg"/> |
| | 45 | {% for node in floor_list.3 %} |
| | 46 | {% for node_top, node_left in node_position_4 %} |
| | 47 | {% if node and forloop.counter0 == forloop.parentloop.counter0 %} |
| | 48 | <a id="node" href="#"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a> |
| | 49 | {% else %} |
| | 50 | {% if forloop.counter0 == forloop.parentloop.counter0 %} |
| | 51 | <img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}grey_ball.gif"/> |
| | 52 | {% endif %} |
| | 53 | {% endif %} |
| | 54 | {% endfor %} |
| | 55 | {% endfor %} |
| | 56 | {% endifequal %} |