* Changed theme to material.css

* Changed Grid to SyncFusion in CO details and SO details
* Changed Main template to Syncfusion
This commit is contained in:
2025-02-04 20:39:53 +01:00
parent 8146ee189e
commit 695478fbd1
7 changed files with 63637 additions and 318 deletions

View File

@@ -5,27 +5,18 @@
@inherits LayoutComponentBase
<div class="page">
<Sidebar @ref="_sidebar"
IconName="IconName.App"
Title="FA Krosno Manager">
<SfMenu Items="@MenuItems" Orientation="Orientation.Vertical">
<MenuEvents TValue="MenuItem" ItemSelected="OnMenuItemSelected"></MenuEvents>
<MenuFieldSettings Text="Text" Children="Children"></MenuFieldSettings>
</SfMenu>
</Sidebar>
@* <SfSidebar Width="300px" IsOpen="true" Type="SidebarType.Push" Position="SidebarPosition.Left"> *@
@* <ChildContent> *@
@* <div class="top-row"> *@
@* <h3 class="sidebar-title">FA Krosno Manager</h3> *@
@* </div> *@
@* <SfMenu Items="@MenuItems" Orientation="Orientation.Vertical"> *@
@* <MenuEvents TValue="MenuItem" ItemSelected="OnMenuItemSelected"></MenuEvents> *@
@* <MenuFieldSettings Text="Text" Children="Children"></MenuFieldSettings> *@
@* </SfMenu> *@
@* </ChildContent> *@
@* </SfSidebar> *@
<SfSidebar Width="240px" IsOpen="true" Type="SidebarType.Push" Position="SidebarPosition.Left">
<ChildContent>
<div class="top-row">
<h5 class="sidebar-title">FA Krosno Manager</h5>
</div>
<SfMenu Items="@MenuItems" Orientation="Orientation.Vertical">
<MenuEvents TValue="MenuItem" ItemSelected="OnMenuItemSelected"></MenuEvents>
<MenuFieldSettings Text="Text" Children="Children" ></MenuFieldSettings>
</SfMenu>
</ChildContent>
</SfSidebar>
<main>
<div class="bb-top-row px-4 d-flex justify-content-end">
@@ -47,7 +38,7 @@
{
MenuItems = new List<MenuItem>
{
new() { Text = "Zamówienia DELFOR", Url = "/", IconCss = "fas fa-home" },
new() { Text = "Zamówienia DELFOR", Url = "/", IconCss = "fas fa-home", HtmlAttributes = new Dictionary<string, object> { { "style", "width: 240px;" }}},
new() { Text = "Zamówienia klienta EDI", Url = "/EdiCustomerOrders", IconCss = "fas fa-database" },
new() { Text = "Zamówienia klienta", Url = "/CustomerOrders", IconCss = "fas fa-database" }
};