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/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 deletions(-) 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 (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 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

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