- Timestamp:
- 04/04/12 17:07:03 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/jsnyder/trunk/tools/cornetApps/templates/HtmlPages/map.html
r10936 r11092 1 <!--makes a map for the specific floor given their position for each floor--> 2 1 3 {% ifequal floor "1" %} 2 4 <img style="z-index:-1; top: 0px; left: 0px;" src="{{STATIC_URL}}floor1_small_nonodes.jpg"/> … … 4 6 {% for node_top, node_left in node_position_1 %} 5 7 {% if node and forloop.counter0 == forloop.parentloop.counter0 %} 6 <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>8 <a id="node" href="javascript:loadNode({{node}});"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a> 7 9 {% else %} 8 10 {% if forloop.counter0 == forloop.parentloop.counter0 %} … … 18 20 {% for node_top, node_left in node_position_2 %} 19 21 {% 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>22 <a id="node" href="javascript:loadNode({{node}});"><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 23 {% else %} 22 24 {% if forloop.counter0 == forloop.parentloop.counter0 %} … … 32 34 {% for node_top, node_left in node_position_3 %} 33 35 {% 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>36 <a id="node" href="javascript:loadNode({{node}});"><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 37 {% else %} 36 38 {% if forloop.counter0 == forloop.parentloop.counter0 %} … … 46 48 {% for node_top, node_left in node_position_4 %} 47 49 {% 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>50 <a id="node" href="javascript:loadNode({{node}});"><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 51 {% else %} 50 52 {% if forloop.counter0 == forloop.parentloop.counter0 %}