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
49eee8b1
Commit
49eee8b1
authored
Apr 30, 2015
by
Xavier Antoviaque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak spacing and text boldness on assessments results
parent
d9f20975
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
49 deletions
+59
-49
problem_builder/public/css/mentoring.css
+10
-4
problem_builder/templates/html/mentoring_grade.html
+49
-45
No files found.
problem_builder/public/css/mentoring.css
View file @
49eee8b1
...
...
@@ -5,9 +5,6 @@
.mentoring
.messages
,
.mentoring
.assessment-messages
{
display
:
none
;
margin-top
:
10px
;
border-top
:
2px
solid
#eaeaea
;
padding
:
12px
0px
20px
;
}
.mentoring
.messages
.title1
,
...
...
@@ -74,7 +71,7 @@
display
:
inline-block
;
vertical-align
:
middle
;
font-size
:
13px
;
font-weight
:
bold
;
font-weight
:
600
;
}
.mentoring
.attempts
>
span
{
...
...
@@ -121,6 +118,10 @@
margin-right
:
10px
;
}
.mentoring
.grade
.grade-result
{
margin
:
20px
;
}
.mentoring
.grade
.checkmark-incorrect
{
margin-left
:
10px
;
margin-right
:
20px
;
...
...
@@ -158,6 +159,11 @@
.mentoring
.results-section
{
float
:
left
;
}
.mentoring
.results-section
p
{
margin
:
4px
;
}
.mentoring
.clear
{
display
:
block
;
clear
:
both
;
...
...
problem_builder/templates/html/mentoring_grade.html
View file @
49eee8b1
...
...
@@ -4,51 +4,55 @@
<%
}}
else
{{
%>
<
p
><%=
gettext
(
"Note: if you retake this assessment, only your final score counts."
)
%><
/p
>
<%
}}
%>
<
h2
>
<%=
_
.
template
(
gettext
(
"You scored {percent}% on this assessment."
),
{
percent
:
score
},
{
interpolate
:
/
\{(
.+
?)\}
/g
})
%>
<
/h2
>
<
hr
/>
<
span
class
=
"assessment-checkmark icon-2x checkmark-correct icon-ok fa fa-check"
><
/span
>
<
div
class
=
"results-section"
>
<
p
>
<%=
_
.
template
(
ngettext
(
"You answered 1 question correctly."
,
"You answered {number_correct} questions correctly."
,
correct_answer
),
{
number_correct
:
correct_answer
},
{
interpolate
:
/
\{(
.+
?)\}
/g
})
%>
<
/p
>
<%=
runDetails
(
'correct'
)
%>
<
/div
>
<
div
class
=
"clear"
><
/div
>
<
span
class
=
"assessment-checkmark icon-2x checkmark-partially-correct icon-ok fa fa-check"
><
/span
>
<
div
class
=
"results-section"
>
<
p
>
<%=
_
.
template
(
ngettext
(
"You answered 1 question partially correctly."
,
"You answered {number_partially_correct} questions partially correctly."
,
partially_correct_answer
),
{
number_partially_correct
:
partially_correct_answer
},
{
interpolate
:
/
\{(
.+
?)\}
/g
})
%>
<
/p
>
<%=
runDetails
(
'partial'
)
%>
<
/div
>
<
div
class
=
"clear"
><
/div
>
<
span
class
=
"assessment-checkmark icon-2x checkmark-incorrect icon-exclamation fa fa-exclamation"
><
/span
>
<
div
class
=
"results-section"
>
<
p
>
<%=
_
.
template
(
ngettext
(
"You answered 1 question incorrectly."
,
"You answered {number_incorrect} questions incorrectly."
,
incorrect_answer
),
{
number_incorrect
:
incorrect_answer
},
{
interpolate
:
/
\{(
.+
?)\}
/g
})
%>
<
/p
>
<%=
runDetails
(
'incorrect'
)
%>
<
div
class
=
"grade-result"
>
<
h2
>
<%=
_
.
template
(
gettext
(
"You scored {percent}% on this assessment."
),
{
percent
:
score
},
{
interpolate
:
/
\{(
.+
?)\}
/g
})
%>
<
/h2
>
<
hr
/>
<
span
class
=
"assessment-checkmark icon-2x checkmark-correct icon-ok fa fa-check"
><
/span
>
<
div
class
=
"results-section"
>
<
p
>
<%=
_
.
template
(
ngettext
(
"You answered 1 question correctly."
,
"You answered {number_correct} questions correctly."
,
correct_answer
),
{
number_correct
:
correct_answer
},
{
interpolate
:
/
\{(
.+
?)\}
/g
})
%>
<
/p
>
<%=
runDetails
(
'correct'
)
%>
<
/div
>
<
div
class
=
"clear"
><
/div
>
<
span
class
=
"assessment-checkmark icon-2x checkmark-partially-correct icon-ok fa fa-check"
><
/span
>
<
div
class
=
"results-section"
>
<
p
>
<%=
_
.
template
(
ngettext
(
"You answered 1 question partially correctly."
,
"You answered {number_partially_correct} questions partially correctly."
,
partially_correct_answer
),
{
number_partially_correct
:
partially_correct_answer
},
{
interpolate
:
/
\{(
.+
?)\}
/g
})
%>
<
/p
>
<%=
runDetails
(
'partial'
)
%>
<
/div
>
<
div
class
=
"clear"
><
/div
>
<
span
class
=
"assessment-checkmark icon-2x checkmark-incorrect icon-exclamation fa fa-exclamation"
><
/span
>
<
div
class
=
"results-section"
>
<
p
>
<%=
_
.
template
(
ngettext
(
"You answered 1 question incorrectly."
,
"You answered {number_incorrect} questions incorrectly."
,
incorrect_answer
),
{
number_incorrect
:
incorrect_answer
},
{
interpolate
:
/
\{(
.+
?)\}
/g
})
%>
<
/p
>
<%=
runDetails
(
'incorrect'
)
%>
<
/div
>
<
div
class
=
"clear"
><
/div
>
<
hr
/>
<
/div
>
<
div
class
=
"clear"
><
/div
>
</script>
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