From 5bd3ddbe4f17e6129edc62426e340cd467c01e29 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 17 May 2021 14:36:46 +0200 Subject: [PATCH] fixcss --- MP.Stats/Components/SearchMod.razor | 2 +- MP.Stats/MP.Stats.csproj | 13 ++++++ MP.Stats/Pages/Index.razor | 19 +++++--- MP.Stats/Pages/Scarti.razor | 58 ++++++++++++------------ MP.Stats/Pages/Scarti.razor.cs | 1 + MP.Stats/Pages/_Host.cshtml | 6 +-- MP.Stats/Shared/NavMenu.razor | 2 +- MP.Stats/compilerconfig.json | 10 +++++ MP.Stats/compilerconfig.json.defaults | 63 +++++++++++++++++++++++++++ MP.Stats/wwwroot/css/fonts.min.css | 1 + MP.Stats/wwwroot/css/site.min.css | 1 + 11 files changed, 135 insertions(+), 41 deletions(-) create mode 100644 MP.Stats/compilerconfig.json create mode 100644 MP.Stats/compilerconfig.json.defaults create mode 100644 MP.Stats/wwwroot/css/fonts.min.css create mode 100644 MP.Stats/wwwroot/css/site.min.css diff --git a/MP.Stats/Components/SearchMod.razor b/MP.Stats/Components/SearchMod.razor index 0aab3cec..efebcbba 100644 --- a/MP.Stats/Components/SearchMod.razor +++ b/MP.Stats/Components/SearchMod.razor @@ -3,7 +3,7 @@ @inject MessageService MessageService
- +
diff --git a/MP.Stats/MP.Stats.csproj b/MP.Stats/MP.Stats.csproj index 4ccf0775..52359c8b 100644 --- a/MP.Stats/MP.Stats.csproj +++ b/MP.Stats/MP.Stats.csproj @@ -5,6 +5,15 @@ MP.Stats + + + + + + <_ContentIncludedByDefault Remove="compilerconfig.json" /> + <_ContentIncludedByDefault Remove="wwwroot\css\fonts.min.css" /> + + @@ -13,6 +22,10 @@ + + + + PreserveNewest diff --git a/MP.Stats/Pages/Index.razor b/MP.Stats/Pages/Index.razor index 4cf3b8ee..91a38f96 100644 --- a/MP.Stats/Pages/Index.razor +++ b/MP.Stats/Pages/Index.razor @@ -3,6 +3,8 @@ @using MP.Stats.Components @using MP.Stats.Data +@inject MessageService MessageService +
@@ -22,14 +24,14 @@
-
@Anno
+
Main Topics
- - + + + @**@ - - + @**@
@@ -37,6 +39,9 @@
@code { - - private int Anno { get; set; } = DateTime.Today.Year; + protected override Task OnInitializedAsync() + { + MessageService.ShowSearch = false; + return base.OnInitializedAsync(); + } } \ No newline at end of file diff --git a/MP.Stats/Pages/Scarti.razor b/MP.Stats/Pages/Scarti.razor index e5b7ed07..c6503e13 100644 --- a/MP.Stats/Pages/Scarti.razor +++ b/MP.Stats/Pages/Scarti.razor @@ -8,43 +8,43 @@
@if (currRecord != null) { - @**@ + @**@ } @if (ListRecords == null) { -

Loading...

+

Loading...

} else { - - - - @**@ - - - - - - - - - - - @foreach (var record in ListRecords) +
MacchinaDataODL/CommessaArticoloDescrizioneQtaOperatore
+ + + @**@ + + + + + + + + + + + @foreach (var record in ListRecords) { - - @**@ - - - - - - - - + + @**@ + + + + + + + + } - -
MacchinaDataODL/CommessaArticoloDescrizioneQtaOperatore
 @record.IdxMacchina@record.DataOra@record.IdxOdl | @record.KeyRichiesta@record.CodArticolo@record.Descrizione@record.CodArticolo@record.MatrOpr
 @record.IdxMacchina@record.DataOra@record.IdxOdl | @record.KeyRichiesta@record.CodArticolo@record.Descrizione@record.CodArticolo@record.MatrOpr
+ + }