CodeLiturgy.Dashboard/BlueWest.Views/Views/Shared/_HeaderMenu.cshtml

23 lines
1018 B
Plaintext

@using BlueWest.Views.Utils
@{
Layout = null;
var menu = LayoutCache.GetDefaultHeaderMenu(ViewData);
}
<div class="q-tabs items-center row no-wrap items-center q-tabs--not-scrollable q-tabs--horizontal q-tabs__arrows--inside">
<div class="q-tabs__content row no-wrap items-center self-stretch hide-scrollbar relative-position q-tabs__content--align-center">
@if (menu is {Count: > 0 })
{
@foreach (var record in menu)
{
<a class="q-tab relative-position self-stretch flex flex-center text-center q-tab--inactive q-focusable q-hoverable cursor-pointer " href="@record.Location">
<div class="q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable column">
<div class="q-tab__label">@record.Name</div>
</div>
<div class="q-tab__indicator absolute-bottom"></div>
</a>
}
}
</div>
</div>