Show
Ignore:
Timestamp:
04/04/12 17:07:03 (14 months ago)
Author:
edent
Message:

add ports and ip when loading node

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 
    13{% ifequal floor "1" %} 
    24        <img style="z-index:-1; top: 0px; left: 0px;" src="{{STATIC_URL}}floor1_small_nonodes.jpg"/> 
     
    46                {% for node_top, node_left in node_position_1 %} 
    57                {% 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> 
    79                {% else %} 
    810                        {% if forloop.counter0 == forloop.parentloop.counter0 %} 
     
    1820                {% for node_top, node_left in node_position_2 %} 
    1921                {% 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> 
    2123                {% else %} 
    2224                        {% if forloop.counter0 == forloop.parentloop.counter0 %} 
     
    3234                {% for node_top, node_left in node_position_3 %} 
    3335                {% 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> 
    3537                {% else %} 
    3638                        {% if forloop.counter0 == forloop.parentloop.counter0 %} 
     
    4648                {% for node_top, node_left in node_position_4 %} 
    4749                {% 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> 
    4951                {% else %} 
    5052                        {% if forloop.counter0 == forloop.parentloop.counter0 %}