1 | <html>
|
---|
2 | <head>
|
---|
3 | <link href="{{ STATIC_URL }}style.css" rel="stylesheet" type="text/css" media="screen" />
|
---|
4 | <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}OpenLayers.js"></script>
|
---|
5 | <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}OpenStreetMap.js"></script>
|
---|
6 | <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}heatmap.js"></script>
|
---|
7 | <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}heatmap_extensions.js"></script>
|
---|
8 | <script language="javascript" type="text/javascript">
|
---|
9 | function toggleDiv(div){
|
---|
10 | var show = div;
|
---|
11 | var hide;
|
---|
12 | if(show == 'info'){
|
---|
13 | hide = 'filters';
|
---|
14 | }
|
---|
15 | else{
|
---|
16 | hide = 'info';
|
---|
17 | }
|
---|
18 | if(document.getElementById(show).style.display != 'block'){
|
---|
19 | document.getElementById(show).style.display = 'block';
|
---|
20 | document.getElementById(hide).style.display = 'none';
|
---|
21 | }
|
---|
22 | else{
|
---|
23 | document.getElementById(show).style.display = 'none';
|
---|
24 | document.getElementById(hide).style.display = 'none';
|
---|
25 | }
|
---|
26 | }
|
---|
27 | </script>
|
---|
28 | </head>
|
---|
29 |
|
---|
30 |
|
---|
31 | <body onload="init()">
|
---|
32 | <div id="heatmap"></div>
|
---|
33 | <div id="container">
|
---|
34 | <div id="header">
|
---|
35 | <font style="font-size:24px; color:white;">Stichting Wireless Leiden - Heatmap</font>
|
---|
36 | </div>
|
---|
37 | <div id="menu">
|
---|
38 | <a href="javascript:toggleDiv('info')">Info</a>
|
---|
39 | <a href="javascript:toggleDiv('filters')" style="padding-left:15px;">Filters</a>
|
---|
40 | </div>
|
---|
41 | <div id="info">
|
---|
42 | test<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />test
|
---|
43 | </div>
|
---|
44 | <div id="filters">
|
---|
45 | <div id="filters_text">
|
---|
46 | <h1>Filters</h1>
|
---|
47 | <p>Create your custom layer by choosing the desired filter options on the right and adding it the layer to the list.</p>
|
---|
48 | <p>For instance, you can choose to create a layer with data measured only by yourself, or with a certain node from Wireless Leiden only.</p>
|
---|
49 | </div>
|
---|
50 | <div id="filters_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>
|
---|
87 | </div>
|
---|
88 | </div>
|
---|
89 | </div>
|
---|
90 | </body>
|
---|
91 | </html>
|
---|