MDL-56192 theme_bootstrapbase: Properly display theme_boost default tab

This commit is contained in:
Frédéric Massart 2016-09-29 13:29:52 +02:00 committed by Frédéric Massart
parent ddd8dc0d1b
commit f1ba3b0a52

View File

@ -0,0 +1,31 @@
{{!
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/>.
}}
<ul class="nav nav-tabs">
{{#tabs}}
<li class="{{#active}}active{{/active}}">
<a href="#{{name}}" data-toggle="tab" role="tab">{{displayname}}</a>
</li>
{{/tabs}}
</ul>
<div class="tab-content">
{{#tabs}}
<div class="tab-pane {{#active}}active{{/active}}" id="{{name}}" role="tabpanel">
{{{html}}}
</div>
{{/tabs}}
</div>