From 16170317d173a618c0b18d907d17c558ee5aad80 Mon Sep 17 00:00:00 2001 From: francesco Date: Tue, 20 Jan 2026 13:07:56 +0100 Subject: [PATCH] Update templates/index.html --- templates/index.html | 125 ++++++++++--------------------------------- 1 file changed, 27 insertions(+), 98 deletions(-) diff --git a/templates/index.html b/templates/index.html index a3cb952..7e663a9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,33 +5,23 @@ Software Cemento Rev.0 @@ -45,39 +35,16 @@ Larghezza Profondità - - - - - - +
Miscela (Parti)
Cemento:
Sabbia:
Ghiaia:
Cem:
Sab:
Ghi:
- - - - - - - + + +
Peso sacchette (Kg)
Cemento:
Kg
Sabbia:
Kg
Ghiaia:
Kg
Peso e Costo sacche
Kg:Kg:Kg:
€:€:€:
- - - - - - - - -
Costo sacchette (€)
Cemento:
Sabbia:
Ghiaia:
- - - - -
Attrezzatura
Volume Betoniera:
L
- + @@ -86,64 +53,26 @@

Risultati

{% if res %}
-
- Volume: {{ res.vol }} m³ | Peso: {{ res.peso }} Kg -
+ Volume: {{ res.vol }} m³ | Peso: {{ res.peso }} Kg
+ Sacchetti: C:{{res.s_cem}} | S:{{res.s_sab}} | G:{{res.s_ghi}} | Tot: {{res.tot_sacc}}
+ Acqua: {{res.acqua}} L | Costo: {{res.costo_tot}} €
-
-

Acquisti

- Cemento: {{ res.s_cem }} sacchetti (€ {{ res.cost_cem }})
- Sabbia: {{ res.s_sab }} sacchetti (€ {{ res.cost_sab }})
- Ghiaia: {{ res.s_ghi }} sacchetti (€ {{ res.cost_ghi }})
- Acqua: {{ res.acqua }} L
- Totale materiale: {{ res.tot_sacc }} sacchetti -
-
-

Costo stimato

- Costo totale: {{ res.costo_tot }} € -
-
-
-

Per ogni carico ({{ res.n_c }} carichi):

- • Cemento: {{ res.bc_cem }} sacchetti
- • Sabbia: {{ res.bc_sab }} sacchetti
- • Ghiaia: {{ res.bc_ghi }} sacchetti
- • Acqua: {{ res.bc_aq }} L -
+ Carico ({{ res.n_c }} carichi): C:{{res.bc_cem}} | S:{{res.bc_sab}} | G:{{res.bc_ghi}} | Aq:{{res.bc_aq}} L
- -
-
- - - - - - - - - - - - - - - - -
- -
- - - - - -
- - -
- {% else %} -

Inserisci i dati e premi "Esegui Calcolo".

+ +
+ {% for k,v in form.items() %}{% endfor %} + + + + + + + + +
+ + {% if msg_stampa %}
{{ msg_stampa }}
{% endif %} {% endif %}