<html>
<head>
  <link type="text/css" href="{{ STATIC_URL }}theme/default/style.css" rel="stylesheet" />
  <link type="text/css" href="{{ STATIC_URL }}style.css" rel="stylesheet" />
  <link type="text/css" href="{{ STATIC_URL }}jquery-ui-1.8.13.custom.css" rel="Stylesheet" />	
  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}jquery-1.6.2.min.js"></script>
  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}OpenLayers.js"></script>
  <script type="text/javascript" language="Javascript" src="{% url wlheatmap.js_layer_base %}"></script> 
  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}heatmap.js"></script>
  <script type="text/javascript" language="javascript" src="{{ STATIC_URL }}jquery.chained.js"></script>
  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}colorpicker.js"></script>
  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}jquery-ui-1.8.13.custom.min.js"></script>
  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}heatmap_extensions.js"></script>
</head>
<body>
  <div id="heatmap"></div>
  <div id="container">
    <div id="header">
      Stichting Wireless Leiden - Heatmap
    </div>
    <div id="menu">
      <a id="menu_info">Information</a> ||
      <a id="menu_filter">Create Custom Filters</a>
    </div>
    <div id="info">
      <div id="hide_parent"></div>
       <h1>Information</h1>
       <p>Welcome to Wireless Leiden's Heatmap. Here you can check for the coverage of (open) wifi connections in Leiden.</p> 
       <p>On the right, you will find a layer selection panel. Here you can turn layers on or off, depending on what you would like to see displayed on the map.</p>
       <p>Above you will see a 'filter' button. Here you can set your own filters.</p>
       <p>Below you will see a textfield and a slider. The textfield displays Wireless Leiden nodes on the position where you clicked with your mouse. With the slider you can set the range of the signal strength you would like to have. Based on these values, a new layer will appear showing only the connections within your chosen range.</p>
       <hr />
       <p> NOTE: Some features are failing in Internet Explorer. The Features items like ``Node Locations'' are based on VML which is not all properly supported under IE (yet), we are happy to accept patches to fix it</p>
    </div>
    <div id="filter">
      <div id="filter_text">
      <h1>Filters</h1>
      <p>Create your custom layer by choosing the desired filter options on the right and adding it the layer to the list.</p>
      <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>
      </div>
      <div id="filter_list">
        <form method="get" action="">
          <input type="text" id="start_date" name="start_date" size="10"/> Start date<br />
          <input type="text" id="end_date" name="end_date" size="10"/> End date<br />
          <select id="select_user" style="width:104px"></select> User<br />
          <select id="select_dataset" style="width:104px"></select> Dataset<br />
          <select id="select_node" style="width:104px"></select> Node<br />
          <font id='select_sig_value'>Signal strength: 0 - 100</font>
          <div id="select_sig_slider">
            <div id="select_sig_slider"></div>
          </div>
          <input type="text" id="colour" name="colour"/> Colour<br /><br />
          <textarea rows="5" id="raw_filter" name="raw_filter" cols="50"></textarea><br /><br />
          <input type="text" id="lname" name="lname" size="10"/> Filtername<br /><br />
          <input type="button" id="add_filter" value="Add filter" /><br />
        </form>
      </div>
      <div id="hide_parent"></div>
    </div>
  </div>
  <div id="node_list">
  Click on map to display Wireless Leiden nodes.
  </div>
  <div id="sig_slider">
    <font id='sig_value'>Signal strength: 0 - 100</font>
    <div id="slider"></div>
  </div>
  <div id="layer_switcher_toggle">-
  </div>
  <div id="layer_switcher">
    <div id="cat_container">
      <div id="layer_switcher_cat">
        <div id="cat_hide"></div>
        <input type=checkbox id=togglecat class=default checked />Coverage
      </div>
      <p><span id="default"></span></p>
    </div>
    <div id="cat_container">
      <div id="layer_switcher_cat">
        <div id="cat_hide"></div>
        <input type=checkbox id=togglecat class=node checked />Nodes
        <a style="font-size:10px;" id="node_filter">(Add all nodes)</a>
      </div>
      <p><span id="node"></span></p>
    </div>
    <div id="cat_container">
      <div id="layer_switcher_cat">
        <div id="cat_hide"></div>
        <input type=checkbox id=togglecat class=user checked />Users
        <a style="font-size:10px;" id="user_filter">(Add all users)</a>
      </div>
      <p><span id="user"></span></p>
    </div>
    <div id="cat_container">
      <div id="layer_switcher_cat">
        <div id="cat_hide"></div>
        <input type=checkbox id=togglecat class=custom checked />Custom Filters
      </div><p><span id="custom"></span></p>
    </div>
    <div id="cat_container">
      <div id="layer_switcher_cat">
        <div id="cat_hide"></div>
        <input type=checkbox id=togglecat class=features />Features
      </div><p><span id="features"></span></p>
    </div>
  </div>
</body>
</html>
