Changeset 9214 for src/django_gheat/website/static/heatmap_extensions.js
- Timestamp:
- May 25, 2011, 3:14:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/website/static/heatmap_extensions.js
r9213 r9214 15 15 var list; 16 16 if (json.length>0){ 17 list = ' <center>Wireless Leiden nodes on mouseposition:<br /><b>';17 list = 'Wireless Leiden nodes on mouseposition:<br /><b>'; 18 18 for (var i=0; i<json.length; i++){ 19 19 list += json[i].fields.ssid + '<br />'; 20 20 } 21 list += '</b> </center>';21 list += '</b>'; 22 22 } 23 23 else{ 24 list = ' <center>No nodes to display.</center>';24 list = 'No nodes to display.'; 25 25 } 26 26 document.getElementById('node_list').innerHTML=list; … … 42 42 filterlist=new ActiveXObject("Microsoft.XMLHTTP"); 43 43 } 44 44 // todo: Get new options if one option is selected; every user has different datasets, make sure when user 'John' is selected, you can only choose datasets who are his. 45 45 filterlist.onreadystatechange=function(){ 46 46 if (filterlist.readyState==4 && filterlist.status==200){ 47 47 json=eval('(' + filterlist.responseText + ')'); 48 48 var list = '<form method="get" action="">'; 49 list += '<input type="text" id="user" name="user" size="10"/> User<br />'; 50 list += '<input type="text" id="dataset" name="dataset" size="10"/> Dataset<br />'; 51 list += '<input type="text" id="date" name="date" size="10"/> Date<br />'; 52 49 53 list += '<select id="wlnode" style="width:104px"><option></option>'; 50 54 for (var i=0; i<json.length; i++){ … … 52 56 } 53 57 list += '</select> WLnode<br />'; 58 59 list += '<input type="text" id="enc" name="enc" size="10"/> Encrypted<br />'; 54 60 list += '<input type="text" id="colour" name="colour" size="10"/> Colour<br />'; 55 61 list += '<input type="text" id="lname" name="lname" size="10"/> Layername<br />';
Note:
See TracChangeset
for help on using the changeset viewer.