diff --git a/templates/index.html b/templates/index.html index 7d21d00..46aae70 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,17 +2,18 @@ - Calcolo Calcestruzzo + Calcolo Calcestruzzo v2.1 @@ -21,52 +22,66 @@
- - - - - - + +
Larghezza
Profondità
Altezza

Parte Cemento
Parte Sabbia
Parte Ghiaia
Profondità
Altezza
- +
+ + + + +
Parte Cemento
Parte Sabbia
Parte Ghiaia
+
+ + + + +
Peso Cemento (kg)
Peso Sabbia (kg)
Peso Ghiaia (kg)
+
-

Risultati del Calcolo:

- {% if res %} - --- Dettagli Gettata --- - Volume totale: {{ res.vol }} m3 - Peso stimato: {{ res.peso }} kg - - --- Totale Materiali --- - Cemento: {{ res.s_cem }} sacchetti - Sabbia: {{ res.s_sab }} sacchetti - Ghiaia: {{ res.s_ghi }} sacchetti - -
-
- - - -
- -
-
- {% endif %} +Risultati del Calcolo: +{% if res %} +--- Dettagli Gettata --- +Volume totale: {{ res.vol }} m3 +Peso stimato: {{ res.peso }} kg + +--- Totale Materiali --- +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 %}