{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    @template theme_adaptable/headernavbar

    Header style one.

    Example context (json):
    {
        "coursemenucontent": "",
        "enablezoom": true,
        "navbardisplayicons": true,
        "navbardisplaytitles": true,
        "navigationmenu": "",
        "othermenucontent": "",
        "pageheadingbutton": "",
        "responsiveheader": "d-none d-lg-block",
        "showcog": true
    }
}}
<div id="main-navbar" class="{{responsiveheader}}">
    <div class="container">
        <div class="row">
            <div class="col-12">
                <div class="navbar navbar-expand btco-hover-menu">
                    <nav aria-label="{{#str}}sitelinkslabel, theme_adaptable{{/str}}">
                        <ul class="navbar-nav">
                            {{{navigationmenu}}}
                        </ul>
                    </nav>

                    <ul class="navbar-nav ms-auto d-flex flex-wrap">
                        {{#showcog}}
                        {{#coursemenucontent}}
                        <li class="nav-item">
                            <div class="context-header-settings-menu">
                                {{{coursemenucontent}}}
                            </div>
                        </li>
                        {{/coursemenucontent}}

                        {{#othermenucontent}}
                        <li class="nav-item">
                            <div id="region-main-settings-menu" class="region-main-settings-menu">
                                {{{othermenucontent}}}
                            </div>
                        </li>
                        {{/othermenucontent}}
                        {{/showcog}}

                        {{#pageheadingbutton}}
                        <li id="editingbutton" class="nav-item mx-0 my-auto">
                            {{{pageheadingbutton}}}
                        </li>
                        {{/pageheadingbutton}}

                        {{#enablezoom}}
                        <li class="nav-item mx-0 hbll">
                            <a class="nav-link moodlewidth" href="javascript:void(0);" title="{{#str}}fullscreen, theme_adaptable{{/str}}">
                                {{#navbardisplayicons}}
                                <i class="afaicon fa fa-expand fa-lg" aria-hidden="true"></i>
                                {{/navbardisplayicons}}
                                {{#navbardisplaytitles}}
                                <span class="zoomdesc">{{#str}}fullscreen, theme_adaptable{{/str}}</span>
                                {{/navbardisplaytitles}}
                            </a>
                        </li>
                        <li class="nav-item mx-0 sbll">
                            <a class="nav-link moodlewidth" href="javascript:void(0);" title="{{#str}}standardview, theme_adaptable{{/str}}">
                                {{#navbardisplayicons}}
                                <i class="afaicon fa fa-compress fa-lg" aria-hidden="true"></i>
                                {{/navbardisplayicons}}
                                {{#navbardisplaytitles}}
                                <span class="zoomdesc">{{#str}}standardview, theme_adaptable{{/str}}</span>
                                {{/navbardisplaytitles}}
                            </a>
                        </li>
                        {{/enablezoom}}
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
