2016-11-05 23:15:07 +08:00
|
|
|
@model NavigatorBarModel
|
2016-10-21 16:35:26 +08:00
|
|
|
<aside>
|
2016-11-09 20:29:52 +08:00
|
|
|
<div id="sidebar" class="nav-collapse">
|
2016-10-21 16:35:26 +08:00
|
|
|
<!-- sidebar menu start-->
|
|
|
|
<ul class="sidebar-menu" id="nav-accordion">
|
2016-11-05 23:15:07 +08:00
|
|
|
@foreach (var menu in Model.Navigations)
|
2016-10-21 16:35:26 +08:00
|
|
|
{
|
2016-11-05 23:15:07 +08:00
|
|
|
<li class="sub-menu">
|
2016-11-12 18:22:48 +08:00
|
|
|
<a href="@Url.Content(menu.Url)" class="@menu.Active"><i class="@menu.Icon"></i>@menu.Name</a>
|
2016-11-09 20:29:52 +08:00
|
|
|
@if (menu.Menus.Count() > 0)
|
2016-11-05 23:15:07 +08:00
|
|
|
{
|
|
|
|
@Html.Partial("SubNavigation", menu.Menus)
|
|
|
|
}
|
|
|
|
</li>
|
2016-10-21 16:35:26 +08:00
|
|
|
}
|
|
|
|
</ul>
|
|
|
|
<!-- sidebar menu end-->
|
|
|
|
</div>
|
2016-11-05 23:15:07 +08:00
|
|
|
</aside>
|