Update templates/index.html
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Software Cemento Rev.0</title>
|
||||
<title>Software Cemento Rev.1</title>
|
||||
<style>
|
||||
: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; }
|
||||
@@ -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-calc { background: var(--mac-green); }
|
||||
.btn-exp { background: #5856d6; margin-top: 20px; }
|
||||
.btn-exp { background: #5856d6; }
|
||||
.btn-cups { background: var(--mac-blue); }
|
||||
|
||||
.res-section { margin-bottom: 15px; }
|
||||
.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; }
|
||||
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>
|
||||
</head>
|
||||
<body>
|
||||
@@ -80,6 +81,7 @@
|
||||
|
||||
<button type="submit" class="btn btn-calc">Esegui Calcolo</button>
|
||||
</form>
|
||||
<div class="footer-info">Versione Software: Rev.1 | Data Rilascio: 20/01/2026</div>
|
||||
</div>
|
||||
|
||||
<div class="panel">
|
||||
@@ -126,7 +128,6 @@
|
||||
|
||||
{% 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 %}
|
||||
<p style="color:#8e8e93; text-align:center;">Inserisci i dati e premi "Esegui Calcolo".</p>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user