From 6433e722e2cb48deed4407c46d1e2aad2c57a61c Mon Sep 17 00:00:00 2001 From: francesco Date: Tue, 20 Jan 2026 15:12:06 +0100 Subject: [PATCH] Update templates/index.html --- templates/index.html | 58 +++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 33 deletions(-) diff --git a/templates/index.html b/templates/index.html index 8f3ea3d..1fc0f92 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,37 +2,29 @@ - Software Cemento V 1.2 @@ -46,25 +38,19 @@ Profondità - +
Miscela (Parti)
Cemento:
Sabbia:
Ghiaia:
Cem:
Sab:
Ghi:
- - -
Peso sacchette (Kg)
Cem:Sab:Ghi:
- - -
Costo sacchette (€)
Cem:Sab:Ghi:
-
Attrezzatura
Volume Betoniera: L
- +

Risultati

{% if res %}
- Volume: {{ res.vol }} m³ | Peso: {{ res.peso }} Kg + DIMENSIONI GETTO: {{res.dim.a}} {{res.dim.ua}} x {{res.dim.l}} {{res.dim.ul}} x {{res.dim.p}} {{res.dim.up}}
+ VOLUME: {{ res.vol }} m³ | Peso: {{ res.weight }} Kg

ACQUISTI

@@ -77,6 +63,11 @@

COSTO TOTALE: {{ res.costo_tot }} €


+
+

PROPORZIONI (%)

+ Cem: {{ "%.1f"|format(res.perc.cem) }}% | Sab: {{ "%.1f"|format(res.perc.sab) }}% | Ghi: {{ "%.1f"|format(res.perc.ghi) }}% +
+

PER OGNI CARICO ({{ res.n_c }} CARICHI):

    @@ -89,6 +80,10 @@
{% for k,v in form.items() %}{% endfor %} + + + + @@ -97,11 +92,8 @@ -
{% if msg_stampa %}

{{ msg_stampa }}

{% endif %} - {% else %} -

Inserisci i dati e calcola.

{% endif %}