Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
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
OpenEdx
problem-builder
Commits
6e76d9c8
Commit
6e76d9c8
authored
Mar 12, 2014
by
Xavier Antoviaque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup duplicate class name in MCQ/MRQ DOM structure & CSS
parent
5cb1b85d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
17 deletions
+16
-17
mentoring/public/css/questionnaire.css
+13
-14
mentoring/templates/html/mcqblock_choices.html
+1
-1
mentoring/templates/html/mcqblock_rating.html
+1
-1
mentoring/templates/html/mrqblock_choices.html
+1
-1
No files found.
mentoring/public/css/questionnaire.css
View file @
6e76d9c8
...
...
@@ -3,31 +3,30 @@
font-weight
:
bold
;
}
.mentoring
.rating
,
.mentoring
.choices
{
margin-bottom
:
5px
;
.mentoring
.rating
.choices-list
{
margin
:
5px
0
10px
;
}
.mentoring
.choices
.choice
s
.choice
{
.mentoring
.choices
.choice
{
margin
:
10px
0
;
}
.mentoring
.choices
.choice
s
.choice
-result
{
.mentoring
.choices
.choice-result
{
padding-right
:
40px
;
background-position
:
center
;
background-repeat
:
no-repeat
;
}
.mentoring
.choices
.choice
s
.choice
-result.correct
{
.mentoring
.choices
.choice-result.correct
{
background-image
:
url({{ correct_icon_url }})
;
cursor
:
pointer
;
}
.mentoring
.choices
.choice
s
.choice
-result.incorrect
{
.mentoring
.choices
.choice-result.incorrect
{
background-image
:
url({{ incorrect_icon_url }})
;
cursor
:
pointer
;
}
.mentoring
.choices
.choice
s
.choice
-tips
{
.mentoring
.choices
.choice-tips
{
display
:
none
;
background-color
:
#0384ce
;
color
:
#fff
;
...
...
@@ -37,16 +36,16 @@
margin
:
10px
0
;
}
.mentoring
.choices
.choice
s
.choice
-tips
.title
{
.mentoring
.choices
.choice-tips
.title
{
font-weight
:
bold
;
margin-bottom
:
10px
;
}
.mentoring
.choices
.choice
s
.choice
-tips
.tip-choice-group
{
.mentoring
.choices
.choice-tips
.tip-choice-group
{
position
:
relative
;
}
.mentoring
.choices
.choice
s
.choice
-tips
.tip-choice-group
.close
{
.mentoring
.choices
.choice-tips
.tip-choice-group
.close
{
background-image
:
url({{ close_icon_url }})
;
cursor
:
pointer
;
position
:
absolute
;
...
...
@@ -56,14 +55,14 @@
height
:
19px
;
}
.mentoring
.choices
.choice
s
.choice
-tips
p
{
.mentoring
.choices
.choice-tips
p
{
color
:
#fff
;
}
.mentoring
.rating
.choice
s
.choice
{
.mentoring
.rating
.choice
{
margin-right
:
10px
;
}
.mentoring
.choices
.choice
.choice-selector
{
.mentoring
.choices
-list
.choice-selector
{
margin-right
:
5px
;
}
mentoring/templates/html/mcqblock_choices.html
View file @
6e76d9c8
<fieldset
class=
"choices"
>
<legend
class=
"question"
>
{{ self.question }}
</legend>
<div
class=
"choices"
>
<div
class=
"choices
-list
"
>
{% for choice in custom_choices %}
<div
class=
"choice"
>
<span
class=
"choice-result"
></span>
...
...
mentoring/templates/html/mcqblock_rating.html
View file @
6e76d9c8
<fieldset
class=
"rating"
>
<legend
class=
"question"
>
{{ self.question }}
</legend>
<div
class=
"choices"
>
<div
class=
"choices
-list
"
>
<span
class=
"low"
>
{{ self.low }}
</span>
<span
class=
"choice"
>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"1"
{%
if
self
.
student_choice =
=
'
1
'
%}
checked
{%
endif
%}
>
1
</label>
...
...
mentoring/templates/html/mrqblock_choices.html
View file @
6e76d9c8
<fieldset
class=
"choices"
>
<legend
class=
"question"
>
{{ self.question }}
</legend>
<div
class=
"choices"
>
<div
class=
"choices
-list
"
>
{% for choice in custom_choices %}
<div
class=
"choice"
>
<span
class=
"choice-result"
></span>
...
...
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