Sindbad~EG File Manager
{{!
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,
"enablezoomshowtext": true,
"navigationmenu": "",
"othermenucontent": "",
"pageheadingbutton": "",
"responsiveheader": "d-none d-lg-block",
"showcog": true,
"toolsmenu": ""
}
}}
<div id="main-navbar" class="{{responsiveheader}}">
<div class="container">
<div class="row">
<div class="col-12 p-0">
<div class="navbar navbar-expand btco-hover-menu">
<nav aria-label="{{#str}}sitelinkslabel, theme_adaptable{{/str}}">
<ul class="navbar-nav">
{{{navigationmenu}}}
{{{toolsmenu}}}
</ul>
</nav>
<ul class="navbar-nav ml-auto d-flex flex-wrap">
{{#showcog}}
{{#coursemenucontent}}
<li class="nav-item mr-2">
<div class="context-header-settings-menu">
{{{coursemenucontent}}}
</div>
</li>
{{/coursemenucontent}}
{{#othermenucontent}}
<li class="nav-item mr-2">
<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}}">
<i class="fa fa-expand fa-lg" aria-hidden="true"></i>
{{#enablezoomshowtext}}
<span class="zoomdesc">{{#str}}fullscreen, theme_adaptable{{/str}}</span>
{{/enablezoomshowtext}}
</a>
</li>
<li class="nav-item mx-0 sbll">
<a class="nav-link moodlewidth" href="javascript:void(0);" title="{{#str}}standardview, theme_adaptable{{/str}}">
<i class="fa fa-compress fa-lg" aria-hidden="true"></i>
{{#enablezoomshowtext}}
<span class="zoomdesc">{{#str}}standardview, theme_adaptable{{/str}}</span>
{{/enablezoomshowtext}}
</a>
</li>
{{/enablezoom}}
</ul>
</div>
</div>
</div>
</div>
</div>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists