Changeset 9249 for src/django_gheat


Ignore:
Timestamp:
Jun 10, 2011, 2:28:01 PM (13 years ago)
Author:
dennisw
Message:

Working on a date filter using 'JQuery UI's datepicker.

Location:
src/django_gheat/website
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/website/static/style.css

    r9246 r9249  
    132132  width: 110px;
    133133  position: absolute;
    134   border: 1px solid #598FEF;
     134  border: 1px solid #BA0000;
    135135  background-color: #EFEFEF;
    136136  padding: 2px;
  • src/django_gheat/website/templates/home.html

    r9246 r9249  
    33  <link href="{{ STATIC_URL }}style.css" rel="stylesheet" type="text/css" media="screen" />
    44  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}jquery-1.6.1.min.js"></script>
     5<!--
    56  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}OpenLayers.js"></script>
    67  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}OpenStreetMap.js"></script>
    78  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}heatmap.js"></script>
     9-->
    810  <script type="text/javascript" language="javascript" src="{{ STATIC_URL }}jquery.chained.js"></script>
    911  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}heatmap_extensions.js"></script>
    1012  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}colorpicker.js"></script>
     13
     14<!-- jquery UI datapicker -->
     15<link type="text/css" href="{{ STATIC_URL }}jquery-ui-1.8.13.custom.css" rel="Stylesheet" />   
     16<script type="text/javascript" src="{{ STATIC_URL }}jquery-ui-1.8.13.custom.min.js"></script>
     17
     18
    1119  <script language="javascript" type="text/javascript">
    1220    $(function(){
    1321      // enable colorpicker
    1422      $('#colour').colorPicker();
     23      $('#start_date').datepicker();
     24      $('#end_date').datepicker();
    1525
    1626      $('#menu_filter').click(function(){
     
    4656      <div id="filter_list">
    4757        <form method="get" action="">
     58          <input type="text" id="start_date" name="start_date" size="10"/> Start date<br />
     59          <input type="text" id="end_date" name="end_date" size="10"/> End date<br />
    4860          <select id="select_user" style="width:104px"></select> User<br />
    4961          <select id="select_dataset" style="width:104px"></select> Dataset<br />
Note: See TracChangeset for help on using the changeset viewer.