MDL-62142 navigation: accessibility
[moodle.git] / theme / boost / templates / login.mustache
CommitLineData
6182ec89
DP
1{{!
2 This file is part of Moodle - http://moodle.org/
3
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.
8
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.
13
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/>.
16}}
17{{!
18 @template theme_boost/login
19
20 Login page template
21
22 Example context (json):
23 {
24 "output": {
25 "doctype": "<!DOCTYPE html>",
26 "page_title": "Login page",
27 "favicon": "favicon.ico",
28 "main_content": "<h1>Headers keep HTML validators happy</h1>"
29 }
30 }
31}}
3ec69c2e 32{{> theme_boost/head }}
99061152
DW
33
34<body {{{ bodyattributes }}}>
35
36<div id="page-wrapper">
37
38 {{{ output.standard_top_of_body_html }}}
39
3ec69c2e 40 <div id="page" class="container-fluid mt-0">
99061152 41 <div id="page-content" class="row">
3ec69c2e 42 <div id="region-main-box" class="col-12">
9df03b19 43 <section id="region-main" class="col-12" aria-label="{{#str}}content{{/str}}">
99061152
DW
44 {{{ output.course_content_header }}}
45 {{{ output.main_content }}}
46 {{{ output.course_content_footer }}}
47 </section>
48 </div>
49 </div>
50 </div>
c8ff3ce4
BB
51 <footer id="page-footer" class="py-3 bg-dark text-light">
52 <div class="container">
53 <div id="course-footer">{{{ output.course_footer }}}</div>
99061152 54
c8ff3ce4
BB
55 {{# output.page_doc_link }}
56 <p class="helplink">{{{ output.page_doc_link }}}</p>
57 {{/ output.page_doc_link }}
99061152 58
c8ff3ce4
BB
59 {{{ output.login_info }}}
60 {{{ output.home_link }}}
61 {{{ output.standard_footer_html }}}
62 {{{ output.standard_end_of_body_html }}}
63 </div>
64 </footer>
65</div>
99061152
DW
66
67</body>
68</html>
16732d06
DP
69{{#js}}
70require(['theme_boost/loader']);
71{{/js}}