diff --git a/GPW.CORE.SMART/Components/TimbHandler.razor b/GPW.CORE.SMART/Components/TimbHandler.razor deleted file mode 100644 index 493247c..0000000 --- a/GPW.CORE.SMART/Components/TimbHandler.razor +++ /dev/null @@ -1,70 +0,0 @@ -
-
-
- Richiesta mancata timbratura -
-
-
-
- -
-
- - -
-
-
-
-
-
- Richiesta mancata timbratura -
-
- - - - - - - - - - - - - - - - - - - -
- - - - - Scambio - - - - -
- 18:36 - - - - - - - - -
-
-
-
- - - diff --git a/GPW.CORE.SMART/Components/TimbHandler.razor.cs b/GPW.CORE.SMART/Components/TimbHandler.razor.cs deleted file mode 100644 index 336356c..0000000 --- a/GPW.CORE.SMART/Components/TimbHandler.razor.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Components; -using System.Net.Http; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Components.Authorization; -using Microsoft.AspNetCore.Components.Forms; -using Microsoft.AspNetCore.Components.Routing; -using Microsoft.AspNetCore.Components.Web; -using Microsoft.AspNetCore.Components.Web.Virtualization; -using Microsoft.JSInterop; -using GPW.CORE.Comp; -using GPW.CORE.Smart; -using GPW.CORE.Smart.Components; -using GPW.CORE.Smart.Shared; - -namespace GPW.CORE.Smart.Components -{ - public partial class TimbHandler - { - } -} \ No newline at end of file diff --git a/GPW.CORE.SMART/Components/TimbHandler.razor.css b/GPW.CORE.SMART/Components/TimbHandler.razor.css deleted file mode 100644 index 349a8f6..0000000 --- a/GPW.CORE.SMART/Components/TimbHandler.razor.css +++ /dev/null @@ -1,63 +0,0 @@ -.container { - width: 100%; - height: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - margin: 0; -} -.timbApp { - border-radius: 0.8rem; - background-color: transparent; - width: 100%; - height: 100%; -} -.timbApp table { - width: 100%; - height: 100%; -} -/*.timbApp table thead{ - border-bottom: 1px solid black; -}*/ -.timbManc { - border-radius: 0.8rem; - background-color: transparent; - padding: 0.5rem; - width: 70%; - height: 100%; - margin-bottom: 0.8rem; -} -.timbMancContainer { - margin-top: 0.5rem; - width: 100%; - height: 100%; - display: flex; - justify-content: center; -} -.timbManc input { - border-radius: 0.5rem; - border: none; - padding: 0.25rem; -} -.timbMancCard .header { - text-align: center; - border-bottom: 1px solid black; - padding-top: 0.3rem; - padding-bottom: 0.3rem; - color: #fff; -} -.timbMancCard { - border-radius: 0.8rem; - background-color: #0d8b23; -} -.timbAppCard .header { - text-align: center; - border-bottom: 1px solid black; - padding-top: 0.3rem; - padding-bottom: 0.3rem; - color: #fff; -} -.timbAppCard { - margin-top: 2rem; - border-radius: 0.8rem; - background-color: #ff8b23; -} \ No newline at end of file diff --git a/GPW.CORE.SMART/Components/TimbHandler.razor.less b/GPW.CORE.SMART/Components/TimbHandler.razor.less deleted file mode 100644 index b4a501d..0000000 --- a/GPW.CORE.SMART/Components/TimbHandler.razor.less +++ /dev/null @@ -1,72 +0,0 @@ -.container{ - width: 100%; - height: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - margin: 0; -} - -.timbApp { - border-radius: 0.8rem; - background-color: transparent; - width: 100%; - height: 100%; -} - -.timbApp table { - width: 100%; - height: 100%; -} - -/*.timbApp table thead{ - border-bottom: 1px solid black; -}*/ - -.timbManc { - border-radius: 0.8rem; - background-color: transparent; - padding: 0.5rem; - width: 70%; - height: 100%; - margin-bottom: 0.8rem; -} - -.timbMancContainer { - margin-top: 0.5rem; - width: 100%; - height: 100%; - display: flex; - justify-content: center; -} - -.timbManc input { - border-radius: 0.5rem; - border: none; - padding: 0.25rem; -} -.timbMancCard .header{ - text-align: center; - border-bottom: 1px solid black; - padding-top: 0.3rem; - padding-bottom: 0.3rem; - color: #fff; -} - -.timbMancCard{ - border-radius: 0.8rem; - background-color: #0d8b23 -} - -.timbAppCard .header { - text-align: center; - border-bottom: 1px solid black; - padding-top: 0.3rem; - padding-bottom: 0.3rem; - color: #fff; -} - -.timbAppCard { - margin-top: 2rem; - border-radius: 0.8rem; - background-color: #ff8b23 -} \ No newline at end of file diff --git a/GPW.CORE.SMART/Components/TimbHandler.razor.min.css b/GPW.CORE.SMART/Components/TimbHandler.razor.min.css deleted file mode 100644 index 59f4df2..0000000 --- a/GPW.CORE.SMART/Components/TimbHandler.razor.min.css +++ /dev/null @@ -1 +0,0 @@ -.container{width:100%;height:100%;padding-left:.5rem;padding-right:.5rem;margin:0;}.timbApp{border-radius:.8rem;background-color:transparent;width:100%;height:100%;}.timbApp table{width:100%;height:100%;}.timbManc{border-radius:.8rem;background-color:transparent;padding:.5rem;width:70%;height:100%;margin-bottom:.8rem;}.timbMancContainer{margin-top:.5rem;width:100%;height:100%;display:flex;justify-content:center;}.timbManc input{border-radius:.5rem;border:0;padding:.25rem;}.timbMancCard .header{text-align:center;border-bottom:1px solid #000;padding-top:.3rem;padding-bottom:.3rem;color:#fff;}.timbMancCard{border-radius:.8rem;background-color:#0d8b23;}.timbAppCard .header{text-align:center;border-bottom:1px solid #000;padding-top:.3rem;padding-bottom:.3rem;color:#fff;}.timbAppCard{margin-top:2rem;border-radius:.8rem;background-color:#ff8b23;} \ No newline at end of file diff --git a/GPW.CORE.SMART/Pages/ProvaCalendar.razor b/GPW.CORE.SMART/Pages/ProvaCalendar.razor deleted file mode 100644 index 7f6c752..0000000 --- a/GPW.CORE.SMART/Pages/ProvaCalendar.razor +++ /dev/null @@ -1,16 +0,0 @@ -@page "/provacalendar" - -Index -
- -
- -
-
- -
- -
- -
-
\ No newline at end of file diff --git a/GPW.CORE.SMART/Pages/ProvaCalendar.razor.cs b/GPW.CORE.SMART/Pages/ProvaCalendar.razor.cs deleted file mode 100644 index 1e53e88..0000000 --- a/GPW.CORE.SMART/Pages/ProvaCalendar.razor.cs +++ /dev/null @@ -1,60 +0,0 @@ -namespace GPW.CORE.Smart.Pages -{ - public partial class ProvaCalendar - { - #region Protected Methods - - protected override async Task OnInitializedAsync() - { - dtCurr = DateTime.Today; - await Task.Delay(1); - DateCheck = new Dictionary(); - Random rnd = new Random(); - // random colorate... - for (int i = 0; i < 10; i++) - { - DateTime newDate = dtCurr.AddDays(rnd.Next(-5, 10)).Date; - if (!DateCheck.ContainsKey(newDate)) - { - DateCheck.Add(newDate, "bg-success text-light rounded-circle p-2"); - } - else - { - DateCheck[newDate] = "bg-warning text-light rounded-circle p-2"; - } - } - } - - #endregion Protected Methods - - #region Private Fields - - private Dictionary DateCheck = new Dictionary(); - - #endregion Private Fields - - #region Private Properties - - private DateTime dtCurr { get; set; } = DateTime.Today; - - private bool singleWeek = false; - - #endregion Private Properties - - #region Private Methods - - private void DisplayDate(DateTime dtSel) - { - dtCurr = dtSel; - singleWeek = true; - } - - private async Task resetCal() - { - singleWeek = false; - await Task.Delay(1); - } - - #endregion Private Methods - } -} diff --git a/GPW.CORE.SMART/Pages/ProvaCalendar.razor.css b/GPW.CORE.SMART/Pages/ProvaCalendar.razor.css deleted file mode 100644 index 12aa463..0000000 --- a/GPW.CORE.SMART/Pages/ProvaCalendar.razor.css +++ /dev/null @@ -1,43 +0,0 @@ -.containerCalendario { - margin-top: 20px; - position: relative; - min-width: 20rem; - align-items: center; - display: flex; - justify-content: center; -} -.containerGauge { - position: fixed; - bottom: 5rem; - width: 100%; - align-items: center; - right: 5.2rem; - display: flex; - justify-content: center; - gap: 8.3rem; -} -.containerCard { - position: relative; - width: 100%; - align-items: center; - display: flex; - justify-content: center; - flex-direction: row; -} -.containerBtnEntrEsc { - margin-top: 20px; - position: relative; - width: 95%; - height: 2.5rem; - display: flex; - justify-content: center; -} -.containerBtnTemp { - position: fixed; - height: 39px; - width: 59px; - bottom: 4rem; - align-items: center; - display: flex; - justify-content: center; -} \ No newline at end of file diff --git a/GPW.CORE.SMART/Pages/ProvaCalendar.razor.less b/GPW.CORE.SMART/Pages/ProvaCalendar.razor.less deleted file mode 100644 index 3e5a5a7..0000000 --- a/GPW.CORE.SMART/Pages/ProvaCalendar.razor.less +++ /dev/null @@ -1,49 +0,0 @@ -.containerCalendario { - margin-top: 20px; - position: relative; - min-width: 20rem; - align-items: center; - display: flex; - justify-content: center; -} - -.containerGauge { - position: fixed; - bottom: 5rem; - width: 100%; - align-items: center; - right: 5.2rem; - display: flex; - justify-content: center; - gap: 8.3rem; -} - -.containerCard { - position: relative; - width: 100%; - align-items: center; - display: flex; - justify-content: center; - flex-direction: row; -} - -.containerBtnEntrEsc { - margin-top: 20px; - position: relative; - width: 95%; - height: 2.5rem; - display: flex; - justify-content: center; -} - -.containerBtnTemp { - position: fixed; - height: 39px; - width: 59px; - bottom: 4rem; - align-items: center; - display: flex; - justify-content: center; -} - - diff --git a/GPW.CORE.SMART/Pages/ProvaCalendar.razor.min.css b/GPW.CORE.SMART/Pages/ProvaCalendar.razor.min.css deleted file mode 100644 index d610c54..0000000 --- a/GPW.CORE.SMART/Pages/ProvaCalendar.razor.min.css +++ /dev/null @@ -1 +0,0 @@ -.containerCalendario{margin-top:20px;position:relative;min-width:20rem;align-items:center;display:flex;justify-content:center;}.containerGauge{position:fixed;bottom:5rem;width:100%;align-items:center;right:5.2rem;display:flex;justify-content:center;gap:8.3rem;}.containerCard{position:relative;width:100%;align-items:center;display:flex;justify-content:center;flex-direction:row;}.containerBtnEntrEsc{margin-top:20px;position:relative;width:95%;height:2.5rem;display:flex;justify-content:center;}.containerBtnTemp{position:fixed;height:39px;width:59px;bottom:4rem;align-items:center;display:flex;justify-content:center;} \ No newline at end of file diff --git a/GPW.CORE.SMART/Pages/TestCal.razor b/GPW.CORE.SMART/Pages/TestCal.razor deleted file mode 100644 index 4c46fd2..0000000 --- a/GPW.CORE.SMART/Pages/TestCal.razor +++ /dev/null @@ -1,50 +0,0 @@ -@page "/TestCal" - - -
-
-

Test Page

-
-
-
-
- -
-
- -
-
- -
-
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
- -
diff --git a/GPW.CORE.SMART/Pages/TestCal.razor.cs b/GPW.CORE.SMART/Pages/TestCal.razor.cs deleted file mode 100644 index a3c62d4..0000000 --- a/GPW.CORE.SMART/Pages/TestCal.razor.cs +++ /dev/null @@ -1,48 +0,0 @@ -namespace GPW.CORE.Smart.Pages -{ - public partial class TestCal - { - #region Protected Methods - - protected override async Task OnInitializedAsync() - { - dtCurr = DateTime.Today; - await Task.Delay(1); - } - - #endregion Protected Methods - - #region Private Fields - - private bool showToast = false; - - #endregion Private Fields - - #region Private Properties - - private DateTime dtCurr { get; set; } = DateTime.Today; - - private string toastCss - { - get => showToast ? "show" : ""; - } - - protected string dtAction = ""; - protected string messaggio = ""; - - #endregion Private Properties - - #region Private Methods - - private void toggleShow() - { - DateTime adesso = DateTime.Now; - dtAction = $"{adesso:dddd dd.MM.yyyy}"; - string tipo = adesso.Second % 2 == 0 ? "INGRESSO" : "USCITA"; - messaggio = $"Registrato evento {tipo} alle {adesso:HH:mm}"; - showToast = !showToast; - } - - #endregion Private Methods - } -} \ No newline at end of file