fc0b577627a92ff86a07feb50fc970400c560c2c
[moodle.git] / theme / boost / templates / header.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     Page header.
19 }}
20 <header id="page-header" class="row">
21     <div class="col-12 pt-3 pb-3">
22         <div class="card">
23             <div class="card-body">
24                 <div class="d-flex">
25                     <div class="mr-auto">
26                     {{{contextheader}}}
27                     </div>
29                     {{#settingsmenu}}
30                     <div class="context-header-settings-menu">
31                         {{{settingsmenu}}}
32                     </div>
33                     {{/settingsmenu}}
34                 </div>
35                 <div class="d-flex flex-wrap">
36                     {{#hasnavbar}}
37                     <div id="page-navbar">
38                         {{{navbar}}}
39                     </div>
40                     {{/hasnavbar}}
41                     <div class="ml-auto d-flex">
42                         {{{pageheadingbutton}}}
43                     </div>
44                     <div id="course-header">
45                         {{{courseheader}}}
46                     </div>
47                 </div>
48             </div>
49         </div>
50     </div>
51 </header>