.
This commit is contained in:
@@ -3,7 +3,8 @@ body {
|
|||||||
background-color: black;
|
background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
a, a:link {
|
a,
|
||||||
|
a:link {
|
||||||
color: #3282b8;
|
color: #3282b8;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -14,9 +15,12 @@ a, a:link {
|
|||||||
.answer-list {
|
.answer-list {
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
-webkit-user-select: none; /* Chrome/Safari */
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none; /* Firefox */
|
/* Chrome/Safari */
|
||||||
-ms-user-select: none; /* IE10+ */
|
-moz-user-select: none;
|
||||||
|
/* Firefox */
|
||||||
|
-ms-user-select: none;
|
||||||
|
/* IE10+ */
|
||||||
}
|
}
|
||||||
|
|
||||||
.answer-list .answer:hover {
|
.answer-list .answer:hover {
|
||||||
@@ -34,6 +38,7 @@ a, a:link {
|
|||||||
content: " [Score = 2]";
|
content: " [Score = 2]";
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
||||||
.answer-list.rapid .correct::after {
|
.answer-list.rapid .correct::after {
|
||||||
content: " [Score = 1]";
|
content: " [Score = 1]";
|
||||||
}
|
}
|
||||||
@@ -46,6 +51,7 @@ a, a:link {
|
|||||||
content: " [Score = 1]";
|
content: " [Score = 1]";
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
||||||
.answer-list.rapid .half-correct::after {
|
.answer-list.rapid .half-correct::after {
|
||||||
content: " [Score = 0.5]";
|
content: " [Score = 0.5]";
|
||||||
}
|
}
|
||||||
@@ -94,8 +100,7 @@ a, a:link {
|
|||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.not-flagged {
|
.not-flagged {}
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
button {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -191,15 +196,15 @@ button a {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.marking {
|
.marking {}
|
||||||
}
|
|
||||||
|
|
||||||
#question-mark-list {
|
#question-mark-list {
|
||||||
padding: 20px
|
padding: 20px
|
||||||
}
|
}
|
||||||
|
|
||||||
#full-question-list {
|
#full-question-list {
|
||||||
counter-reset: question-list; /* Set a counter named 'section', and its initial value is 0. */
|
counter-reset: question-list;
|
||||||
|
/* Set a counter named 'section', and its initial value is 0. */
|
||||||
}
|
}
|
||||||
|
|
||||||
#full-question-list li {
|
#full-question-list li {
|
||||||
@@ -281,7 +286,8 @@ button a {
|
|||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
}
|
}
|
||||||
|
|
||||||
select, input {
|
select,
|
||||||
|
input {
|
||||||
background-color: #05668d;
|
background-color: #05668d;
|
||||||
color: white;
|
color: white;
|
||||||
border: none;
|
border: none;
|
||||||
@@ -468,7 +474,8 @@ td.user-answer-score-1.rapid-ans::after {
|
|||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
||||||
.selector .selector-available h2, .selector .selector-chosen h2 {
|
.selector .selector-available h2,
|
||||||
|
.selector .selector-chosen h2 {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
border: none;
|
border: none;
|
||||||
/* border-color: #05668d; */
|
/* border-color: #05668d; */
|
||||||
@@ -477,13 +484,15 @@ td.user-answer-score-1.rapid-ans::after {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.selector .selector-available select, .selector .selector-chosen select {
|
.selector .selector-available select,
|
||||||
|
.selector .selector-chosen select {
|
||||||
border-color: #05668d;
|
border-color: #05668d;
|
||||||
}
|
}
|
||||||
|
|
||||||
#id_laterality {
|
#id_laterality {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#id_laterality li {
|
#id_laterality li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
@@ -497,7 +506,8 @@ td.user-answer-score-1.rapid-ans::after {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.multi-image-block, .series-block {
|
.multi-image-block,
|
||||||
|
.series-block {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -529,19 +539,23 @@ td.user-answer-score-1.rapid-ans::after {
|
|||||||
color: darkslategray;
|
color: darkslategray;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.longs .user-answer-score-4, table.longs .user-answer-score-4\.5 {
|
table.longs .user-answer-score-4,
|
||||||
|
table.longs .user-answer-score-4\.5 {
|
||||||
color: red
|
color: red
|
||||||
}
|
}
|
||||||
|
|
||||||
table.longs .user-answer-score-5\.0, table.longs .user-answer-score-5\.5 {
|
table.longs .user-answer-score-5\.0,
|
||||||
|
table.longs .user-answer-score-5\.5 {
|
||||||
color: yellow
|
color: yellow
|
||||||
}
|
}
|
||||||
|
|
||||||
table.longs .user-answer-score-6\.0, table.longs .user-answer-score-6\.5 {
|
table.longs .user-answer-score-6\.0,
|
||||||
|
table.longs .user-answer-score-6\.5 {
|
||||||
color: yellowgreen
|
color: yellowgreen
|
||||||
}
|
}
|
||||||
|
|
||||||
table.longs .user-answer-score-7\.0, table.longs .user-answer-score-7\.5 {
|
table.longs .user-answer-score-7\.0,
|
||||||
|
table.longs .user-answer-score-7\.5 {
|
||||||
color: green
|
color: green
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -563,13 +577,15 @@ td.user-answer-score-1.rapid-ans::after {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea, input {
|
textarea,
|
||||||
|
input {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
background-color: #343a40;
|
background-color: #343a40;
|
||||||
color: lightgray;
|
color: lightgray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.exam-list li, #full-question-list li {
|
.exam-list li,
|
||||||
|
#full-question-list li {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -588,3 +604,14 @@ td.user-answer-score-1.rapid-ans::after {
|
|||||||
.flex-col-4 {
|
.flex-col-4 {
|
||||||
flex: 4;
|
flex: 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.score-answer-list {
|
||||||
|
width: 55%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.question-display-block {
|
||||||
|
position: fixed;
|
||||||
|
right: 0px;
|
||||||
|
top: 30px;
|
||||||
|
width: 40%;
|
||||||
|
}
|
||||||
@@ -11,13 +11,13 @@
|
|||||||
<h2>Exam: {{ exam.name }}</h2>
|
<h2>Exam: {{ exam.name }}</h2>
|
||||||
<h3>Candidate: {{ cid }}</h3>
|
<h3>Candidate: {{ cid }}</h3>
|
||||||
Answers:
|
Answers:
|
||||||
<ul>{% for ans, score, correct_answer in answers_and_marks %}
|
<ul class="score-answer-list">{% for ans, score, correct_answer in answers_and_marks %}
|
||||||
<li class="user-answer-li">Question {{forloop.counter}} - Correct answer: <span
|
<li class="user-answer-li">Question {{forloop.counter}} - Correct answer: <span
|
||||||
class="correct-answer">{{ correct_answer }}</span></li>
|
class="correct-answer">{{ correct_answer }}</span></li>
|
||||||
<span class="user-answer-score user-answer-score-{{score}} rapid-ans">
|
<span class="user-answer-score user-answer-score-{{score}} rapid-ans">
|
||||||
<pre>{{ans}}</pre> ({{score}})
|
<pre>{{ans}}</pre> ({{score}})
|
||||||
</span>
|
</span>
|
||||||
<span class="view-question-link" data-qn="{{forloop.counter0}}">View</span>
|
<span class="view-question-link" data-qn={{forloop.counter0}}>View</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<br /> Total mark: {{ total_score }} / {{max_score}}
|
<br /> Total mark: {{ total_score }} / {{max_score}}
|
||||||
@@ -52,7 +52,8 @@
|
|||||||
|
|
||||||
window.dispatchEvent(event);
|
window.dispatchEvent(event);
|
||||||
$(".question-display-block .answers").empty().append(data.answers.toString());
|
$(".question-display-block .answers").empty().append(data.answers.toString());
|
||||||
$(".question-display-block .question-number").empty().append(question_number+1);
|
n = question_number + 1
|
||||||
|
$(".question-display-block .question-number").empty().append(n);
|
||||||
// show some message according to the response.
|
// show some message according to the response.
|
||||||
// For eg. A message box showing that the status has been changed
|
// For eg. A message box showing that the status has been changed
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user