root/ossiedev/branches/jsnyder/trunk/tools/cornetApps/templates/HtmlPages/map.html @ 10936

Revision 10936, 2.8 KB (checked in by edent, 19 months ago)

map tabs

  • Property svn:executable set to *
Line 
1{% ifequal floor "1" %}
2        <img style="z-index:-1; top: 0px; left: 0px;" src="{{STATIC_URL}}floor1_small_nonodes.jpg"/>
3        {% for node in floor_list.0 %}
4                {% for node_top, node_left in node_position_1 %}
5                {% 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>
7                {% else %}
8                        {% if forloop.counter0 == forloop.parentloop.counter0 %}
9                        <img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}grey_ball.gif"/>
10                        {% endif %}
11                {% endif %}
12                {% endfor %}
13        {% endfor %}
14{% endifequal %}
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 %}
Note: See TracBrowser for help on using the browser.