Changeset 9237 for src/django_gheat/website/static
- Timestamp:
- Jun 7, 2011, 3:47:37 PM (14 years ago)
- Location:
- src/django_gheat/website/static
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/website/static/heatmap_extensions_test.js
r9235 r9237 15 15 // set filter values 16 16 $(document).ready(function() { 17 $.getJSON("/website/foofilter", 17 18 // Fastest?: http://stackoverflow.com/questions/170986/what-is-the-best-way-to-add-options-to-a-select-from-an-array-with-jquery 19 $.getJSON("/website/foofilter/", 18 20 function(json) { 19 21 $.each(json, function(i,json){ 20 $("<option>" + json.gebruiker + "</option>").appendTo("#select_user"); 22 gebruiker_class = json.gebruiker; 23 $("<option value='" + json.gebruiker + "'>" + json.gebruiker + "</option>").appendTo("#mark"); 21 24 $.each(json.meetrondje, function(m, meetrondje){ 22 $("<option >" + meetrondje.naam + "</option>").appendTo("#select_dataset");25 $("<option class='" + gebruiker_class + "' value='" + meetrondje.naam + "'>"+ meetrondje.naam + "</option>").appendTo("#series"); 23 26 $.each(meetrondje.nodes, function(n, nodes){ 24 $("<option>" + nodes + "</option>").appendTo("# select_node");27 $("<option>" + nodes + "</option>").appendTo("#model"); 25 28 }); 26 $("<option>" + meetrondje.datum + "</option>").appendTo("#select_date");29 // $("<option>" + meetrondje.datum + "</option>").appendTo("#select_date"); 27 30 }); 28 31 }); 32 // Initiate the chain 33 $("#series").chained("#mark"); 34 $("#model").chained("#series"); 29 35 } 30 36 ); -
src/django_gheat/website/static/style.css
r9214 r9237 60 60 #filter{ 61 61 width:100%-10px; 62 display:none; 62 /* display:none; */ 63 63 padding:5px; 64 64 }
Note:
See TracChangeset
for help on using the changeset viewer.