MDL-63223 theme_boost: flexbox for login pagin footer
[moodle.git] / theme / boost / templates / login.mustache
1 {{!
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/>.
16 }}
17 {{!
18     @template theme_boost/login
20     Login page template
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 }}
32 {{> theme_boost/head }}
34 <body {{{ bodyattributes }}}>
36 <div id="page-wrapper">
38     {{{ output.standard_top_of_body_html }}}
40     <div id="page" class="container-fluid mt-0">
41         <div id="page-content" class="row">
42             <div id="region-main-box" class="col-12">
43                 <section id="region-main" class="col-12">
44                     {{{ output.course_content_header }}}
45                     {{{ output.main_content }}}
46                     {{{ output.course_content_footer }}}
47                 </section>
48             </div>
49         </div>
50     </div>
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>
55             {{# output.page_doc_link }}
56                 <p class="helplink">{{{ output.page_doc_link }}}</p>
57             {{/ output.page_doc_link }}
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>
67 </body>
68 </html>
69 {{#js}}
70 require(['theme_boost/loader']);
71 {{/js}}