From e657bab7c09cd41893d9a9ce9eef75087a82942c Mon Sep 17 00:00:00 2001 From: Marco Audiffredi Date: Thu, 18 Jul 2024 15:26:30 +0200 Subject: [PATCH] grafica varie --- Views/Giri/Bancali.cshtml | 79 +++++++++++++++++++++++++--------- Views/Giri/Create.cshtml | 60 +++++++++++++++++++++++++- Views/GiriChiudi/Chiudi.cshtml | 2 +- Views/Login/Login.cshtml | 39 +++++++++++++++-- 4 files changed, 153 insertions(+), 27 deletions(-) diff --git a/Views/Giri/Bancali.cshtml b/Views/Giri/Bancali.cshtml index a29208e..aea3974 100644 --- a/Views/Giri/Bancali.cshtml +++ b/Views/Giri/Bancali.cshtml @@ -4,96 +4,137 @@ ViewData["Title"] = "Bancali"; } -

Modifica numero Bancali

+ +
+
+
+
+
Modifica numero di bancali
+ + @Html.DisplayFor(model => model.DataGiro) + @Html.DisplayFor(model => model.CodAutista)-@Html.DisplayFor(model => model.Autista) + @Html.DisplayFor(model => model.CodMezzo)-@Html.DisplayFor(model => model.Automezzo) + +
+
+
+ +
+ + + +
+ @Html.HiddenFor(x => x.SerialeGiro) + @Html.HiddenFor(x => x.DataGiro) + @Html.HiddenFor(x => x.CodAutista) + @Html.HiddenFor(x => x.Autista) + @Html.HiddenFor(x => x.BancaliRecuperati) + @Html.HiddenFor(x => x.ImportoDaRecuperare) + @Html.HiddenFor(x => x.ImportoRecuperato) + @Html.HiddenFor(x => x.DataChiusura) + @Html.HiddenFor(x => x.CodMezzo) + @Html.HiddenFor(x => x.Automezzo) + @Html.HiddenFor(x => x.parzialeBanRec) + @Html.HiddenFor(x => x.parzialeImpRec) + + Torna alla lista +
+
+
+
-@*

GiriConsegnaView

*@ -
+
+ + + + +@*
@* - *@ + @Html.HiddenFor(x => x.SerialeGiro)
@* - *@ + @Html.HiddenFor(x => x.DataGiro)
@* - *@ + @Html.HiddenFor(x => x.CodAutista)
@* - *@ + @Html.HiddenFor(x => x.Autista)
- @* *@ + @*
@* - *@ + @Html.HiddenFor(x => x.BancaliRecuperati) @Html.DisplayFor(x => x.BancaliRecuperati)
@* - *@ + @Html.HiddenFor(x => x.ImportoDaRecuperare)
@* - *@ + @Html.HiddenFor(x => x.ImportoRecuperato)
@* - *@ + @Html.HiddenFor(x => x.DataChiusura)
@* - *@ + @Html.HiddenFor(x => x.CodMezzo)
@* - *@ + @Html.HiddenFor(x => x.Automezzo)
@* - *@ + @Html.HiddenFor(x => x.parzialeBanRec)
@* - *@ + @Html.HiddenFor(x => x.parzialeImpRec)
@* - *@ + @Html.HiddenFor(x => x.NoteChiusura)
@@ -105,8 +146,6 @@
+*@ -
- @* Back to List *@ -
diff --git a/Views/Giri/Create.cshtml b/Views/Giri/Create.cshtml index 2f81794..d0d002e 100644 --- a/Views/Giri/Create.cshtml +++ b/Views/Giri/Create.cshtml @@ -5,7 +5,63 @@ List lst = new List(); lst = Model; } -
+ +
+
Giri da creare
+
+
+ + + + + + + + + + + + @for (var i = 0; i < lst.Count(); i++) + { + + + + + + + + } + +
 DataAutistaAutomezzo 
+ @Html.CheckBoxFor(a=>lst[i].IsSelected) + + @Html.DisplayFor(a=>lst[i].DataGiro) + @Html.HiddenFor(a=>lst[i].DataGiro) + + @Html.DisplayFor(a=>lst[i].CodAutista)-@Html.DisplayFor(a=>lst[i].Autista) + @Html.HiddenFor(a=>lst[i].CodAutista) + + @Html.DisplayFor(a=>lst[i].CodMezzo)-@Html.DisplayFor(a=>lst[i].Automezzo) + @Html.HiddenFor(a=>lst[i].CodMezzo) + + + nocons +
+ + @Html.ActionLink("Seleziona tutti", "Create", "Giri",new { sel = true }, new { @class = "btn btn-primary" }) + + @Html.ActionLink("Deleziona tutti", "Create", "Giri",new { sel = false },new { @class = "btn btn-primary" }) + + Torna alla lista +
+
+
+ + + + + +@*
@@ -77,4 +133,4 @@ }
-
+
*@ diff --git a/Views/GiriChiudi/Chiudi.cshtml b/Views/GiriChiudi/Chiudi.cshtml index 4a7bc5f..9a2b947 100644 --- a/Views/GiriChiudi/Chiudi.cshtml +++ b/Views/GiriChiudi/Chiudi.cshtml @@ -66,7 +66,7 @@ @Html.HiddenFor(x => x.SerialeGiro) diff --git a/Views/Login/Login.cshtml b/Views/Login/Login.cshtml index f620fdf..6bc6a57 100644 --- a/Views/Login/Login.cshtml +++ b/Views/Login/Login.cshtml @@ -4,11 +4,42 @@ ViewData["Title"] = "Login"; } -

Login

-
+ +
+
+
+
+
Login
+
+
+
+
+
+ + + +
+
+ + + +
+ +
+
+
+
+
+  +
+
+ + + +@*
- @*

Login

*@ +
@@ -37,7 +68,7 @@
-
+
*@
@ViewBag.Error