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/accordion/icons.html | 95 ++++ .../jquery-ui/tests/visual/addClass/queue.html | 52 ++ .../jquery-ui/tests/visual/button/button.html | 94 ++++ .../jquery-ui/tests/visual/button/performance.html | 26 + .../tests/visual/compound/accordion_tabs.html | 86 ++++ .../tests/visual/compound/datepicker_dialog.html | 31 ++ .../tests/visual/compound/dialog_widgets.html | 101 ++++ .../tests/visual/compound/draggable_accordion.html | 65 +++ ...aggable_accordion_accordion_tabs_draggable.html | 107 +++++ .../compound/sortable_accordion_sortable_tabs.html | 116 +++++ .../jquery-ui/tests/visual/compound/tabs_tabs.html | 73 +++ .../tests/visual/compound/tabs_tooltips.html | 37 ++ .../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 +++ .../jquery-ui/tests/visual/effects/all.html | 217 +++++++++ .../jquery-ui/tests/visual/effects/effects.css | 49 ++ .../jquery-ui/tests/visual/effects/effects.js | 107 +++++ .../jquery-ui/tests/visual/effects/scale.html | 157 ++++++ .../plugins/jquery-ui/tests/visual/index.html | 82 ++++ .../plugins/jquery-ui/tests/visual/menu/menu.html | 314 ++++++++++++ .../jquery-ui/tests/visual/position/position.html | 143 ++++++ .../tests/visual/position/position_feedback.html | 145 ++++++ .../plugins/jquery-ui/tests/visual/theme.html | 532 +++++++++++++++++++++ .../jquery-ui/tests/visual/tooltip/animations.html | 73 +++ .../jquery-ui/tests/visual/tooltip/tooltip.html | 206 ++++++++ .../plugins/jquery-ui/tests/visual/visual.css | 3 + 28 files changed, 3232 insertions(+) create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/accordion/icons.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/addClass/queue.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/button.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/performance.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/accordion_tabs.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/datepicker_dialog.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/dialog_widgets.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tabs.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tooltips.html 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 create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/scale.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/menu/menu.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position_feedback.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/theme.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/animations.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/tooltip.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/visual.css (limited to '97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual') diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/accordion/icons.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/accordion/icons.html new file mode 100644 index 0000000..6cf9157 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/accordion/icons.html @@ -0,0 +1,95 @@ + + + + + Accordion Visual Test + + + + + + + + + +

WHAT: The following set of nested accordions alternate between icons and no icons.

+

EXPECTED: The padding on the headers should correctly account for the icon settings.

+ +
+
Icons
+
+
+
No Icons
+
+
+
Icons
+
+
+
No Icons
+
+
+
Icons
+
+
+
No Icons
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
No Icons
+
+
+
Icons
+
+
+
No Icons
+
+
+
Icons
+
+
+
No Icons
+
+
+
Icons
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/addClass/queue.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/addClass/queue.html new file mode 100644 index 0000000..2b21a4e --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/addClass/queue.html @@ -0,0 +1,52 @@ + + + + + addClass Visual Test : Queue + + + + + + + + +

WHAT: The two boxes animate from black to red to green to blue.

+

EXPECTED: The first box should start with a delay, the second box should start immediately.

+ +
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/button.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/button.html new file mode 100644 index 0000000..40072aa --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/button.html @@ -0,0 +1,94 @@ + + + + + Button Visual Test + + + + + + + + + +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + + + + +
+ +
+ + + + + + +
+ +
+ anchor + anchor + anchor +
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/performance.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/performance.html new file mode 100644 index 0000000..4d0d4fe --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/performance.html @@ -0,0 +1,26 @@ + + + + + Button Visual Test: Initialization Performance + + + + + + + + + + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/accordion_tabs.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/accordion_tabs.html new file mode 100644 index 0000000..3fa541e --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/accordion_tabs.html @@ -0,0 +1,86 @@ + + + + + Compound Visual Test : Accordion in Tabs + + + + + + + + + + + +
+ +
+
+

Accordion Header 1

+
+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+
+

Accordion Header 2

+
+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+
+

Accordion Header 3

+
+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+
+
+
+
+
+

Accordion Header 1

+
+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+
+

Accordion Header 2

+
+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+
+

Accordion Header 3

+
+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+
+
+
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/datepicker_dialog.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/datepicker_dialog.html new file mode 100644 index 0000000..315a935 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/datepicker_dialog.html @@ -0,0 +1,31 @@ + + + + + Compound Visual Test : Datepicker in Dialog + + + + + + + + + + + + + + + +
+ +
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/dialog_widgets.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/dialog_widgets.html new file mode 100644 index 0000000..bc4777a --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/dialog_widgets.html @@ -0,0 +1,101 @@ + + + + + Compound Visual Test : All Widgets in Dialog + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Accordion Header 1

+
+ Accordion Content 1 +
+

Accordion Header 2

+
+ Accordion Content 2 +
+

Accordion Header 3

+
+ Accordion Content 3 +
+
+ + + + +
+ +
+
+
+
+
+ +
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+
Phasellus mattis tincidunt nibh.
+
Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.
+
+
+
+ Yay, another dialog. +
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion.html new file mode 100644 index 0000000..4b6f1c4 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion.html @@ -0,0 +1,65 @@ + + + + + Compound Visual Test : Draggable in Accordion + + + + + + + + + + + + + +
+

.draggable()

+
+
Draggable 1-1
+
Draggable 1-2
+
Draggable 1-3
+
Draggable 1-4
+
Draggable 1-5
+
+

.draggable({ appendTo: "body" })

+
+
Draggable 2-1
+
Draggable 2-2
+
Draggable 2-3
+
Draggable 2-4
+
Draggable 2-5
+
+

.draggable({ helper: "clone", appendTo: "body" })

+
+
Draggable 3-1
+
Draggable 3-2
+
Draggable 3-3
+
Draggable 3-4
+
Draggable 3-5
+
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html new file mode 100644 index 0000000..9b03c74 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html @@ -0,0 +1,107 @@ + + + + + Compound Visual Test : Draggable in Accordion + + + + + + + + + + + + + +
+

Drag me around!

+
+ +
+

Click the other tab!

+
+
+
+

Accordion Group 1

+
+

Header 1-1

+
+
Draggable 1-1
+
Draggable 1-2
+
Draggable 1-3
+
Draggable 1-4
+
Draggable 1-5
+
+

Header 1-2

+
+
Draggable 2-1
+
Draggable 2-2
+
Draggable 2-3
+
Draggable 2-4
+
Draggable 2-5
+
+
+

Accordion Group 2

+
+

Header 2-1

+
+
Draggable 1-1
+
Draggable 1-2
+
Draggable 1-3
+
Draggable 1-4
+
Draggable 1-5
+
+

Header 2-2

+
+
Draggable 2-1
+
Draggable 2-2
+
Draggable 2-3
+
Draggable 2-4
+
Draggable 2-5
+
+
+
+
+
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html new file mode 100644 index 0000000..e87e563 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html @@ -0,0 +1,116 @@ + + + + + Compound Visual Test : Accordion in Tabs + + + + + + + + + + + + + +
+ +
+
+
+

Accordion Header 1

+
+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+
+
+
+

Accordion Header 2

+
+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+
+
+
+

Accordion Header 3

+
+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+
+
+
+
+
+

Nothing to look at here...

+
+
+

Nothing to look at here...

+
+
+
+
+

Accordion Header 1

+
+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+

Accordion Content 1

+
+
+
+

Accordion Header 2

+
+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+

Accordion Content 2

+
+
+
+

Accordion Header 3

+
+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+

Accordion Content 3

+
+
+
+
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tabs.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tabs.html new file mode 100644 index 0000000..3eac065 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tabs.html @@ -0,0 +1,73 @@ + + + + + Compound Visual Test : Tabs in Tabs + + + + + + + + + + + +
+ +
+
+ +
+

nested tabs a-1

+

nested tabs a-1

+

nested tabs a-1

+

nested tabs a-1

+

nested tabs a-1

+
+
+

nested tabs a-2

+

nested tabs a-2

+

nested tabs a-2

+

nested tabs a-2

+

nested tabs a-2

+
+
+
+
+
+ +
+

nested tabs b-1

+

nested tabs b-1

+

nested tabs b-1

+

nested tabs b-1

+

nested tabs b-1

+
+
+

nested tabs b-2

+

nested tabs b-2

+

nested tabs b-2

+

nested tabs b-2

+

nested tabs b-2

+
+
+
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tooltips.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tooltips.html new file mode 100644 index 0000000..680b6bc --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tooltips.html @@ -0,0 +1,37 @@ + + + + + Compound Visual Test : Tabs in Tabs + + + + + + + + + + + + +
+ +
+ label +
+ +
+ + + 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

