forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-41611 format_singleactivity: Only hide unnecessary elements
- Loading branch information
Frederic Massart
committed
Oct 4, 2013
1 parent
640ef17
commit d9203fb
Showing
4 changed files
with
45 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
/* Hide confusing form elements "Display description on course page" and | ||
"Save and return to course" from module edit form because they | ||
are not applicable in single activity course format */ | ||
body.format-singleactivity.path-mod.pagelayout-admin form.mform #fitem_id_showdescription, | ||
body.format-singleactivity.path-mod.pagelayout-admin form.mform .fitem_actionbuttons#fgroup_id_buttonar #id_submitbutton {display:none;} | ||
|
||
/* In mod_quiz hide "Back to course" button */ | ||
body.format-singleactivity.path-mod-quiz .quizattempt .continuebutton {display:none;} | ||
.format-singleactivity.path-mod-quiz .quizattempt .continuebutton {display:none;} | ||
|
||
body.format-singleactivity .tree_item.orphaned a {color:red;} | ||
.format-singleactivity .tree_item.orphaned a {color:red;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters