Ignore:
Timestamp:
Jun 9, 2011, 5:32:53 PM (13 years ago)
Author:
dennisw
Message:

Added a colorpicker for the filters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/website/templates/home.html

    r9243 r9246  
    88  <script type="text/javascript" language="javascript" src="{{ STATIC_URL }}jquery.chained.js"></script>
    99  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}heatmap_extensions.js"></script>
     10  <script type="text/javascript" language="Javascript" src="{{ STATIC_URL }}colorpicker.js"></script>
    1011  <script language="javascript" type="text/javascript">
    1112    $(function(){
     13      // enable colorpicker
     14      $('#colour').colorPicker();
     15
    1216      $('#menu_filter').click(function(){
    1317        $('#filter').slideToggle('fast');
     
    4549          <select id="select_dataset" style="width:104px"></select> Dataset<br />
    4650          <select id="select_node" style="width:104px"></select> Node<br />
    47           <input type="text" id="lname" name="lname" size="10"/> Layername<br />
    48           <input type="text" id="colour" name="colour" size="10"/> Colour<br />
     51          <input type="text" id="lname" name="lname" size="10"/> Layername<br /><br />
     52          <input type="text" id="colour" name="colour"/> Colour<br /><br />
    4953          <input type="button" id="add_filter" value="Add filter"/>
    5054        </form>
Note: See TracChangeset for help on using the changeset viewer.