From 02afd8a32edb13ea7fc2266ac80092ea15c0930c Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Wed, 9 Oct 2013 15:52:53 +0800 Subject: * treat 'apps/utils' as regular django app; which used to store general tools for used in other apps * moved 'templatetags' from 'apps/indicator' to 'apps/utils' * '.gitignore' to ignore 'fixtures_bak' * moved js plugins from 'apps/indicator/static/plugins' to 'staticfiles/plugins' apps/recommend: * updated 'recommend.models'; o commented 'recommend.models.ResearchCombination' (not used) * implemented views 'add_edit_blog_info' and 'ajax_add_edit_configs'; * added pages 'templates/recommend/add_edit_blog_info.html', 'add_edit_blog_info_error.html'; o related css and javascripts files * added 'tools.py'; * added 'utils/tools.py' for placing generic functions; * deleted 'initial_data.json' (mv 'fixtures' to 'fixtures_bak'); * small fixes to 'indicator.models', 'sciblog.models' and 'sfaccount.views' * fixed automatically show 'proper_nouns' annotation in blog: recovered the line 'import signals' in 'sciblog.models' * added 'is_ok()' method for 'recommend.models.ResearchConfig'; --- .../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 deletions(-) delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/accordion/icons.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/addClass/queue.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/button.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/performance.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/accordion_tabs.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/datepicker_dialog.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/dialog_widgets.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tabs.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tooltips.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/animated.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/complex-dialogs.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/form.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/performance.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/scale.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/menu/menu.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position_feedback.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/theme.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/animations.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/tooltip.html delete 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 deleted file mode 100644 index 6cf9157..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/accordion/icons.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - 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 deleted file mode 100644 index 2b21a4e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/addClass/queue.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - 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 deleted file mode 100644 index 40072aa..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/button.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - 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 deleted file mode 100644 index 4d0d4fe..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/performance.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - 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 deleted file mode 100644 index 3fa541e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/accordion_tabs.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - 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 deleted file mode 100644 index 315a935..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/datepicker_dialog.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - 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 deleted file mode 100644 index bc4777a..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/dialog_widgets.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - 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 deleted file mode 100644 index 4b6f1c4..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - 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 deleted file mode 100644 index 9b03c74..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - 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 deleted file mode 100644 index e87e563..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - 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 deleted file mode 100644 index 3eac065..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tabs.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - 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 deleted file mode 100644 index 680b6bc..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tooltips.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - 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 deleted file mode 100644 index 9b5ae7f..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/animated.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - 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 deleted file mode 100644 index 78e93be..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/complex-dialogs.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - 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 deleted file mode 100644 index 984008d..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/form.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - 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 deleted file mode 100644 index 8a1507a..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/performance.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - 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 deleted file mode 100644 index 8e7fe10..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/all.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - 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 deleted file mode 100644 index 8e9ee0f..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.css +++ /dev/null @@ -1,49 +0,0 @@ -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 deleted file mode 100644 index 624e0b1..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.js +++ /dev/null @@ -1,107 +0,0 @@ -$(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 deleted file mode 100644 index 7fadb03..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/scale.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - 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 deleted file mode 100644 index a8c38d4..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/index.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - 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 deleted file mode 100644 index 968c166..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/menu/menu.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - 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 deleted file mode 100644 index 13e42ff..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - 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 deleted file mode 100644 index 1490f6a..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position_feedback.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - 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 deleted file mode 100644 index 959d2af..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/theme.html +++ /dev/null @@ -1,532 +0,0 @@ - - - - - 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 deleted file mode 100644 index cfb56a1..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/animations.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - 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 deleted file mode 100644 index 8b4da3c..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/tooltip.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - 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 deleted file mode 100644 index b61fc0e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/visual.css +++ /dev/null @@ -1,3 +0,0 @@ -body { font-size: 62.5%; } -#draggable, #resizable { width: 100px; height: 100px; background: #abc; } -#droppable { width: 100px; height: 100px; background: #cde; } -- cgit v1.2.2