MDL-55802 theme_noname: Navbar is responsive and better styled
[moodle.git] / theme / noname / templates / core / custom_menu_item.mustache
CommitLineData
f130c411
DW
1{{^divider}}
2{{#haschildren}}
3<span class="dropdown nav-item">
5f18da12 4 <a class="dropdown-toggle nav-link" id="drop-down-{{uniqid}}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">
f130c411
DW
5 {{text}}
6 </a>
7 <div class="dropdown-menu" aria-labelledby="drop-down-{{uniqid}}">
8 {{#children}}
9 {{^divider}}
10 <a class="dropdown-item" href="{{{url}}}" {{#title}}title="{{{title}}}"{{/title}}>{{text}}</a>
11 {{/divider}}
12 {{#divider}}
13 <div class="dropdown-divider"></div>
14 {{/divider}}
15 {{/children}}
16 </div>
17</span>
18{{/haschildren}}
19{{^haschildren}}
20<a class="nav-item nav-link" href="{{{url}}}" {{#title}}title="{{{title}}}"{{/title}}>{{text}}</a>
21{{/haschildren}}
22{{/divider}}