Changeset 8457 in genesis
- Timestamp:
- Sep 15, 2010, 7:16:11 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/nodemap.html
r8456 r8457 11 11 <script src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=ABQIAAAAKRiFs2kXKhTkKZkE_ms9rhTdBXm62xfhQU7Dk6ZBFSzYdmSteRQWjLqZhwX8afHvGpd4N3iKql6w8g" type="text/javascript"></script> 12 12 13 <script src="../lib/Firebug/firebug.js"></script>14 13 <script src="http://openlayers.org/dev/OpenLayers.js"</script> 15 14 … … 30 29 nodeStatusImg['planned'] = 'http://www.google.com/mapfiles/kml/paddle/wht-stars-lv.png'; 31 30 nodeStatusImg['unknown'] = 'http://www.google.com/mapfiles/kml/paddle/wht-stars-lv.png'; 31 32 function log(message) { 33 /* Determine whether Firebug is actually installed and activated before trying to log 34 * Taken from http://code.google.com/p/fbug/source/browse/branches/firebug1.5/lite/firebugx.js 35 */ 36 if (window.console && console.firebug) { 37 console.log(message); 38 } 39 } 32 40 33 41 function isInterlink(feature) { … … 163 171 for (var i = 0; i < feature.cluster.length; i++) { 164 172 var node = feature.cluster[i]; 165 // OpenLayers.Console.log(node.attributes.styleUrl);173 log(node.attributes.styleUrl); 166 174 } 167 175 } … … 319 327 } else { 320 328 var nodeName = feature.attributes.name.split(' ')[1]; 321 OpenLayers.Console.log(nodeName);329 log(nodeName); 322 330 content = "<iframe frameborder='0' height='300px' width='700px' src='http://sunny.wleiden.net/nagios/cgi-bin/status.cgi?host=" + nodeName + "&servicestatustypes=28&hoststatustypes=15&noheader=true'></iframe><br />" + "<em>Locatie: " + feature.attributes.description + "</em>"; 323 331 }
Note:
See TracChangeset
for help on using the changeset viewer.