Changeset 7827 for trunk/src/map/inc/node_info.php
- Timestamp:
- Apr 18, 2010, 2:00:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note:
See TracChangeset
for help on using the changeset viewer.