MDL-55805 theme_noname: Footer adjusments and made sticky
[moodle.git] / theme / noname / templates / columns1.mustache
1 {{{ output.doctype }}}
2 <html {{{ output.htmlattributes }}}>
3 <head>
4     <title>{{ output.page_title }}</title>
5     <link rel="shortcut icon" href="{{{ output.favicon }}}" />
6     {{{ output.standard_head_html }}}
7     <meta name="viewport" content="width=device-width, initial-scale=1.0">
8 </head>
10 <body {{{ output.body_attributes }}}>
12 <div id="page-wrapper">
14     {{{ output.standard_top_of_body_html }}}
16     <header role="banner" class="navbar navbar-light bg-faded navbar-static-top moodle-has-zindex">
17         <div class="clearfix">
18             <button class="navbar-toggler pull-xs-right hidden-sm-up" data-toggle="collapse" data-target="#bd-main-mav">☰<span class="sr-only">{{#str}}expand{{/str}}</span></button>
19         </div>
21         <a href="{{{ config.wwwroot }}}" class="navbar-brand">
22             {{# output.should_display_navbar_logo }}
23                 <div class="logo">
24                     <img src="{{output.get_compact_logo_url}}" alt={{#quote}}{{sitename}}{{/quote}}>
25                 </div>
26             {{/ output.should_display_navbar_logo }}
27             <div class="site-name">{{{ sitename }}}</div>
28         </a>
30         <!-- user_menu -->
31         {{{ output.user_menu }}}
33         <div class="collapse navbar-toggleable-xs" id="bd-main-nav">
34             <nav class="nav navbar-nav">
35                 <!-- search_box -->
36                 {{{ output.search_box }}}
37                 <!-- custom_menu -->
38                 {{{ output.custom_menu }}}
39                 <!-- page_heading_menu -->
40                 {{{ output.page_heading_menu }}}
41             </div>
42         </nav>
43     </header>
45     <div id="page" class="container-fluid">
46         {{{ output.full_header }}}
48         <div id="page-content" class="row">
49             <div id="region-main-box" class="col-xs-12">
50                 <div class="row">
51                     <section id="region-main" class="col-xs-12">
52                         {{{ output.course_content_header }}}
53                         {{{ output.main_content }}}
54                         {{{ output.course_content_footer }}}
55                     </section>
56                 </div>
57             </div>
58         </div>
59     </div>
60 </div>
61 <footer id="page-footer" class="p-y-1">
62     <div class="container-fluid">
63         <div id="course-footer">{{{ output.course_footer }}}</div>
65         {{# output.page_doc_link }}
66             <p class="helplink">{{{ output.page_doc_link }}}</p>
67         {{/ output.page_doc_link }}
69         {{{ output.login_info }}}
70         {{{ output.home_link }}}
71         {{{ output.standard_footer_html }}}
73         {{{ output.standard_end_of_body_html }}}
74     </div>
75 </footer>
77 </body>
78 </html>
79 {{#js}}
80 require(['theme_noname/loader'], function() {});
81 {{/js}}