diff options
author | Richard Wall <richard@aziz> | 2010-07-10 17:26:52 +0100 |
---|---|---|
committer | Richard Wall <richard@aziz> | 2010-07-10 17:26:52 +0100 |
commit | 6708ba3b03e05ada12b4667928329041c47b35e4 (patch) | |
tree | 66c68b7b15fe56194598c6ced8ed5dfe689aa8c8 /index.html | |
parent | afca11823f8246184481b268096e1717da9e0e16 (diff) |
partially working selectable time range and tzoffset
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -116,15 +116,6 @@ } $(function() { - // Add dhtml calendars to the date input fields - $(":date").dateinput({format: 'mmm dd yyyy', max: +1}); - $(":date[name=startTime]").data("dateinput").change(function() { - $(":date[name=endTime]").data("dateinput").setMin(this.getValue(), true); - }); - $(":date[name=endTime]").data("dateinput").change(function() { - $(":date[name=startTime]").data("dateinput").setMax(this.getValue(), true); - }); - // Setup dhtml tabs $(".css-tabs").tabs(".css-panes > div", {history: true}); @@ -143,11 +134,11 @@ <body> <form method="GET" class="chartRangeControl"> <div> - <label>Start: <input type="date" name="startTime" /></label> - <label>End: <input type="date" name="endTime" /></label> - <label>UTC: <input type="text" name="tzoffset" size="2" /></label> + <label><select name="from"></select></label> + <input type="hidden" name="to" value="0" /> + <label><img src="assets/icons/calendar.png" alt="calendar" align="center" /> </label> + <label><select name="tzoffset"></select></label> <input type="submit" value="Update" /> - <input type="reset" value="Reset" /> </div> <div class="range-preview"></div> </form> |