Compare commits
No commits in common. "4b5c1e9dec52fcef41ddd039a26bb3697499491f" and "379ca61166d63d73f2fd21315da6a10da9394c0a" have entirely different histories.
4b5c1e9dec
...
379ca61166
|
|
@ -29,10 +29,9 @@
|
||||||
|
|
||||||
<div class="page">
|
<div class="page">
|
||||||
<TiamErrorBoundaryComponent LoggerCategory="AdminLayout" OnError="HandleError">
|
<TiamErrorBoundaryComponent LoggerCategory="AdminLayout" OnError="HandleError">
|
||||||
|
<div class="my-sidebar">
|
||||||
<AdminNavMenu />
|
<AdminNavMenu />
|
||||||
@* <div class="my-sidebar">
|
</div>
|
||||||
<AdminNavMenu />
|
|
||||||
</div> *@
|
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<article class="content">
|
<article class="content">
|
||||||
|
|
|
||||||
|
|
@ -2,39 +2,11 @@
|
||||||
@using AyCode.Interfaces.StorageHandlers;
|
@using AyCode.Interfaces.StorageHandlers;
|
||||||
@inject ISecureStorageHandler SecureStorageHandler
|
@inject ISecureStorageHandler SecureStorageHandler
|
||||||
|
|
||||||
|
<div class="top-row ps-3 navbar navbar-light">
|
||||||
<div class="w-100" style="height:40px; position:fixed;">
|
|
||||||
<DxMenu Title="Tour I Am" ItemsPosition="ItemPosition.End" CollapseItemsToHamburgerMenu="true"
|
|
||||||
Orientation="Orientation"
|
|
||||||
DisplayMode="DisplayMode">
|
|
||||||
<Items>
|
|
||||||
<DxMenuItem NavigateUrl="/" Text="Home" IconCssClass="menu-icon-home menu-icon" />
|
|
||||||
|
|
||||||
<DxMenuItem Text="SysAdmin" IconCssClass="menu-icon-products menu-icon">
|
|
||||||
<Items>
|
|
||||||
<DxMenuItem NavigateUrl="user/sysadmin" Text="Dashboard" />
|
|
||||||
<DxMenuItem NavigateUrl="user/transfers" Text="Transfers" />
|
|
||||||
<DxMenuItem NavigateUrl="user/companies" Text="Companies" />
|
|
||||||
<DxMenuItem NavigateUrl="user/users" Text="Users" />
|
|
||||||
<DxMenuItem NavigateUrl="user/destinations" Text="Destinations" />
|
|
||||||
</Items>
|
|
||||||
</DxMenuItem>
|
|
||||||
<DxMenuItem Text="HotelAdmin" IconCssClass="menu-icon-support menu-icon">
|
|
||||||
<Items>
|
|
||||||
<DxMenuItem NavigateUrl="user/hoteladmin" Text="Dashboard" />
|
|
||||||
<DxMenuItem NavigateUrl="user/createAndManageTransfer" Text="Transfers" />
|
|
||||||
<DxMenuItem NavigateUrl="user/serviceprovider/5453-a87f77787d-khj899" Text="Manage hotel" />
|
|
||||||
</Items>
|
|
||||||
</DxMenuItem>
|
|
||||||
</Items>
|
|
||||||
</DxMenu>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@* <div class="top-row ps-3 navbar navbar-light">
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
<button title="Back button" class="my-back-button" style="display:none" @onclick="NavigateBack">
|
||||||
|
<img src="_content/TIAMSharedUI/images/navbar-toggler.png" width="40" />
|
||||||
|
</button>
|
||||||
<a class="navbar-brand my-navbar-brand" href=""></a>
|
<a class="navbar-brand my-navbar-brand" href=""></a>
|
||||||
<button title="Navigation menu" class="navbar-toggler my-navbar-toggler" @onclick="ToggleNavMenu">
|
<button title="Navigation menu" class="navbar-toggler my-navbar-toggler" @onclick="ToggleNavMenu">
|
||||||
<img src="_content/TIAMSharedUI/images/navbar-toggler.png" width="40" />
|
<img src="_content/TIAMSharedUI/images/navbar-toggler.png" width="40" />
|
||||||
|
|
@ -166,7 +138,7 @@
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</div> *@
|
</div>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
private bool collapseNavMenu = true;
|
private bool collapseNavMenu = true;
|
||||||
|
|
@ -174,9 +146,6 @@
|
||||||
private bool expandHotelAdminNav = false;
|
private bool expandHotelAdminNav = false;
|
||||||
private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null;
|
private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null;
|
||||||
|
|
||||||
MenuDisplayMode DisplayMode { get; set; } = MenuDisplayMode.Auto;
|
|
||||||
Orientation Orientation { get; set; } = Orientation.Horizontal;
|
|
||||||
|
|
||||||
private void ToggleNavMenu()
|
private void ToggleNavMenu()
|
||||||
{
|
{
|
||||||
collapseNavMenu = !collapseNavMenu;
|
collapseNavMenu = !collapseNavMenu;
|
||||||
|
|
|
||||||
|
|
@ -168,29 +168,6 @@ select {
|
||||||
|
|
||||||
/*my DX blazor overrides*/
|
/*my DX blazor overrides*/
|
||||||
|
|
||||||
.menu-icon {
|
|
||||||
width: 1rem;
|
|
||||||
height: 1rem;
|
|
||||||
min-width: 1rem;
|
|
||||||
min-height: 1rem;
|
|
||||||
background-size: contain;
|
|
||||||
mask-repeat: no-repeat;
|
|
||||||
-webkit-mask-repeat: no-repeat;
|
|
||||||
background-position: center center;
|
|
||||||
background-color: currentColor;
|
|
||||||
opacity: 0.7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-icon-home {
|
|
||||||
mask-image: url("_content/TIAMSharedUI/images/icons/home.svg");
|
|
||||||
-webkit-mask-image: url("_content/TIAMSharedUI/images/icons/home.svg");
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-icon-support {
|
|
||||||
mask-image: url("_content/TIAMSharedUI/images/icons/support.svg");
|
|
||||||
-webkit-mask-image: url("_content/TIAMSharedUI/images/icons/support.svg");
|
|
||||||
}
|
|
||||||
|
|
||||||
.dxbl-text-edit.dxbl-disabled {
|
.dxbl-text-edit.dxbl-disabled {
|
||||||
--dxbl-text-edit-disabled-root-bg: transparent;
|
--dxbl-text-edit-disabled-root-bg: transparent;
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue