From 3b2fbba0259c70c2316fabfe095f721fbd06f7c1 Mon Sep 17 00:00:00 2001 From: francesco Date: Tue, 20 Jan 2026 09:30:42 +0100 Subject: [PATCH] Update templates/index.html --- templates/index.html | 62 ++++++++++++++++---------------------------- 1 file changed, 22 insertions(+), 40 deletions(-) diff --git a/templates/index.html b/templates/index.html index 6a9c4f4..397ef6c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,18 +6,17 @@ Software Cemento {{ rev }} @@ -27,54 +26,38 @@
- {% for n, k in [('Altezza','a'),('Larghezza','l'),('Profondità','p')] %} - - - - - - {% endfor %} + + +
Dimensioni Totali
{{n}}
Altezza
Larghezza
Profondità
- - - - + + + +
Miscela (Parti) / Pesi (Kg) / Costi (€)
CEM SAB GHI
Kg/S Kg/S Kg/S
€/S €/S €/S
Miscela (Parti) / Peso e Costo
Cem: Sab: Ghi:
Kg: Kg: Kg:
€: €: €:
-

Volume Betoniera (L):

+

Betoniera (L):

-
-

Risultati

{{ rev }} -
+

Risultati

{% if res %}
- Volume: {{ res.vol }} m³ | Peso: {{ res.peso }} Kg
-
- Cemento: {{ res.s_cem }} sacchi | Sabbia: {{ res.s_sab }} sacchi | Ghiaia: {{ res.s_ghi }} sacchi
- Acqua: {{ res.acqua }} L | Totale: {{ res.costo_tot }} € -
- Ogni carico ({{ res.n_c }} cicli):
- • Cem: {{ res.bc_cem }} | Sab: {{ res.bc_sab }} | Ghi: {{ res.bc_ghi }} sacchi + Vol: {{ res.vol }} m³ | Peso: {{ res.peso }} Kg
+ Materiali: Cem: {{res.s_cem}} | Sab: {{res.s_sab}} | Ghi: {{res.s_ghi}} sacchetti
+ Totale: {{ res.costo_tot }} €
- - - - - -
- - -
+ + +
{% else %} -

Premi "Esegui Calcolo".

+

Inserisci i dati e calcola.

{% endif %}
@@ -82,11 +65,10 @@