127 Commits

Author SHA1 Message Date
Bas Brands
d910726704 MDL-66587 mod_quiz: visible quiz timer 2020-09-16 15:21:27 +02:00
Sara Arjona
7e05ece1b3 Merge branch 'MDL-68772-master' of https://github.com/Clyxz/moodle 2020-06-03 13:17:32 +02:00
Martin Hanusch
398f0ae110 MDL-68772 mod_quiz: Navigation overlay fix 2020-06-02 16:50:02 +02:00
Bas Brands
94fd778dbf MDL-68840 mod_quiz: random question in question list css fix 2020-06-02 10:54:54 +02:00
Bas Brands
92bc86e429 MDL-68299 theme_boost: theme updates for accessible zoom
The Moodle UI should be functional in a viewport of 320px by 256px to
meet WCAG 1.4.10

this patch contains improvements to:
-prevent horizontal scrolling
-better wrapping of page header
-message drawer funtional on tiny screens
-remove indenting on courses
-prevent elements overlapping on quiz editing
-better navigation tabs
-fix colour picker
-quiz editing
2020-05-19 10:13:20 +02:00
Adrian Greeve
66a8939518 Merge branch 'MDL-67653' of https://github.com/timhunt/moodle 2020-01-22 11:02:35 +08:00
Tim Hunt
76a49e4a1e MDL-67653 questions: prevent the flag flickering as the page loads 2020-01-10 14:27:42 +00:00
Luca Bösch
d4bca909c2 MDL-67625 quiz: only section titles should be large when editing. 2020-01-09 17:23:20 +01:00
Andrew Nicols
80cb0f6a1f Merge branch 'MDL-66962-master' of https://github.com/lucaboesch/moodle 2019-10-21 14:22:57 +08:00
Luca Bösch
19b1afd146 MDL-66962 questions: Question bank table T title non breaking. 2019-10-21 08:16:05 +02:00
Jake Dallimore
d2982a1c11 Merge branch 'MDL-66930-master' of https://github.com/lucaboesch/moodle 2019-10-21 11:55:00 +08:00
Jake Dallimore
95852a343d Merge branch 'MDL-66960-master' of https://github.com/lucaboesch/moodle 2019-10-21 10:41:10 +08:00
Luca Bösch
55c75f91e9 MDL-66960 questions: Top align all question bank titles exc "select all" 2019-10-18 16:32:43 +02:00
Tim Hunt
701ae1eb4b MDL-66816 question bank: replace row of edit icons with an Edit menu 2019-10-18 14:27:50 +01:00
Luca Bösch
87174e0a92 MDL-66930 quiz: Question type icon size/alignment in Boost and Classic. 2019-10-18 13:54:29 +02:00
Tim Hunt
61cc1e6494 MDL-66553 question bank: show tags and idnumbers in question list 2019-10-11 13:59:26 +01:00
Jun Pataleta
62e72577b5 MDL-65938 mod_quiz: Use new core/checkbox-toggleall
Plus:
* On the attempts report pages, the "Regrade selected attempts"
and "Delete selected attempts" buttons are now only enabled when
there's at least one item selected.
* Behat fixes for quiz edit feature after this patch
2019-07-19 13:14:11 +08:00
Shamim Rezaie
aa6a8b98c6 MDL-65399 mod_quiz: UI should prevent deleting the last slot of section 2019-05-06 18:11:22 +10:00
Mathew May
5cac5fa428 MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
Damyon Wiese
22b8fe5eb7 MDL-64107 questions: Increase highlight contrast
When a question has just been edited, it is highlighted. We need to ensure
the colour contrast of text on background is accessible.
2018-12-17 12:35:26 +08:00
Simey Lameze
62b6e6f20d MDL-63468 mod_quiz: fix stats report visual style 2018-11-19 10:16:16 +08:00
David Monllao
ce37a8cc7e MDL-51089 mod_quiz: Hide first page last node 2017-12-28 10:15:08 +01:00
Luca Bösch
11f2cec1ac MDL-51089 quiz: "Add" menu in edit quiz more keyboard accessible 2017-12-22 09:23:07 +01:00
Eloy Lafuente (stronk7)
dc3f4ac929 Merge branch 'MDL-60750-master' of git://github.com/lameze/moodle 2017-12-19 00:56:14 +01:00
Eloy Lafuente (stronk7)
10d22cceb5 Merge branch 'MDL-56932-master' of git://github.com/lameze/moodle 2017-12-18 11:40:17 +01:00
Simey Lameze
3bf572411a MDL-56932 theme_boost: fix quiz max mark input height 2017-12-13 10:21:17 +08:00
Mathew May
aa6b85d2b7 MDL-57431 mod_quiz: Quiz editing help icon fix 2017-12-12 09:56:05 +08:00
Simey Lameze
97f4556a94 MDL-60750 mod_quiz: only apply form css rules on clean theme 2017-12-11 16:56:06 +08:00
Damyon Wiese
65c52e05d1 MDL-58699 mod_quiz: Require javascript for popup
If any of the access rules require the attempt to open in a new window, assume we
require javascript to attempt the quiz. This makes it harder to bypass the javascript
pseudo security restrictions.
2017-11-07 12:48:21 +08:00
Luca Bösch
57f4e9608d MDL-60535 quiz: question bank button styled 2017-10-24 16:08:17 +01:00
Damyon Wiese
f3432e038e MDL-58552 quiz: keep quiz css in quiz
The selectors introduced by MDL-48771 need to be qualified to prevent them
breaking random pages (like the course page).
2017-04-10 13:51:02 +08:00
Colin Chambers
f37cffb6a5 MDL-48771 quiz edit: delete mulitiple tidy up & Behat tests 2017-04-04 01:53:43 +01:00
Luca Bösch
5d803e5395 MDL-48771 quiz: Select multiple questions to delete
Upon Moodle 2.8 the option to bulk delete all questions of a quiz
disappeared.
This patch adresses this and reintruduces a bulk action button.
Pushing that button shows a Delete and a Cancel button as well as
two Select all / Deselect all triggers and each and every question
gets a checkbox. The UI is slimmed down and other elements (e.g.
'Repaginate' button and so on) are hidden. Questions can be chosen
and deleted by pushing the Delete button. The bulk action button
is disabled when quiz attempts are present, just like the
'Repaginate' button.

TODO: Behat tests are lacking.
2017-04-03 20:11:47 +01:00
Simey Lameze
bea19e0dec MDL-57059 theme_boost: add rule to fix slot number misalignment 2016-11-23 13:37:55 +08:00
Dan Poltawski
aea8eaecde MDL-55168 css: use shorthand colour props when possible 2016-09-30 09:25:24 +01:00
Dan Poltawski
bc33e9bd3f MDL-55168 css: reformat plain css with stylefmt 2016-09-30 09:25:23 +01:00
Frédéric Massart
adbe0fcb70 MDL-55071 mod_quiz: Action menu items were hidden
The CSS rule was too vague and cause the menu items to be
hidden rather than just the first item.
2016-09-27 17:39:12 +02:00
Frederic Massart
c2f12b0d16 MDL-55831 mod_quiz: Fix selectors to handle renderer overrides
Part of MDL-55071
2016-09-23 10:55:16 +01:00
Frederic Massart
ed7844b5f4 MDL-55224 theme_noname: RTL adjustments for auto-flipping era
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Dan Poltawski
f549e4b7e8 MDL-54649 quiz/question: remove uncessary !important uses
They do not seem at all necessary in testing, so probably just legacy
from lack of css understanding when added.
2016-06-05 20:29:13 +01:00
Dan Poltawski
996a1dab8f MDL-54649 quiz/question: fix css lint errors
Mostly the rules were not having any effect so have been removed.

The text-wrap rule was removed rather than corrected because overflow
was clipped with ellipsis anyway.

An exception for !important has been added to mod/quiz/styles.css
because the use in the secure style is by design. But the exception
isn't ideal because it applied to the whole file and csslint doesn't
seem to be very intelligent at appling line rules at a more granular
level at this point in time.
2016-06-03 14:18:57 +01:00
Tim Hunt
de2fec2e9a MDL-46092 bootstrapbase: add OU quiz styling
It is a nicer default to have in Moodle that what we had before.
2016-04-20 15:43:34 +01:00
Tim Hunt
7308acffa0 MDL-53489 quiz editing: fix display of long section headings 2016-03-15 18:35:35 +00:00
Tim Hunt
6d19eb4b23 MDL-52879 quiz editing: allow removal of the last question in a quiz
Even though you are not normally allowed to remove the last question
in a section.
2016-02-09 21:45:13 +00:00
Eloy Lafuente (stronk7)
cf003b48bc Merge branch 'MDL-46091' of git://github.com/timhunt/moodle 2016-01-19 07:32:09 +01:00
Tim Hunt
1f0f413187 MDL-46091 quiz start attempt: rationalise confirmations.
1. Don't show a warning if there are a limited number of attempts, only
   if there is a time limit.
2. Merge that time-limit warning into the same form that is used for
   entering a password, etc.
3. Make that form an JavaScript dialogue when you click the start attempt
   button.

AMOS BEGIN
  MOV ['confirmstarttimelimit', 'mod_quiz'], ['confirmstart', 'quizaccess_timelimit']
AMOS END
2016-01-18 22:12:41 +00:00
Tim Hunt
c67ab86fa9 MDL-52738 quiz: Previous button during attempt review.
This is to be consistent with places like forum and book, where if we
have a next link, we also have a previous link.

At the same time I have amended the links/buttons from 'Previous'/'Next'
to 'Previous page'/'Next page' because I think that is clearer.

Also, on the last page of the quiz, I have changed 'Next' to 'Finish
attempt ...' for consistency with the link in the navigation block.

AMOS BEGIN
 CPY [navigatenext,mod_assignment],[navigatenext,mod_quiz]
 CPY [navigateprevious,mod_assignment],[navigateprevious,mod_quiz]
AMOS END
2016-01-15 14:25:25 +00:00
Alain Benoit
acf543c413 MDL-50911 Quiz: edit settings page not responsive 2015-08-11 09:16:43 -04:00
Tim Hunt
3a1bc53bc2 MDL-50245 quiz: fix CSS of search options in the qbank dialogue 2015-05-14 14:40:44 +01:00
Tim Hunt
377ce9938b MDL-49814 quiz: make question dependency clear in the nav 2015-04-27 13:55:40 +01:00