Changeset 9214 for src/django_gheat/website
- Timestamp:
- May 25, 2011, 3:14:54 PM (14 years ago)
- Location:
- src/django_gheat/website
- Files:
-
- 3 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 />'; -
src/django_gheat/website/static/style.css
r9213 r9214 32 32 #header{ 33 33 width:100%-10px; 34 height:30px;34 35 35 top:0px; 36 36 background-color:#BA0000; … … 38 38 padding-right:5px; 39 39 text-align:center; 40 font-size:18px; 41 color:white; 40 42 } 41 43 42 44 #menu{ 43 45 width:100%-10px; 44 height:20px;45 46 background-color:#BA0000; 46 47 padding-left:5px; … … 80 81 #node_list{ 81 82 position:absolute; 82 left:50%; 83 margin-left:-150px; 83 left:-2px; 84 84 bottom:-2px; 85 width: 300px;85 width:200px; 86 86 background-color:#FFF; 87 87 border:2px solid #BA0000; 88 88 z-index:1; 89 89 padding:5px; 90 font-size:10px; 90 91 } 91 92 -
src/django_gheat/website/templates/home.html
r9213 r9214 33 33 <div id="container"> 34 34 <div id="header"> 35 <font style="font-size:24px; color:white;">Stichting Wireless Leiden - Heatmap</font>35 Stichting Wireless Leiden - Heatmap 36 36 </div> 37 37 <div id="menu"> … … 40 40 </div> 41 41 <div id="info"> 42 test<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />test42 This might need some work done. 43 43 </div> 44 44 <div id="filter"> … … 49 49 </div> 50 50 <div id="filter_list"> 51 <form method="get" action=""> 52 <table border="0"> 53 <tr> 54 <td>User</td> 55 <td><input type="text" id="user" name="user" size="10"/></td> 56 </tr> 57 <tr> 58 <td>Set</td> 59 <td><input type="text" id="dataset" name="dataset" size="10"/></td> 60 </tr> 61 <tr> 62 <td>Date</td> 63 <td><input type="text" id="date" name="date" size="10"/></td> 64 </tr> 65 <tr> 66 <td>WL Node</td> 67 <td><input type="text" id="wlnode" name="wlnode" size="10"/></td> 68 </tr> 69 <tr> 70 <td>Encrypted</td> 71 <td><input type="checkbox" id="enc" name="enc"/></td> 72 </tr> 73 <tr> 74 <td>Layer colour</td> 75 <td><input type="text" id="colour" name="colour" size="10"/></td> 76 </tr> 77 <tr> 78 <td>Layer name</td> 79 <td><input type="text" id="lname" name="lname" size="10"/></td> 80 </tr> 81 <tr> 82 <td></td> 83 <td><input type="button" value="Add filter" onClick="filters()"/></td> 84 </tr> 85 </table> 86 </form> 51 87 52 </div> 88 53 </div> 89 54 </div> 90 55 <div id='node_list'> 91 <center>Click on the map to display Wireless Leiden nodes.</center>56 Click on map to display Wireless Leiden nodes. 92 57 </div> 93 58 </body>
Note:
See TracChangeset
for help on using the changeset viewer.