diff --git a/OrdersManagement/Components/App.razor b/OrdersManagement/Components/App.razor index 8b82625..bf51599 100644 --- a/OrdersManagement/Components/App.razor +++ b/OrdersManagement/Components/App.razor @@ -9,6 +9,7 @@ + diff --git a/OrdersManagement/Components/Layout/MainLayout.razor b/OrdersManagement/Components/Layout/MainLayout.razor index 12352ce..2f3c64d 100644 --- a/OrdersManagement/Components/Layout/MainLayout.razor +++ b/OrdersManagement/Components/Layout/MainLayout.razor @@ -5,52 +5,86 @@ @inherits LayoutComponentBase
- - - -
- -
- - - - -
-
-
-
- About -
-
-
@Body
-
-
+
+
+
+ + + + + FA Krosno Manager +
+ About +
+
+
+ + + + +
+
+
@Body
+
+
+
@code { - private List MenuItems { get; set; } = new(); - - protected override void OnInitialized() - { - MenuItems = new List - { - new() { Text = "Zamówienia DELFOR", Url = "/", IconCss = "fas fa-home", HtmlAttributes = new Dictionary { { "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" } - }; - } + private List MenuItems { get; set; } = new(); - private void OnMenuItemSelected(MenuEventArgs args) - { - NavigationManager.NavigateTo(args.Item.Url); - } + protected override void OnInitialized() + { + MenuItems = new List + { + new() { Text = "Zamówienia DELFOR", Url = "/", IconCss = "fas fa-home", HtmlAttributes = new Dictionary { { "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" } + }; + } + + private void OnMenuItemSelected(MenuEventArgs args) + { + NavigationManager.NavigateTo(args.Item.Url); + } }
- An unhandled error has occurred. - Reload - 🗙 + An unhandled error has occurred. + Reload + 🗙
\ No newline at end of file diff --git a/OrdersManagement/wwwroot/logo.svg b/OrdersManagement/wwwroot/logo.svg new file mode 100644 index 0000000..494095c --- /dev/null +++ b/OrdersManagement/wwwroot/logo.svg @@ -0,0 +1,43 @@ + + + + + + + + + diff --git a/OrdersManagement/wwwroot/material.css b/OrdersManagement/wwwroot/material.css index f3ac7ac..7758101 100644 --- a/OrdersManagement/wwwroot/material.css +++ b/OrdersManagement/wwwroot/material.css @@ -63345,4 +63345,40 @@ span.e-table-box.e-rbox-select { .e-gridheader { background-color: red; font-weight: bold; +} +.custom-menu { + width: 250px; +} + +.custom-menu-width { + width: 250px; +} + +@media (max-width: 767px) { + .bb-top-row { + flex-direction: column; + align-items: flex-start; + } + + .bb-top-row > span, .bb-top-row > a { + margin-bottom: 10px; + } + + .custom-menu, .custom-menu-width { + width: 100%; + } + + .row.gx-1 { + --bs-gutter-x: 0; + } +} + +@media (min-width: 768px) { + .bb-top-row { + padding: 0 15px; + } + + .row.gx-1 { + --bs-gutter-x: 5px; + } } \ No newline at end of file