From e7bacd45e1b44090781067159b63fe14b46b8611 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 13 Dec 2016 14:12:55 -0500 Subject: Use HTML5 type=datetime-local inputs for ChartCoordinator. --- jarmon/jarmon.js | 301 +++++++++++++++++++++++++------------------------------ 1 file changed, 137 insertions(+), 164 deletions(-) (limited to 'jarmon/jarmon.js') diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index cef338b..f3f6e33 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -13,7 +13,6 @@ * - javascriptRRD/binaryXHR 0.6/1.1: http://javascriptrrd.sourceforge.net/docs/javascriptrrd_v1.1.1/doc/lib/binaryXHR_js.html * - jQuery 1.6.3: http://jquery.com/ * - Flot 1.7: http://www.flotcharts.org/ - * - jQueryTools/dateinput: http://jquerytools.github.io/documentation/dateinput/index.html * - jQueryTools/tabs: http://jquerytools.github.io/documentation/tabs/index.html * - jQueryTools/toolbox/history: http://jquerytools.github.io/documentation/toolbox/history.html */ @@ -1306,9 +1305,35 @@ jarmon.timeRangeShortcuts = [ * Presents the user with a form and a timeline with which they can choose a * time range and co-ordinates the refreshing of a series of charts. * + * The `ui` parameter should be a jQuery for a DOM node containing elements + * matching these selectors: + * + * - `select[name="shortcuts"]` : An empty `