From 5f18034bd8bc04f4e60f62c676e23fa7a0a6f2d4 Mon Sep 17 00:00:00 2001 From: "zaccaria.majid" Date: Wed, 4 Jan 2023 15:11:29 +0100 Subject: [PATCH] inizio smart --- GPW.CORE.SMART.sln | 2 +- GPW.CORE.SMART/Components/CmpTop.razor | 5 +- GPW.CORE.SMART/Components/CmpTop.razor.css | 21 ++- .../Components/ListaTimbrature.razor | 169 ++++++++++++++++++ .../Components/ListaTimbrature.razor.cs | 22 +++ .../Components/ListaTimbrature.razor.css | 77 ++++++++ GPW.CORE.SMART/Components/NavBottom.razor | 11 ++ GPW.CORE.SMART/Components/NavBottom.razor.cs | 22 +++ GPW.CORE.SMART/Components/NavBottom.razor.css | 29 +++ GPW.CORE.SMART/Pages/Index.razor | 7 +- GPW.CORE.SMART/Pages/_Layout.cshtml | 61 ------- GPW.CORE.SMART/Shared/MainLayout.razor | 6 +- 12 files changed, 354 insertions(+), 78 deletions(-) create mode 100644 GPW.CORE.SMART/Components/ListaTimbrature.razor create mode 100644 GPW.CORE.SMART/Components/ListaTimbrature.razor.cs create mode 100644 GPW.CORE.SMART/Components/ListaTimbrature.razor.css create mode 100644 GPW.CORE.SMART/Components/NavBottom.razor create mode 100644 GPW.CORE.SMART/Components/NavBottom.razor.cs create mode 100644 GPW.CORE.SMART/Components/NavBottom.razor.css delete mode 100644 GPW.CORE.SMART/Pages/_Layout.cshtml diff --git a/GPW.CORE.SMART.sln b/GPW.CORE.SMART.sln index c9e36ed..137b1a9 100644 --- a/GPW.CORE.SMART.sln +++ b/GPW.CORE.SMART.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.4.33122.133 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GPW.CORE.SMART", "GPW.CORE.SMART\GPW.CORE.SMART.csproj", "{1652B4B5-BB10-49F2-B85F-D24B27E15B3A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GPW.CORE.SMART", "GPW.CORE.SMART\GPW.CORE.SMART.csproj", "{1652B4B5-BB10-49F2-B85F-D24B27E15B3A}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/GPW.CORE.SMART/Components/CmpTop.razor b/GPW.CORE.SMART/Components/CmpTop.razor index ac1ceed..10b2ee9 100644 --- a/GPW.CORE.SMART/Components/CmpTop.razor +++ b/GPW.CORE.SMART/Components/CmpTop.razor @@ -1,3 +1,4 @@ -
-

Majid Zaccaria [56]

+
+
TIMBRATURE
+
Majid Zaccaria [56]
diff --git a/GPW.CORE.SMART/Components/CmpTop.razor.css b/GPW.CORE.SMART/Components/CmpTop.razor.css index cc23e0f..af8ec04 100644 --- a/GPW.CORE.SMART/Components/CmpTop.razor.css +++ b/GPW.CORE.SMART/Components/CmpTop.razor.css @@ -3,14 +3,23 @@ padding: 0px; } -.container{ - background-color: red; - height: 120px; +.container { + background-color: #34495E; + height: 3.7rem; border-radius: 0px 0px 12px 12px; border: 2px; + text-align: center; } -.username{ - color: #ffffff; - padding: 20px; +.username { + color: #ffffff; + padding-top: 10px; + font-size: 1.1rem; +} + +.title { + color: #ffffff; + padding-top: 10px; + font-size: 1.25rem; + text-shadow: 0px 3px 4px rgba(0,0,0,0.7); } diff --git a/GPW.CORE.SMART/Components/ListaTimbrature.razor b/GPW.CORE.SMART/Components/ListaTimbrature.razor new file mode 100644 index 0000000..4006bc1 --- /dev/null +++ b/GPW.CORE.SMART/Components/ListaTimbrature.razor @@ -0,0 +1,169 @@ +
+ + +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DataEntrUscEntrUscH lav
+ + 08:2013:2014:2017:308,00
+ + 08:2013:2014:2017:308,00
+ + 08:2013:2014:2017:308,00
+ + 08:2013:2014:2017:308,00
+ + 08:2013:2014:2017:308,00
+ + 08:2013:2014:2017:308,00
+ + 08:2013:2014:2017:308,00
+ + 08:2013:2014:2017:308,00
+ + 08:2013:2014:2017:308,00
+ + 08:2013:2014:2017:308,00
+ + 08:2013:2014:2017:308,00
+
+
\ No newline at end of file diff --git a/GPW.CORE.SMART/Components/ListaTimbrature.razor.cs b/GPW.CORE.SMART/Components/ListaTimbrature.razor.cs new file mode 100644 index 0000000..504ec82 --- /dev/null +++ b/GPW.CORE.SMART/Components/ListaTimbrature.razor.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Components; +using System.Net.Http; +using System.Net.Http.Json; +using Microsoft.AspNetCore.Components.Forms; +using Microsoft.AspNetCore.Components.Routing; +using Microsoft.AspNetCore.Components.Web; +using Microsoft.AspNetCore.Components.Web.Virtualization; +using Microsoft.AspNetCore.Components.WebAssembly.Http; +using Microsoft.JSInterop; +using GPW.CORE.SMART; +using GPW.CORE.SMART.Shared; + +namespace GPW.CORE.SMART.Components +{ + public partial class ListaTimbrature + { + } +} \ No newline at end of file diff --git a/GPW.CORE.SMART/Components/ListaTimbrature.razor.css b/GPW.CORE.SMART/Components/ListaTimbrature.razor.css new file mode 100644 index 0000000..5934158 --- /dev/null +++ b/GPW.CORE.SMART/Components/ListaTimbrature.razor.css @@ -0,0 +1,77 @@ +body { + margin: 0px; + padding: 0px; +} +/* #region BOTTONI*/ +.bottoni { + text-align: center; +} + +.entr, .usc { + border: none; + background: none; + padding: 4px; + border-radius: 12px; + width: 11.5rem; + height: 2.45rem; + color: #ffffff; + box-shadow: 0px 4px 4px rgba(0,0,0,0.3); +} + +.entr { + background-color: #27AE60; +} + +.usc { + background-color: #3498DB; + +} +/* #endregion BOTTONI*/ + +/* #region TABELLA*/ +.temp{ + border: 2px solid #000; + background: none; + border-radius: 5px; +} + +.tabella{ + margin-top: 20px; + text-align: center; +} + +tr{ + border-bottom: 1px solid rgba(0,0,0,1); +} + +td{ + padding-right: 10px +} + +.contenuto{ + margin: 10px; +} + +.hEntr { + color: #27AE60; +} + +.hEsc { + color: #222266; +} + +.btnData { + border: none; + background-color: #34495E; + border-radius: 12px; + color: #ffffff; + width: 3.25rem; + height: 2rem; +} + +.btnData span{ + font-size: 11px; +} + +/* #endregion TABELLA*/ + diff --git a/GPW.CORE.SMART/Components/NavBottom.razor b/GPW.CORE.SMART/Components/NavBottom.razor new file mode 100644 index 0000000..60baafa --- /dev/null +++ b/GPW.CORE.SMART/Components/NavBottom.razor @@ -0,0 +1,11 @@ +
+ +
+ +
+ + +
\ No newline at end of file diff --git a/GPW.CORE.SMART/Components/NavBottom.razor.cs b/GPW.CORE.SMART/Components/NavBottom.razor.cs new file mode 100644 index 0000000..50447e3 --- /dev/null +++ b/GPW.CORE.SMART/Components/NavBottom.razor.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Components; +using System.Net.Http; +using System.Net.Http.Json; +using Microsoft.AspNetCore.Components.Forms; +using Microsoft.AspNetCore.Components.Routing; +using Microsoft.AspNetCore.Components.Web; +using Microsoft.AspNetCore.Components.Web.Virtualization; +using Microsoft.AspNetCore.Components.WebAssembly.Http; +using Microsoft.JSInterop; +using GPW.CORE.SMART; +using GPW.CORE.SMART.Shared; + +namespace GPW.CORE.SMART.Components +{ + public partial class NavBottom + { + } +} \ No newline at end of file diff --git a/GPW.CORE.SMART/Components/NavBottom.razor.css b/GPW.CORE.SMART/Components/NavBottom.razor.css new file mode 100644 index 0000000..a847b38 --- /dev/null +++ b/GPW.CORE.SMART/Components/NavBottom.razor.css @@ -0,0 +1,29 @@ +body { +} + +/* #region BOTTOM*/ + +.navBottomContainer { + position: fixed; + bottom: 0; + width: 100%; + height: 4.75rem; + background-color: #34495E; + border-radius: 12px 12px 0px 0px; +} +.slider{ + text-align: center; +} + .slider button { + border: none; + position: fixed; + left: 10rem; + bottom: 4rem; + width: 4.37rem; + height: 2.5rem; + background-color: rgba(149, 165, 166, 0.5); + border-radius: 12px 12px 0px 0px; + box-shadow: 0px -4px 4px rgba(0,0,0,0.3); + } + +/* #endregion BOTTOM*/ \ No newline at end of file diff --git a/GPW.CORE.SMART/Pages/Index.razor b/GPW.CORE.SMART/Pages/Index.razor index 6085c4a..5a5cdec 100644 --- a/GPW.CORE.SMART/Pages/Index.razor +++ b/GPW.CORE.SMART/Pages/Index.razor @@ -1,9 +1,6 @@ @page "/" +@using GPW.CORE.SMART.Components -Index -

Hello, world!

+ -Welcome to your new app. - - diff --git a/GPW.CORE.SMART/Pages/_Layout.cshtml b/GPW.CORE.SMART/Pages/_Layout.cshtml deleted file mode 100644 index b9f8de5..0000000 --- a/GPW.CORE.SMART/Pages/_Layout.cshtml +++ /dev/null @@ -1,61 +0,0 @@ -@using Microsoft.AspNetCore.Components.Web -@namespace GPW.CORE.SMART.Pages -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers - - - - - - - - - - - - - - - - - @RenderBody() - -
- - An error has occurred. This application may no longer respond until reloaded. - - - An unhandled exception has occurred. See browser dev tools for details. - - Reload - 🗙 -
- - - - - - @*Gestione autoriconnessione: https://github.com/dotnet/aspnetcore/issues/38305 (vedere anche https://docs.microsoft.com/it-it/aspnet/core/blazor/fundamentals/signalr?view=aspnetcore-6.0#modify-the-reconnection-handler-blazor-server)*@ - - - - diff --git a/GPW.CORE.SMART/Shared/MainLayout.razor b/GPW.CORE.SMART/Shared/MainLayout.razor index da101b8..f3fa662 100644 --- a/GPW.CORE.SMART/Shared/MainLayout.razor +++ b/GPW.CORE.SMART/Shared/MainLayout.razor @@ -15,9 +15,9 @@
@Body
- @*
- -
*@ +
+ +