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/>.
18 @template theme_boost/navbar-secure
20 This template renders the top navbar.
22 Example context (json):
25 "should_display_navbar_logo": "true",
26 "get_compact_logo_url": "http://example.com/image.png"
28 "sitename": "Moodle Site"
31 <nav class="navbar fixed-top navbar-light bg-white navbar-expand" aria-label="{{#str}}sitemenubar, admin{{/str}}">
32 <div class="navbar-brand d-flex align-items-center m-0 p-0 aabtn">
33 {{# output.should_display_navbar_logo }}
34 <img src="{{output.get_compact_logo_url}}" class="logo mr-1" alt="{{sitename}}">
35 {{/ output.should_display_navbar_logo }}
39 {{# output.secure_layout_language_menu }}
40 <ul class="nav navbar-nav language-menu my-1">
43 {{/ output.secure_layout_language_menu }}
45 {{# output.secure_layout_login_info }}
46 <div class="ml-auto nav-link">
49 {{/ output.secure_layout_login_info }}