+ @Body
+
+
+
+ /// Elenco items da menù per pagina corrente...
+ ///
+ protected List CurrMenuItems { get; set; } = new List();
+ ///
+ /// Livello corrente del menu
+ ///
+ protected string CurrLevel = "T2H";
+
+ ///
+ /// Init struttura dati
+ ///
+ ///
+ protected override async Task OnInitializedAsync()
+ {
+ await Task.Delay(1);
+ CurrMenuItems = await MDataService.ListLinkFilt(CurrLevel);
+ // return base.OnInitializedAsync();
+ }
+}
\ No newline at end of file
diff --git a/MP-TAB/MP-TAB/Components/Layout/MainLayout.razor.css b/MP-TAB/MP-TAB/Components/Layout/MainLayout.razor.css
index 0b4fcdaa..130addbf 100644
--- a/MP-TAB/MP-TAB/Components/Layout/MainLayout.razor.css
+++ b/MP-TAB/MP-TAB/Components/Layout/MainLayout.razor.css
@@ -9,7 +9,8 @@ main {
}
.sidebar {
- background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
+ /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
+ padding: 0 10px 0 0;
}
.top-row {
@@ -23,7 +24,7 @@ main {
.top-row ::deep a, .top-row ::deep .btn-link {
white-space: nowrap;
- margin-left: 1.5rem;
+ /*margin-left: 1.5rem;*/
text-decoration: none;
}
@@ -35,7 +36,11 @@ main {
overflow: hidden;
text-overflow: ellipsis;
}
-
+@media (min-width: 640.98px) {
+ .slideMen:not(.auth) {
+ display: none;
+ }
+}
@media (max-width: 640.98px) {
.top-row:not(.auth) {
display: none;
diff --git a/MP-TAB/MP-TAB/Components/Layout/NavMenu.razor b/MP-TAB/MP-TAB/Components/Layout/NavMenu.razor
index 66f83cbd..0e1b56d4 100644
--- a/MP-TAB/MP-TAB/Components/Layout/NavMenu.razor
+++ b/MP-TAB/MP-TAB/Components/Layout/NavMenu.razor
@@ -1,29 +1,32 @@
@inject OprFiltData MDataService
@*
+
- @Body
+
+
-
+
+
+@code {
+ ///
+
+ Username
+
+ [999]
+
+ MapoTAB2
+
+ @*
-