Update templates/index.html

This commit is contained in:
2026-01-20 14:38:24 +01:00
parent af7c622e2f
commit 6eb0c4411f

View File

@@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Software Cemento Rev.0</title> <title>Software Cemento Rev.1</title>
<style> <style>
:root { --mac-bg: #f2f2f7; --mac-blue: #007aff; --mac-red: #ff3b30; --mac-green: #34c759; } :root { --mac-bg: #f2f2f7; --mac-blue: #007aff; --mac-red: #ff3b30; --mac-green: #34c759; }
body { font-family: -apple-system, system-ui, sans-serif; background: var(--mac-bg); padding: 20px; font-size: 14px; color: #1c1c1e; } body { font-family: -apple-system, system-ui, sans-serif; background: var(--mac-bg); padding: 20px; font-size: 14px; color: #1c1c1e; }
@@ -23,16 +23,17 @@
.btn { width: 100%; padding: 12px; border-radius: 8px; border: none; font-weight: 600; cursor: pointer; margin-top: 10px; font-size: 15px; color: white; text-transform: uppercase; } .btn { width: 100%; padding: 12px; border-radius: 8px; border: none; font-weight: 600; cursor: pointer; margin-top: 10px; font-size: 15px; color: white; text-transform: uppercase; }
.btn-calc { background: var(--mac-green); } .btn-calc { background: var(--mac-green); }
.btn-exp { background: #5856d6; margin-top: 20px; } .btn-exp { background: #5856d6; }
.btn-cups { background: var(--mac-blue); } .btn-cups { background: var(--mac-blue); }
.res-section { margin-bottom: 15px; } .res-section { margin-bottom: 15px; }
.res-section h4 { margin: 0 0 5px 0; text-transform: uppercase; font-size: 12px; color: #8e8e93; } .res-section h4 { margin: 0 0 5px 0; text-transform: uppercase; font-size: 12px; color: #8e8e93; }
.res-box { background: white; padding: 15px; border-radius: 10px; border: 1px solid #d1d1d6; line-height: 1.6; } .res-box { background: white; padding: 15px; border-radius: 10px; border: 1px solid #d1d1d6; line-height: 1.6; }
hr { border: 0; border-top: 1px solid #d1d1d6; margin: 15px 0; } hr { border: 0; border-top: 1px solid #d1d1d6; margin: 15px 0; }
.msg-ok { color: var(--mac-green); font-weight: bold; text-align: center; margin-top: 10px; } .msg-ok { color: var(--mac-green); font-weight: bold; text-align: center; margin-top: 10px; font-size: 16px; }
.footer-info { margin-top: 20px; text-align: center; font-size: 11px; color: #8e8e93; text-transform: uppercase; letter-spacing: 1px; }
@media print { .no-print { display: none !important; } .res-box { border: none; } } @media print { .no-print { display: none !important; } }
</style> </style>
</head> </head>
<body> <body>
@@ -80,6 +81,7 @@
<button type="submit" class="btn btn-calc">Esegui Calcolo</button> <button type="submit" class="btn btn-calc">Esegui Calcolo</button>
</form> </form>
<div class="footer-info">Versione Software: Rev.1 | Data Rilascio: 20/01/2026</div>
</div> </div>
<div class="panel"> <div class="panel">
@@ -125,8 +127,7 @@
</form> </form>
{% if msg_stampa %}<div class="msg-ok">{{ msg_stampa }}</div>{% endif %} {% if msg_stampa %}<div class="msg-ok">{{ msg_stampa }}</div>{% endif %}
<button onclick="window.print()" class="btn no-print" style="background:#d1d1d6; color:#1c1c1e;">Stampa Pagina</button>
{% else %} {% else %}
<p style="color:#8e8e93; text-align:center;">Inserisci i dati e premi "Esegui Calcolo".</p> <p style="color:#8e8e93; text-align:center;">Inserisci i dati e premi "Esegui Calcolo".</p>
{% endif %} {% endif %}