Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
88bfdd01
Commit
88bfdd01
authored
Mar 01, 2013
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1561 from MITx/feature/will/move_correct_mark_for_multiple_choice
Feature/will/move correct mark for multiple choice
parents
7fa77769
487afad5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
8 deletions
+20
-8
common/lib/capa/capa/templates/choicegroup.html
+18
-6
common/lib/xmodule/xmodule/css/capa/display.scss
+2
-2
No files found.
common/lib/capa/capa/templates/choicegroup.html
View file @
88bfdd01
<form
class=
"choicegroup capa_inputtype"
id=
"inputtype_${id}"
>
<div
class=
"indicator_container"
>
<fieldset>
% for choice_id, choice_description in choices:
<label
for=
"input_${id}_${choice_id}"
>
% if choice_id in value:
<span
class=
"indicator_container"
>
% if status == 'unsubmitted':
<span
class=
"unanswered"
style=
"display:inline-block;"
id=
"status_${id}"
></span>
% elif status == 'correct':
...
...
@@ -9,15 +15,21 @@
% elif status == 'incomplete':
<span
class=
"incorrect"
id=
"status_${id}"
></span>
% endif
</div>
</span>
% else:
<span
class=
"indicator_container"
>
 
</span>
% endif
<fieldset>
% for choice_id, choice_description in choices:
<label
for=
"input_${id}_${choice_id}"
>
<input
type=
"${input_type}"
name=
"input_${id}${name_array_suffix}"
id=
"input_${id}_${choice_id}"
value=
"${choice_id}"
<input
type=
"${input_type}"
name=
"input_${id}${name_array_suffix}"
id=
"input_${id}_${choice_id}"
value=
"${choice_id}"
%
if
choice_id
in
value:
checked=
"true"
%
endif
/>
${choice_description}
</label>
/>
${choice_description}
</label>
% endfor
<span
id=
"answer_${id}"
></span>
</fieldset>
...
...
common/lib/xmodule/xmodule/css/capa/display.scss
View file @
88bfdd01
...
...
@@ -227,7 +227,7 @@ section.problem {
background
:
url('../images/correct-icon.png')
center
center
no-repeat
;
height
:
20px
;
position
:
relative
;
top
:
6
px
;
top
:
3
px
;
width
:
25px
;
}
...
...
@@ -237,7 +237,7 @@ section.problem {
height
:
20px
;
width
:
20px
;
position
:
relative
;
top
:
6
px
;
top
:
3
px
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment