mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-58699-master' of git://github.com/damyon/moodle
This commit is contained in:
commit
29adfbc3c8
@ -840,6 +840,9 @@ class mod_quiz_renderer extends plugin_renderer_base {
|
||||
|
||||
$button = new single_button($url, $buttontext);
|
||||
$button->class .= ' quizstartbuttondiv';
|
||||
if ($popuprequired) {
|
||||
$button->class .= ' quizsecuremoderequired';
|
||||
}
|
||||
|
||||
$popupjsoptions = null;
|
||||
if ($popuprequired && $popupoptions) {
|
||||
|
@ -360,11 +360,13 @@ table.quizattemptsummary .noreviewmessage {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
.quizstartbuttondiv.quizsecuremoderequired input {
|
||||
.quizstartbuttondiv.quizsecuremoderequired input,
|
||||
.quizstartbuttondiv.quizsecuremoderequired button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.jsenabled .quizstartbuttondiv.quizsecuremoderequired input {
|
||||
.jsenabled .quizstartbuttondiv.quizsecuremoderequired input,
|
||||
.jsenabled .quizstartbuttondiv.quizsecuremoderequired button {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user