update news & events
This commit is contained in:
1
TWASys-App/Views/Partial/Footer.cshtml
Normal file
1
TWASys-App/Views/Partial/Footer.cshtml
Normal file
@ -0,0 +1 @@
|
||||
|
||||
24
TWASys-App/Views/Partial/Header.cshtml
Normal file
24
TWASys-App/Views/Partial/Header.cshtml
Normal file
@ -0,0 +1,24 @@
|
||||
<div class="c-logo">
|
||||
<div class="logo d-f f-c a-i-center">
|
||||
<img src="~/images/logo3.svg" />
|
||||
<span class="mt-1 logo-name">Resort Management</span>
|
||||
</div>
|
||||
<div class="d-b d-x-n hd-close">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 24 24" stroke="#7367f0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="d-block d-xl-none feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
||||
</div>
|
||||
</div>
|
||||
<div class="menu-content">
|
||||
<div class="nav-overlay"></div>
|
||||
<div class="mini-scrollbar">
|
||||
<div class="nav-main d-f f-c">
|
||||
@await Html.PartialAsync("~/Views/Partial/MenuAP.cshtml")
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="m-footer d-f f-c">
|
||||
<span>
|
||||
<b>Copyright<sup>©</sup></b> 2024 ATG Technology
|
||||
</span>
|
||||
<span class="mt-1"><b>Version: </b> 0.0.1a</span>
|
||||
</div>
|
||||
44
TWASys-App/Views/Partial/MenuAP.cshtml
Normal file
44
TWASys-App/Views/Partial/MenuAP.cshtml
Normal file
@ -0,0 +1,44 @@
|
||||
@using AppLibs.Libs
|
||||
@{
|
||||
List<NavItem> t = await WSNavigation.GetListMenu();
|
||||
}
|
||||
|
||||
@foreach (var i in t)
|
||||
{
|
||||
|
||||
@if (i.IsGroup)
|
||||
{
|
||||
<div class="nav-header">
|
||||
@i.Name
|
||||
</div>
|
||||
}
|
||||
else if (i.SubItem == null)
|
||||
{
|
||||
<a class="nav-i d-f" href="@i.Url" app-nav nav-id="@i.ID">
|
||||
<span class="atg atg-@i.Icon mr-2">
|
||||
</span>
|
||||
<span>@i.Name</span>
|
||||
</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="nav-i has-sub d-f f-c" data-dropdown>
|
||||
<a class="nav-i d-f" href="javascript:void(0)">
|
||||
<span class="atg atg-@i.Icon mr-2">
|
||||
</span>
|
||||
<span>@i.Name</span>
|
||||
<div class="more"><span class="atg atg-more"></span></div>
|
||||
</a>
|
||||
|
||||
<div class="sub-item d-f f-c">
|
||||
@foreach (var j in i.SubItem)
|
||||
{
|
||||
<a class="nav-i d-f nonhide" href="@j.Url" app-nav nav-id="@j.ID" nav-sub>
|
||||
<span class="atg atg-circle mr-2"></span>
|
||||
<span>@j.Name</span>
|
||||
</a>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user