From 673e88d6d3afd816b21667f021be4cad15c933ad Mon Sep 17 00:00:00 2001 From: francesco Date: Tue, 20 Jan 2026 09:40:45 +0100 Subject: [PATCH] Update templates/index.html --- templates/index.html | 68 +++++++++++++------------------------------- 1 file changed, 20 insertions(+), 48 deletions(-) diff --git a/templates/index.html b/templates/index.html index 46aae70..27a5720 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,82 +6,54 @@
-
+
+ + + +
Larghezza
Profondità
Altezza

P. Cemento
P. Sabbia
P. Ghiaia
-
- - - - -
Parte Cemento
Parte Sabbia
Parte Ghiaia
-
- - - - -
Peso Cemento (kg)
Peso Sabbia (kg)
Peso Ghiaia (kg)
- +
- -
-Risultati del Calcolo: +
+Risultati: {% if res %} ---- Dettagli Gettata --- -Volume totale: {{ res.vol }} m3 -Peso stimato: {{ res.peso }} kg - ---- Totale Materiali --- +Volume: {{ res.vol }} m3 | Peso: {{ res.peso }} kg Cemento: {{ res.s_cem }} sacchetti Sabbia: {{ res.s_sab }} sacchetti Ghiaia: {{ res.s_ghi }} sacchetti TOTALE: {{ res.tot_sacc }} sacchetti
-
- - - -
- +
-
-{% else %} -

Premi "Calcola" per i risultati.

+
{% endif %}
-