- Timestamp:
- Apr 18, 2010, 2:00:42 PM (15 years ago)
- Location:
- trunk/src/map
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/kmlHandler.php
r7815 r7827 59 59 $type = $data->value; 60 60 61 if($name == "host name")61 if($name == "hostName") 62 62 $hostname = $data->value; 63 63 … … 67 67 if($name == "checkExecutionTime") 68 68 $checkExecutionTime = $data->value; 69 70 if($name == "lastCheck") 71 $lastCheck = $data->value; 69 72 70 73 if($name == "currentState") -
trunk/src/map/inc/node_info.php
r7823 r7827 5 5 { 6 6 setcookie("view", $_GET['view']); 7 header('P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"'); 7 8 $view = $_GET['view']; 8 9 } … … 56 57 $name = $marker['name']; 57 58 $location = $marker['location']; 59 $status = $marker['status']; 60 $interfaces = $marker['interfaces']; 61 $masterIP = $marker['masterIP']; 62 $nodeType = $marker['nodeType']; 63 $type = $marker['type']; 64 $hostname = $marker['hostname']; 65 $hasBeenChecked = $marker['hasBeenChecked']; 66 $checkExecutionTime = $marker['checkExecutionTime']; 67 $currentState = $marker['currentState']; 68 $problemHasBeenAcknowledged = $marker['problemHasBeenAcknowledged']; 69 70 $lastcheck = $marker['lastCheck']; 71 $lastcheck = date('d-m-Y H:i:s', (int)$lastcheck); 72 58 73 } 59 74 } … … 64 79 echo <<<EOF 65 80 <div id='nodeinfo'> 66 {$name}<br/> 67 Locatie: {$location} 81 <b>{$name}</b> 82 <div id="information"> 83 <p>Locatie: {$location} 84 <p>Status: {$status} 85 <p>Inferfaces: {$interfaces} 86 <p>Master IP: {$masterIP} 87 <p>Node type: {$nodeType} 88 <p>Type: {$type} 89 <p>Hostname: {$hostname} 90 <p>Has been check: {$hasBeenChecked} 91 <p>Check execution time: {$checkExecutionTime} 92 <p>Current state: {$currentState} 93 <p>Problem has been acknowledged: {$problemHasBeenAcknowledged} 68 94 </div> 69 95 <div id="timestamp"> 70 Laatste update: 15:42 <br/> 71 Do 25 maart 96 Laatste update: {$lastcheck} 72 97 </div> 73 98 EOF; … … 77 102 echo <<<EOF 78 103 <div id='nodeinfo'> 79 {$name}<br/> 80 Locatie: {$location} 104 <b>{$name}</b> 105 <div id="information"> 106 <p>Locatie: {$location} 107 <p>Status: {$status} 108 <p>Type: {$type} 109 <p>Hostname: {$hostname} 81 110 </div> 82 111 <div id="timestamp"> … … 93 122 echo <<<EOF 94 123 <div id="nodeinfo"> 95 < h1>Nodes:</h1>96 <h2>124 <b>Nodes:</b><br/> 125 97 126 Lijst met nodes in deze cluster<br/> 98 127 <div id="clusterlist$selected" > … … 105 134 106 135 echo <<<EOF 107 </select> <br/>136 </select> 108 137 </div> 109 </h2>110 </div>111 <div id="timestamp">112 Laatste update: 15:42 <br/>113 Do 25 maart114 138 </div> 115 139 EOF; -
trunk/src/map/inc/nodemapWL.js
r7826 r7827 100 100 markerSelected = marker; 101 101 marker.setImage("../img/sleutelGroenSelected.png");//Path should be in config 102 loadXMLDoc("inc/node_info.php?type=single&name="+name+" "); //Should also be in config102 loadXMLDoc("inc/node_info.php?type=single&name="+name+"&a="+Math.random()); //Should also be in config 103 103 } 104 104 } … … 114 114 map.addOverlay(polygon); 115 115 116 loadXMLDoc("inc/node_info.php?type=single&name="+name+" ");//Path should be in config116 loadXMLDoc("inc/node_info.php?type=single&name="+name+"&a="+Math.random());//Path should be in config 117 117 118 118 /* … … 221 221 //end 222 222 223 loadXMLDoc("inc/node_info.php?type=cluster&markers="+a_php+"&sel=selected" )223 loadXMLDoc("inc/node_info.php?type=cluster&markers="+a_php+"&sel=selected"+"&a="+Math.random()) 224 224 } 225 225 … … 356 356 function suggestMarkers(value) 357 357 { 358 loadSuggest("inc/suggestions.php?value="+value );358 loadSuggest("inc/suggestions.php?value="+value+"&a="+Math.random()); 359 359 } 360 360 … … 368 368 { 369 369 map.setCenter(markerArray[i].getLatLng(), 15); 370 loadXMLDoc("inc/node_info.php?type=single&name="+value+" ")370 loadXMLDoc("inc/node_info.php?type=single&name="+value+"&a="+Math.random()) 371 371 } 372 372 } -
trunk/src/map/style/stylesheet.css
r7757 r7827 18 18 19 19 #infotop { 20 padding-top: 5px; 20 21 border: 2px solid black; 21 22 height: 243px; 22 23 width: 100%; 24 font-size: 12px; 23 25 } 24 26 … … 46 48 47 49 #infotop h1 { 48 font-size: 1 5px;50 font-size: 12px; 49 51 margin-top: 5px; 50 52 } 51 53 52 54 #infotop h2 { 53 font-size: 1 2px;55 font-size: 10px; 54 56 margin-top: 0px; 55 57 } 56 58 57 59 #nodeinfo { 58 height: 20 5px;60 height: 200px; 59 61 margin-left: 5px; 62 } 63 64 #information { 65 height: 100%; 66 overflow: auto; 60 67 } 61 68 -
trunk/src/map/style/stylesheet2.css
r7715 r7827 12 12 13 13 #infotop { 14 height: 230px; 14 height: 245px; 15 } 16 17 #clusterlist { 18 margin-top: 5px; 19 overflow: hidden; 20 height: 130px; 21 } 22 23 #clusterlist select { 24 width: 100%; 25 height: 115px; 15 26 } 16 27
Note:
See TracChangeset
for help on using the changeset viewer.