From 3f1d09f3b5b86157ccf9f47eef69a065be6153a4 Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Thu, 22 Aug 2013 15:18:58 +0800 Subject: * added latest full package of 'jquery-ui' plugin, v1.10.3; * improved 'thickbox' plugin to use 'jquery-1.9.x'; * upgraded 'SheetDefault.html', 'NewDeleteIndex.html' and other pages to use 'jquery-1.9.x'; * improved 'IndexDesc.html' to deal with the problem of no related annotation found; * 'indicator.tools.get_record()' added param 'number', and updated the format of return data; * added 'get_num_record()' and 'get_num_record_std()' to 'indicator.tools'; * improved 'indicator.views.ajax_get_card_data_chart()', now can get data by 'num' or by 'date'; * improved 'indicator.views.ajax_get_card_data_table()', to provide the needed data requested from 'detail_card'; * improved js function 'chart_getdata_draw()' in 'SheetDefault.html'; * 'card_chart.js': renamed 'redraw_chart()' to 'detail_chart_getdata_draw()', and updated to get data by type; * updated 'table' of 'detail_card' in 'SheetDefault.html'; * improved js function 'get_card_data_table()' for providing and displaying record data in 'detail_card' table. TODO: * add/delete/edit record data --- .../jquery-ui/tests/visual/dialog/animated.html | 53 +++++++++ .../tests/visual/dialog/complex-dialogs.html | 125 +++++++++++++++++++++ .../jquery-ui/tests/visual/dialog/form.html | 70 ++++++++++++ .../jquery-ui/tests/visual/dialog/performance.html | 73 ++++++++++++ 4 files changed, 321 insertions(+) create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/animated.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/complex-dialogs.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/form.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/performance.html (limited to '97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog') diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/animated.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/animated.html new file mode 100644 index 0000000..9b5ae7f --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/animated.html @@ -0,0 +1,53 @@ + + + + + Dialog Visual Test + + + + + + + + + + + + + + + + + +

WHAT: A animated modal dialog, using blind effect to show, explode to hide.

+

EXPECTED: Dialog shows up on top of the overlay and stays there during and after the animation. Focus is set to the input inside the dialog and stays there after the animation finishes.

+ +
+

Please enter password to continue.

+ +
+ + + + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/complex-dialogs.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/complex-dialogs.html new file mode 100644 index 0000000..78e93be --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/complex-dialogs.html @@ -0,0 +1,125 @@ + + + + + Dialog Visual Test + + + + + + + + + + + + + + + + + + + + + + +

WHAT: A modal dialog opening another modal dialog (including a datepicker), opening a non-modal dialog (including an autocomplete with tooltip applied). A regular link on the page, outside of the dialogs.

+

EXPECTED: As long as a modal dialog is open, focus stays within the dialogs. Both mouse and keyboard interactions are captured and restricted to the dialog. When the nested modal dialog is open, the first modal dialog can't be interacted with, until the nested dialog is closed. When the third dialog is open (not modal), switching between the two dialogs is possible, both can be interacted with.

+ + + + +
+

This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.

+

+

+
+ +
+

Date:

+

+
+ +
+ + +
+ +Outside link + + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/form.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/form.html new file mode 100644 index 0000000..984008d --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/form.html @@ -0,0 +1,70 @@ + + + + + Dialog Visual Test + + + + + + + + + + + + + + + + + + +

WHAT: A modal dialog containing form fields, with groups to describe each section. A second modal dialog with just an input and some text markup.

+

EXPECTED: Dialog shows up, screenreader reads the dialog's title, the word "dialog" (or equivalent), the text before the first input (description of the first section) and the label of the first, focused input. When tabbing to the next group, the screenreader should announce the description of that group, along with the label of the focused field.

+

For the second dialog, the behaviour should be similar, except that the whole content is read as the description of the dialog, likely causing the input's label to be read twice.

+

NOTE: Using fieldset with legend seems to have the same result as using role="group" and aria-describedby. The latter needs an id-attribute, offers more flexibilty in markup order and has no built-in styling.

+ +
+
+ Please share some personal information + + +
+
+

Some more (optional) information

+ +
+
+ + + +
+

Please enter password to continue.

+ +
+ + + + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/performance.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/performance.html new file mode 100644 index 0000000..8a1507a --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/performance.html @@ -0,0 +1,73 @@ + + + + + Dialog Visual Test - Modal Dialog in Large DOM + + + + + + + + + + + + + + +

WHAT: A single dialog is created on a page with a large DOM.

+

EXPECTED: Creating and opening the dialog should be fast, regardless of page size.

+ + +
+

Dialog Content

+ +
+ + + + + + + -- cgit v1.2.2