Commit Graph

31 Commits (dj111py38)

Author SHA1 Message Date
eric 72790b421d general renovations 2016-07-26 17:08:23 -04:00
Sara Arenson 08d2251f7d Multiple value boxes are now aligned in questionset.js
Now choice-multiple-freeform template calls function in questionset.js,
rather than including the same code for each question.
2015-12-09 12:16:07 -06:00
Sara Arenson ad9b327558 choice-multiple-values questions now align after longest string
Added Javascript to template.

Adjusted CSS so the max width can be a bit wider.
This won't affect Javascript.

Still need to refactor so code is tidier - right now same code included
multiple times on pages.
2015-12-09 12:03:22 -06:00
Jamie Campbell 37429dcf32 hoverable now changes font color instead of doing underline 2015-12-07 19:01:22 -06:00
Sara Arenson 5025e26b12 choice-multiple-values now aligns value boxes (shortens choice text)
Note: removed class from span containing value box and put it around span
containing choice's text

Choice text will wrap if necessary.

Currently, width of choice text is 35% - see questionnaire.css
2015-12-02 11:48:18 -06:00
Sara Arenson 878d453190 Added % sign to choice-multiple-values control - JS also show/hide SPAN
choice-multiple-freeform.html: Text box and % sign wrapped up in the same
SPAN that now has a dependency check instead of the dependency check being
on the text box inside.

questionnaire.css: No need for styling disabled input boxes anymore for
this question type. Span disappears, not box.

questionset.js: Added ability to show/hide spans (with triggers).

choice.py: Had to change jstriggers to set off containing SPAN, not
input box.
2015-12-01 14:50:30 -06:00
Sara Arenson 36d1f2ba9a choice-multiple-values now disappears disabled input boxes 2015-12-01 14:16:38 -06:00
Jamie Campbell dcb0182e93 added proper support for questionset heading 2015-11-29 02:47:33 -06:00
Daniel Rozenberg 8acd0a860c Enabled submit button when user clicks their browser back button. 2014-11-07 15:16:13 -08:00
Piotr Szachewicz ac530cebda Fixed jquery import in questionset.html (the path did not match the actual file). 2014-07-13 15:51:48 +02:00
Adam Hill 52b785ae1b Remove unused html5.js. 2013-12-28 21:58:45 -05:00
Denis Krienbühl 5469a1d82a Adjusts lineheight of question texts so they look better with longer texts 2012-02-16 13:22:08 +01:00
Denis Krienbühl ae8768e2ff Makes async progress work with IE (by generating a new url each time to avoid caching) 2012-02-02 11:03:49 +01:00
Denis Krienbühl f36c2ce220 Adds extra text to range input 2012-01-31 12:27:40 +01:00
Denis Krienbühl 25e85b3a80 Removes console.log call from progress 2012-01-30 15:43:13 +01:00
Denis Krienbühl 50e26e1a3e Makes error class only apply to divs 2012-01-27 11:59:22 +01:00
Denis Krienbühl 9d34dcf55f Adds progressbar configurations default, async and none. The configuration values are explained in the example/settings.py file 2012-01-24 11:51:11 +01:00
Denis Krienbühl 15775a15bc Fixes transition css property for all browsers 2012-01-17 15:07:37 +01:00
Denis Krienbühl 7af664cfd7 Adds jquery as dependency and uses it to block and animate the submit button of the quesitonnaire forms 2012-01-17 14:46:44 +01:00
Denis Krienbühl 1f1b097acd Adds extra text to open question and adjusts the top margin slightly 2012-01-17 09:25:50 +01:00
Denis Krienbühl 1d2f5def85 Replaces the existing range drop-down widget with a html5 range input.
* For older browsers there's a javascript fallback which ensures that the values entered into the text input are fall within min-max and are divisable by step.
 * The new widget adds two new checks - step and unit.
 * The unit is displayed next to the input element.
2012-01-16 16:06:43 +01:00
Denis Krienbühl 9b73ec25ea hide the progressbar percentage value 2012-01-11 11:25:55 +01:00
Denis Krienbühl 12d252fba1 Ensures that the progressbar is not being overlapped by questionset title text 2011-12-22 10:29:29 +01:00
Denis Krienbühl 51df6020cb Fixes css style and adds build to gitignore 2011-12-17 11:25:22 +01:00
Denis Krienbühl ecdb8b2e06 Moves page module from example to questionnaire and adds csrf protection 2011-12-17 11:21:42 +01:00
Denis Krienbühl dd5f94f6bf Merges the css from base and questionset 2011-12-16 10:28:23 +01:00
Denis Krienbühl e60b9c2814 Moves styles to a separate file 2011-12-16 10:23:50 +01:00
Denis Krienbühl e523b67136 Adds css only progressbar 2011-12-15 17:31:50 +01:00
Denis Krienbühl b5b0021db2 Removes blueprint files 2011-12-15 16:41:36 +01:00
Denis Krienbühl cff4af2521 Switch from blueprint to twitter bootstrap 2011-12-14 16:46:28 +01:00
Denis Krienbühl 400257058a Switched from /media/ to /static/ as Django seems to be in favor of the latter 2011-12-14 15:34:24 +01:00