+ +
+ + + + + + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/all.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/all.html new file mode 100644 index 0000000..8e7fe10 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/all.html @@ -0,0 +1,217 @@ + + + + + jQuery UI Effects Test Suite + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.css b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.css new file mode 100644 index 0000000..8e9ee0f --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.css @@ -0,0 +1,49 @@ +body { + margin: 1em; + padding: 0; + background: #fff; + color: #000; +} + +ul.effects { + list-style-type: none; + margin: 0; + padding: 0; +} + +ul.effects li { + padding: 0; + width: 120px; + height: 100px; + float: left; + margin-top: 20px; + margin-left: 20px; +} + +div.effect { + width: 120px; + height: 100px; + background: #ccc; + border: 5px outset #aaa; + float: left; + cursor: pointer; + cursor: hand; +} + +div.current { + border: 5px outset #FF9C08; + background: #FF9C08; +} + +div.effect p { + color: #191919; + font-weight: bold; + margin: 0; + padding: 10px; +} + +.ui-effects-transfer { + border: 1px dotted #fff; + background: #666; + opacity: 0.5; +} diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.js new file mode 100644 index 0000000..624e0b1 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.js @@ -0,0 +1,107 @@ +$(function() { + +var duration = 1000, + wait = 500; + +function effect( elem, name, options ) { + $.extend( options, { + easing: "easeOutQuint" + }); + + $( elem ).click(function() { + $( this ) + .addClass( "current" ) + // delaying the initial animation makes sure that the queue stays in tact + .delay( 10 ) + .hide( name, options, duration ) + .delay( wait ) + .show( name, options, duration, function() { + $( this ).removeClass( "current" ); + }); + }); +} + +$( "#hide" ).click(function() { + $( this ) + .addClass( "current" ) + .hide( duration ) + .delay( wait ) + .show( duration, function() { + $( this ).removeClass( "current" ); + }); +}); + +effect( "#blindLeft", "blind", { direction: "left" } ); +effect( "#blindUp", "blind", { direction: "up" } ); +effect( "#blindRight", "blind", { direction: "right" } ); +effect( "#blindDown", "blind", { direction: "down" } ); + +effect( "#bounce3times", "bounce", { times: 3 } ); + +effect( "#clipHorizontally", "clip", { direction: "horizontal" } ); +effect( "#clipVertically", "clip", { direction: "vertical" } ); + +effect( "#dropDown", "drop", { direction: "down" } ); +effect( "#dropUp", "drop", { direction: "up" } ); +effect( "#dropLeft", "drop", { direction: "left" } ); +effect( "#dropRight", "drop", { direction: "right" } ); + +effect( "#explode9", "explode", {} ); +effect( "#explode36", "explode", { pieces: 36 } ); + +effect( "#fade", "fade", {} ); + +effect( "#fold", "fold", { size: 50 } ); + +effect( "#highlight", "highlight", {} ); + +effect( "#pulsate", "pulsate", { times: 2 } ); + +effect( "#puff", "puff", { times: 2 } ); +effect( "#scale", "scale", {} ); +effect( "#size", "size", {} ); +$( "#sizeToggle" ).click(function() { + var options = { to: { width: 300, height: 300 } }; + $( this ) + .addClass( "current" ) + .toggle( "size", options, duration ) + .delay( wait ) + .toggle( "size", options, duration, function() { + $( this ).removeClass( "current" ); + }); +}); + +$( "#shake" ).click(function() { + $( this ) + .addClass( "current" ) + .effect( "shake", {}, 100, function() { + $( this ).removeClass( "current" ); + }); +}); + +effect( "#slideDown", "slide", { direction: "down" } ); +effect( "#slideUp", "slide", { direction: "up" } ); +effect( "#slideLeft", "slide", { direction: "left" } ); +effect( "#slideRight", "slide", { direction: "right" } ); + +$( "#transfer" ).click(function() { + $( this ) + .addClass( "current" ) + .effect( "transfer", { to: "div:eq(0)" }, 1000, function() { + $( this ).removeClass( "current" ); + }); +}); + +$( "#addClass" ).click(function() { + $( this ).addClass( "current", duration, function() { + $( this ).removeClass( "current" ); + }); +}); +$( "#removeClass" ).click(function() { + $( this ).addClass( "current" ).removeClass( "current", duration ); +}); +$( "#toggleClass" ).click(function() { + $( this ).toggleClass( "current", duration ); +}); + +}); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/scale.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/scale.html new file mode 100644 index 0000000..7fadb03 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/scale.html @@ -0,0 +1,157 @@ + + + + + jQuery UI Effects Test Suite + + + + + + + + +
+
+
+
+
+ + + + +
+ + + + +
+ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/index.html new file mode 100644 index 0000000..a8c38d4 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/index.html @@ -0,0 +1,82 @@ + + + + + jQuery UI Visual Tests + + + + + + + + + +
+

jQuery UI Visual Tests

+
+

Accordion

+ + +

addClass

+ + +

Button

+ + +

Dialog

+ + +

Effects

+ + +

Menu

+ + +

Position

+ + +

Tooltip

+ + +

Compound

+ + +

General

+ +
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/menu/menu.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/menu/menu.html new file mode 100644 index 0000000..968c166 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/menu/menu.html @@ -0,0 +1,314 @@ + + + + + Menu Visual Test: Default + + + + + + + + + + + +

Default inline menu

+ + +

Inline with disabled items and submenus

+ + +

Menu with icons

+ + +

Long menu with scroll overflow, to test menu's scroll-on-keypress behaviour

+ + +

Menu with custom markup

+ + +

Menu with custom markup, multi-line items and a custom submenu icon

+ + +

Inline with dividers and elements without anchors

+ + +
+ Log: +
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position.html new file mode 100644 index 0000000..13e42ff --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position.html @@ -0,0 +1,143 @@ + + + + + Position Visual Test + + + + + + + + + + + +
+
+

This is the position target element.

+
+ +
+

to position

+
+ +
+

to position 2

+
+ +
+

Position configuration:

+
+ my: + + +
+
+ at: + + +
+
+ collision: + + +
+
+ + +
+
+ + +
+
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position_feedback.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position_feedback.html new file mode 100644 index 0000000..1490f6a --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position_feedback.html @@ -0,0 +1,145 @@ + + + + + Position Visual Test: Feedback + + + + + + + + + + + +
all around me
+
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/theme.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/theme.html new file mode 100644 index 0000000..959d2af --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/theme.html @@ -0,0 +1,532 @@ + + + + + jQuery UI Example Page + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +

Accordion

+
+
+
+

First

+
Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.
+
+
+

Second

+
Phasellus mattis tincidunt nibh.
+
+
+

Third

+
Nam dui erat, auctor a, dignissim quis.
+
+
+
+
+
+
+

First no icons

+
Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.
+
+
+

Second no icons

+
Phasellus mattis tincidunt nibh.
+
+
+

Third no icons

+
Nam dui erat, auctor a, dignissim quis.
+
+
+
+ + + +

Tabs

+
+ +
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+
Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.
+
Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.
+
+ + +

Dialog

+

Open Dialog

+ +
Inline Dialogclose
+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

+
+ + +

Overlay and Shadow Classes (not currently used in UI widgets)

+
+

Lorem ipsum dolor sit amet, Nulla nec tortor. Donec id elit quis purus consectetur consequat.

Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci.

Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat.

Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam.

Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante.

Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi.

+ + +
+
+
+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

+
+
+ +
+ + + +
+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

+
+ + + +

Framework Icons (content color preview)

+ + + + +

Slider

+
+
+
+
+
+ 88 + 77 + 55 + 33 + 40 + 45 + 70 +
+
+ + + +

Datepicker

+
+
+
+
+
+
+ + + +

Progressbar

+
+ + +

Highlight / Error

+
+
+

+ Hey! Sample ui-state-highlight style.

+
+
+
+
+
+

+ Alert: Sample ui-state-error style.

+
+
+ +

Button

+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/animations.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/animations.html new file mode 100644 index 0000000..cfb56a1 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/animations.html @@ -0,0 +1,73 @@ + + + + + Tooltip Visual Test: Animations + + + + + + + + + + + + + + + + +
{}
+
{
+  "show": {
+    "effect": "slideDown"
+  },
+  "hide": {
+    "effect": "slideUp"
+  }
+}
+
{
+  "show": {
+    "effect": "explode"
+  },
+  "hide": {
+    "effect": "explode"
+  }
+}
+
{
+  "show": {
+    "effect": "bounce"
+  },
+  "hide": {
+    "effect": "blind"
+  }
+}
+
{
+  "show": {
+    "effect": "drop",
+    "direction": "right"
+  },
+  "hide": {
+    "effect": "drop",
+    "direction": "right"
+  }
+}
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/tooltip.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/tooltip.html new file mode 100644 index 0000000..8b4da3c --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/tooltip.html @@ -0,0 +1,206 @@ + + + + + Tooltip Visual Test: Default + + + + + + + + + + + + +
+

Lots of tooltipped elements close together.
+ Mouse through them quickly and slowly.

+ + +
+

These elements are right aligned.
+ One collides and one uses custom position.

+

+ collision detection should kick in around here +

+

+ right aligned with custom position +

+
+ +
+

These footnotes pull content form the elements they link to.

+ +
+ +
+

These elements load their content asynchronously.
+ There should be a loading message while the content is retrieved.

+
+ async +
+
+ async + cache +
+
+ +
+

Nested elements.

+
+
+ tooltipped + + nested tooltipped + third level + +
+ +
+
+ Text in bold. +
+
+ + + + +
+

Play around with focusing and hovering of form elements.

+
+
+ + +
+
+ + +
+
+ +

Some inputs nested inside labels:

+
+ + + + +
+ +

Some button widgets:

+
+ + + + +
+
+ +
+
This is the footnote, including other elements
+
This is the other footnote, including other elements
+
+
+ +
+ + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/visual.css b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/visual.css new file mode 100644 index 0000000..b61fc0e --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/visual.css @@ -0,0 +1,3 @@ +body { font-size: 62.5%; } +#draggable, #resizable { width: 100px; height: 100px; background: #abc; } +#droppable { width: 100px; height: 100px; background: #cde; } -- cgit v1.2.2