silverstripe-webpack/app/templates/Includes/Navigation.ss

22 lines
669 B
Scheme
Raw Normal View History

2019-08-19 09:56:29 +02:00
<nav id="{$NavID}" class="navbar navbar-expand-lg navbar-light bg-light dropdown-hover">
2018-05-28 14:42:05 +02:00
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#{$NavID}Content"
aria-controls="{$NavID}Content"
2018-05-28 14:42:05 +02:00
aria-expanded="false"
aria-label="Toggle navigation"
>
<i class="fas fa-bars"></i>
2018-05-28 14:42:05 +02:00
</button>
<div class="collapse navbar-collapse" id="{$NavID}Content">
2019-08-27 17:25:05 +02:00
<ul class="navbar-nav mr-auto w-100 nav-fill">
2018-05-28 14:42:05 +02:00
<% loop $Navigation %>
<% include NavItem %>
<% end_loop %>
</ul>
</div>
</nav>