Index: openacs-4/packages/xowf/lib/online-exam-answer.wf =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/lib/online-exam-answer.wf,v diff -u -N -r1.2.2.6 -r1.2.2.7 --- openacs-4/packages/xowf/lib/online-exam-answer.wf 18 Oct 2019 13:53:54 -0000 1.2.2.6 +++ openacs-4/packages/xowf/lib/online-exam-answer.wf 27 Oct 2019 18:04:20 -0000 1.2.2.7 @@ -186,6 +186,7 @@ ../file:seal.js?m=download }} {extra_css { + /resources/xowf/test-item.css ../file:seal.js?m=download }} {form_loader get_question_form_object} @@ -342,7 +343,7 @@ } # -# Get an attribute of the origninal question +# Get an attribute of the original question # :proc question_property {form_obj:object attribute {default ""}} { set question [$form_obj get_property -name question] Index: openacs-4/packages/xowf/lib/online-exam.wf =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/lib/online-exam.wf,v diff -u -N -r1.6.2.7 -r1.6.2.8 --- openacs-4/packages/xowf/lib/online-exam.wf 19 Oct 2019 11:53:15 -0000 1.6.2.7 +++ openacs-4/packages/xowf/lib/online-exam.wf 27 Oct 2019 18:04:20 -0000 1.6.2.8 @@ -377,28 +377,7 @@ - + $HTML }] Index: openacs-4/packages/xowf/www/resources/test-item.css =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/www/resources/Attic/test-item.css,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/xowf/www/resources/test-item.css 27 Oct 2019 18:04:20 -0000 1.1.2.1 @@ -0,0 +1,64 @@ +/* + * Single_exam styling + */ +div.single_exam { + border-style: solid; + border-width: 1px; + border-color: #aaaaaa; + padding: 0px 5px 5px 20px; +} +div.single_exam div.correct input\[type="text"\]:disabled { + background: #ddFFdd; + color: black; +} +div.single_exam div.incorrect input\[type="text"\]:disabled { + background: #FFdddd; + color: black; +} + +/* + * item-styling + */ +div.question_text { + background-color: #fafafa; +} +div.form-label { + display: none; +} + +div.mc_interaction, div.sc_interaction, div.text_entry_interaction { + padding: 15px 0px 0px 15px; +} +div.mc_interaction label, div.sc_interaction label { + font-weight: normal; +} +label div.richtext-label { + display: inline-block; + max-width: 500px; + padding: 0px 0px 0px 15px; +} + +div.mc_interaction label input[type="checkbox"], +div.sc_interaction label input[type="radio"] { + vertical-align: top; +} + +div.text_entry_interaction li { + padding: 0px 0px 15px 0px; +} + +/* + * Feedback styling + */ +div.text_interaction div.incorrect { + background: #ffcccc; +} +div.text_entry_interaction div.incorrect input:disabled { + background: #ffdddd; +} +div.mc_interaction label.correct, div.sc_interaction label.correct { + background: #ccffcc; +} +div.mc_interaction label.incorrect, div.sc_interaction label.incorrect { + background: #ffdddd; +}