MDL-62142 navigation: accessibility
[moodle.git] / theme / boost / templates / navbar-secure.mustache
CommitLineData
5d03ab36
DW
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{{!
3ec69c2e 18 secure navbar.
5d03ab36 19}}
9df03b19 20<nav class="fixed-top navbar navbar-light bg-white navbar-expand moodle-has-zindex" aria-label="{{#str}}navigation{{/str}}">
5d03ab36 21
3ec69c2e 22 <a href="{{{ config.wwwroot }}}" class="navbar-brand {{# output.should_display_navbar_logo }}has-logo{{/ output.should_display_navbar_logo }}
5d03ab36 23 {{^ output.should_display_navbar_logo }}
3ec69c2e 24 d-none d-sm-inline
5d03ab36
DW
25 {{/ output.should_display_navbar_logo }}
26 ">
5d03ab36 27 {{# output.should_display_navbar_logo }}
3ec69c2e 28 <span class="logo d-none d-sm-inline">
5d03ab36
DW
29 <img src="{{output.get_compact_logo_url}}" alt="{{sitename}}">
30 </span>
31 {{/ output.should_display_navbar_logo }}
3ec69c2e
BB
32 <span class="site-name d-none d-md-inline">{{{ sitename }}}</span>
33 </a>
5d03ab36 34
3ec69c2e
BB
35 <ul class="nav navbar-nav ml-auto">
36 <li class="nav-item">
37 {{{ output.secure_login_info }}}
38 </li>
39 </ul>
9df03b19 40</nav>