silverstripe-webpack/app/templates/Includes/Navigation.ss
2019-08-27 22:25:05 +07:00

22 lines
669 B
Scheme

<nav id="{$NavID}" class="navbar navbar-expand-lg navbar-light bg-light dropdown-hover">
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#{$NavID}Content"
aria-controls="{$NavID}Content"
aria-expanded="false"
aria-label="Toggle navigation"
>
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="{$NavID}Content">
<ul class="navbar-nav mr-auto w-100 nav-fill">
<% loop $Navigation %>
<% include NavItem %>
<% end_loop %>
</ul>
</div>
</nav>