2 // This file is part of Moodle - http://moodle.org/
4 // Moodle is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
9 // Moodle is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 * Moodle Generic plain page
20 * This is used for various pages, usually errors, early in the Moodle
21 * bootstrap. It can be safetly customized by editing this file directly
22 * but it MUST NOT contain any Moodle resources such as theme files generated
23 * by php, it can only contain references to static css and images, and as a
24 * precaution its recommended that everything is inlined rather than
25 * references. This is why this file is located here as it cannot be inside
29 * @copyright 2020 Brendan Heywood <brendan@catalyst-au.net>
30 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
36 <html
<?php
echo $htmllang ?
>>
38 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8" />
40 <title
><?php
echo $title ?
></title
>
43 // This is a very small modified subset of the bootstrap / boost css classes.
47 font
-family
: -apple
-system
,BlinkMacSystemFont
,"Segoe UI",Roboto
,"Helvetica Neue",Arial
,"Noto Sans",sans
-serif
,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
53 background
-color
: #f2f2f2;
64 border
: 1px solid
rgba(0,0,0,.125);
65 padding
: 1rem
1.25rem
1.25rem
;
66 background
-color
: #fff;
76 background
-color
: #f6d9d8;
77 border
-color
: #f3c9c8;
78 padding
: .75rem
1.25rem
;
84 <div id
="region-main">
85 <h1
><?php
echo $title ?
></h1
>
86 <?php
echo $content ?
>