Skip to content

Commit df15f52

Browse files
committed
fix indention
1 parent c4bd002 commit df15f52

10 files changed

+31
-32
lines changed

styles.css

+25-22
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727

2828
#page-mod-offlinequiz-attempt #page .controls,
2929
#page-mod-offlinequiz-summary #page .controls,
30-
#page-mod-offlinequiz-review #page .controls {text-align: center;margin: 8px auto;}
30+
#page-mod-offlinequiz-review #page .controls {
31+
text-align: center;
32+
margin: 8px auto;
33+
}
3134

3235
#page-mod-offlinequiz-attempt .submitbtns,
3336
#page-mod-offlinequiz-review .submitbtns {clear: left; text-align: left; padding-top: 1.5em;}
@@ -39,7 +42,7 @@
3942
margin-top: 15px;
4043
}
4144
#page-mod-offlinequiz-review div.correct i.icon,
42-
#page-mod-offlinequiz-review div.incorrect i.icon {margin-left: 0.5em;}
45+
#page-mod-offlinequiz-review div.incorrect i.icon {margin-left: 0.5em; }
4346

4447
body.jsenabled .questionflagcheckbox {display: none;}
4548

@@ -229,7 +232,7 @@ table.offlinequizreviewsummary td.cell {padding: 1px 1em 1px 0.5em;text-align: l
229232
#page-mod-offlinequiz-report div.notify { text-align: center; }
230233
#page-mod-offlinequiz-report div.notifynote { background-color: lightYellow; color: #3a3a3a; border: 0}
231234
#page-mod-offlinequiz-report div.backlinkbox { padding-top: 10px; }
232-
#page-mod-offlinequiz-report table.errorpages td.checkbox input { margin-left: 0px; float: none; }
235+
#page-mod-offlinequiz-report table.errorpages td.checkbox input { margin-left: 0; float: none; }
233236
#page-mod-offlinequiz-report .boxaligncenter {margin: 0 auto;}
234237
#page-mod-offlinequiz-print-html .pagebreak {page-break-after: always;}
235238

@@ -409,7 +412,7 @@ table.offlinequizreviewsummary td.cell {padding: 1px 1em 1px 0.5em;text-align: l
409412
#overlay{
410413
display: none;
411414
background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.5) 100%);
412-
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(0,0,0,0.65)), color-stop(100%,rgba(0,0,0,0.5)));
415+
background: -webkit-gradient(radial, center center, 0, center center, 100%, color-stop(0%,rgba(0,0,0,0.65)), color-stop(100%,rgba(0,0,0,0.5)));
413416
background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.5) 100%);
414417
background: -o-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.5) 100%);
415418
background: -ms-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.5) 100%);
@@ -419,8 +422,8 @@ table.offlinequizreviewsummary td.cell {padding: 1px 1em 1px 0.5em;text-align: l
419422
height: 100%;
420423
position: fixed;
421424
z-index: 2;
422-
top: 0px;
423-
left: 0px;
425+
top: 0;
426+
left: 0;
424427
}
425428
input#showviewbutton {
426429
display: none;
@@ -636,7 +639,7 @@ input#showviewbutton {
636639
padding-left: 0.3em;
637640
padding-top: 0.2em;
638641
position: absolute;
639-
left: 0px;
642+
left: 0;
640643
}
641644

642645
#page-mod-offlinequiz-edit .section .activity .editing_move {
@@ -684,13 +687,13 @@ input#showviewbutton {
684687
}
685688

686689
#page-mod-offlinequiz-edit div.rpcontainerclass input {
687-
margin-left: 0em;
690+
margin-left: 0;
688691
margin-top: 0.2em;
689692
}
690693

691694
#page-mod-offlinequiz-edit div.groupchoice {
692695
float: left;
693-
margin: 0.5em 1.5em 0.7em 0em;
696+
margin: 0.5em 1.5em 0.7em 0;
694697
}
695698

696699
#page-mod-offlinequiz-edit .clear {
@@ -700,13 +703,13 @@ input#showviewbutton {
700703

701704
#page-mod-offlinequiz-edit .statusbar {
702705
float: left;
703-
margin: 0.6em 0em 0.6em 0em;
706+
margin: 0.6em 0 0.6em 0;
704707
}
705708

706709
#page-mod-offlinequiz-edit .maxgrade {
707710
display: block;
708711
float: right;
709-
margin: -2.5em 1em 0em 1em;
712+
margin: -2.5em 1em 0 1em;
710713
padding: .2em;
711714
}
712715
#page-mod-offlinequiz-edit .maxgrade {
@@ -719,19 +722,19 @@ input#showviewbutton {
719722
}
720723

721724
#page-mod-offlinequiz-edit .edit_grades .maxgrade {
722-
margin: -5em 1em 0em 1em;
723-
top: 0em;
725+
margin: -5em 1em 0 1em;
726+
top: 0;
724727
}
725728
#page-mod-offlinequiz-edit .totalpoints {
726729
display: block;
727730
float: right;
728-
margin: -3.5em 1em 0em 1em;
731+
margin: -3.5em 1em 0 1em;
729732
padding: .2em;
730733
}
731734
#page-mod-offlinequiz-edit .edit_grades .totalpoints {
732735
display: block;
733736
float: right;
734-
margin: -2em 1em 0em 1em;
737+
margin: -2em 1em 0 1em;
735738
padding: .2em;
736739
}
737740

@@ -754,7 +757,7 @@ input#showviewbutton {
754757
float: right;
755758
}
756759
#page-mod-offlinequiz-edit div.removeselected input {
757-
margin-left: 0px;
760+
margin-left: 0;
758761
}
759762

760763
#page-mod-offlinequiz-edit div.randomquestionformforpopup input[type="checkbox"] {
@@ -807,8 +810,8 @@ input#showviewbutton {
807810
}
808811

809812
#page-mod-offlinequiz-edit .section .activity.forgrading .actions input.gradeinput {
810-
margin: 0px;
811-
padding: 0px 2px 0px 0px;
813+
margin: 0;
814+
padding: 0 2px 0 0;
812815
text-align: right;
813816
vertical-align: top;
814817
}
@@ -913,9 +916,9 @@ input#showviewbutton {
913916
margin-top: 0.3em;
914917
}
915918
#page-mod-offlinequiz-edit div.questionbank .categoryquestionscontainer,
916-
.questionbank .categorysortopotionscontainer,
917-
.questionbank .categorypagingbarcontainer,
918-
.questionbank .categoryselectallcontainer {
919+
#page-mod-offlinequiz-edit .questionbank .categorysortopotionscontainer,
920+
#page-mod-offlinequiz-edit .questionbank .categorypagingbarcontainer,
921+
#page-mod-offlinequiz-edit .questionbank .categoryselectallcontainer {
919922
background-color: #FFF;
920923
}
921924

@@ -926,7 +929,7 @@ input#showviewbutton {
926929

927930
@media only screen and (max-width: 62em) {
928931
#page-mod-offlinequiz-edit .totalpoints {
929-
margin: -2em 1em 0em 1em;
932+
margin: -2em 1em 0 1em;
930933
}
931934
#page-mod-offlinequiz-edit .maxgrade {
932935
margin-bottom: 1.5em;

tests/behat/adminsetting_studycodefield.feature

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Feature: Within a moodle instance, an administrator should be able to set the va
44
As an admin
55
I need to default values for offline quiz settings.
66

7-
87
Background:
98
Given the following "users" exist:
109
| username | firstname | lastname | email |
@@ -33,4 +32,3 @@ Feature: Within a moodle instance, an administrator should be able to set the va
3332
And I navigate to "Edit settings" in current page administration
3433
And I expand all fieldsets
3534
Then the field "Print study code field on question sheet" matches value "1"
36-

tests/behat/createforms_docx.feature

-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ Feature: Within a moodle instance, a teacher should be able to create the questi
4141
Then I should see "Question form for group A (DOCX)"
4242
Then I should see "Answer form for group A"
4343
Then I should see "Correction form for group A"
44-

tests/behat/createforms_latex.feature

-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ Feature: Within a moodle instance, a teacher should be able to create the questi
4141
Then I should see "Question form for group A (LATEX)"
4242
Then I should see "Answer form for group A"
4343
Then I should see "Correction form for group A"
44-

tests/behat/createforms_pdf.feature

-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ Feature: Within a moodle instance, a teacher should be able to create all forms
4040
Then I should see "Question form for group A"
4141
Then I should see "Answer form for group A"
4242
Then I should see "Correction form for group A"
43-

tests/behat/instance_create.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: In a course, a teacher should be able to add a new offlinequiz
88
Given the following "users" exist:
99
| username | firstname | lastname | email |
1010
| teacher1 | Teacher | 1 | teacher1@teacher.com |
11-
And the following "courses" exist:
11+
And the following "courses" exist:
1212
| fullname | shortname | category | groupmode |
1313
| Course 1 | C1 | 0 | 0|
1414
And the following "course enrolments" exist:

tests/behat/instance_create_requireddescription.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Within a moodle instance, an administrator should be able to set the fi
88
Given the following "users" exist:
99
| username | firstname | lastname | email |
1010
| teacher1 | Teacher | 1 | [email protected] |
11-
And the following "courses" exist:
11+
And the following "courses" exist:
1212
| fullname | shortname | category | groupmode |
1313
| Course 1 | C1 | 0 | 0|
1414
And the following "course enrolments" exist:

tests/behat/instance_setting_numberofgroups.feature

-1
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,3 @@ Feature: Within a moodle instance, a teacher should be able to create all forms
8787
Then I should see "Correction form for group D"
8888
Then I should see "Correction form for group E"
8989
Then I should see "Correction form for group F"
90-

yui/src/toolboxes/js/section.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ Y.extend(SECTIONTOOLBOX, TOOLBOX, {
8989
var data = {
9090
'class' : 'section',
9191
'field' : 'visible',
92-
'id' : Y.Moodle.core_course.util.section.getId(section.ancestor(M.mod_offlinequiz.edit.get_section_wrapper(Y), true)),
92+
'id' : Y.Moodle.core_course.util.section.getId(
93+
section.ancestor(M.mod_offlinequiz.edit.get_section_wrapper(Y), true)),
9394
'value' : value
9495
};
9596
var lightbox = M.util.add_lightbox(Y, section);

yui/src/toolboxes/js/toolbox.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ Y.extend(TOOLBOX, Y.Base, {
128128
Y.one(SELECTOR.SUMMARKS).setHTML(responsetext.newsummarks);
129129
}
130130
if (responsetext.hasOwnProperty('newnumquestions')) {
131-
Y.one(SELECTOR.NUMQUESTIONS).setHTML(M.util.get_string('numquestionsx', 'offlinequiz', responsetext.newnumquestions));
131+
Y.one(SELECTOR.NUMQUESTIONS).setHTML(
132+
M.util.get_string('numquestionsx', 'offlinequiz', responsetext.newnumquestions));
132133
}
133134
if (success_callback) {
134135
Y.bind(success_callback, this, responsetext)();

0 commit comments

Comments
 (0)