dashboard fix
This commit is contained in:
@@ -40,8 +40,8 @@
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
margin-bottom: 50px;
|
||||
gap: 15px;
|
||||
margin-bottom: 20px;
|
||||
width: 100%;
|
||||
max-width: 900px;
|
||||
}
|
||||
@@ -93,7 +93,7 @@
|
||||
width: 100%;
|
||||
max-width: 900px;
|
||||
justify-items: center;
|
||||
margin-bottom: 40px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.dashboard-grid-bottom {
|
||||
@@ -203,6 +203,19 @@
|
||||
background-color: #dc2626 !important;
|
||||
/* rosso scuro hover */
|
||||
}
|
||||
|
||||
/* --- Pulsanti grandi (default) --- */
|
||||
.dash-btn-large {
|
||||
padding: 18px 10px;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
/* --- Pulsanti di servizio: più bassi --- */
|
||||
.dash-btn-small {
|
||||
padding: 9px 10px !important;
|
||||
font-size: 1.05rem !important;
|
||||
min-height: 80px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@@ -253,36 +266,47 @@
|
||||
|
||||
<!-- ===== PRIMA RIGA ===== -->
|
||||
<div class="dashboard-grid">
|
||||
<button class="dash-btn btn-programmazione" onclick="location.href='produzione_programmazione.php'">
|
||||
<button class="dash-btn dash-btn-large btn-programmazione" onclick="location.href='produzione_programmazione_drag.php'">
|
||||
<div class="dash-icon">🗓️</div>
|
||||
<div>Programmazione</div>
|
||||
</button>
|
||||
|
||||
<button class="dash-btn btn-status" onclick="location.href='production_line_view.php'">
|
||||
<button class="dash-btn dash-btn-large btn-status" onclick="location.href='production_line_view.php'">
|
||||
<div class="dash-icon">⚙️</div>
|
||||
<div>Line View</div>
|
||||
</button>
|
||||
|
||||
|
||||
<button class="dash-btn btn-statistiche" onclick="location.href='production_stats.php'">
|
||||
<button class="dash-btn dash-btn-large btn-statistiche" onclick="location.href='production_stats.php'">
|
||||
<div class="dash-icon">📈</div>
|
||||
<div>Statistiche</div>
|
||||
</button>
|
||||
|
||||
<button class="dash-btn dash-btn-large btn-manager" onclick="location.href='manager_produzione.php'">
|
||||
<div class="dash-icon">👔</div>
|
||||
<div>Manager</div>
|
||||
</button>
|
||||
|
||||
<button class="dash-btn dash-btn-large btn-manager-stats" onclick="location.href='manager_stats.php'">
|
||||
<div class="dash-icon">📊</div>
|
||||
<div>Manager Stats</div>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- ===== SECONDA RIGA ===== -->
|
||||
<div class="dashboard-grid">
|
||||
<button class="dash-btn btn-mescole" onclick="location.href='mescole.php'">
|
||||
<button class="dash-btn dash-btn-small btn-mescole" onclick="location.href='mescole.php'">
|
||||
<div class="dash-icon">⚗️</div>
|
||||
<div>Mescole</div>
|
||||
</button>
|
||||
|
||||
<button class="dash-btn btn-matrici" onclick="location.href='matrici.php'">
|
||||
<button class="dash-btn dash-btn-small btn-matrici" onclick="location.href='matrici.php'">
|
||||
<div class="dash-icon">🧩</div>
|
||||
<div>Matrici</div>
|
||||
</button>
|
||||
|
||||
<button class="dash-btn btn-linee" onclick="location.href='linee.php'">
|
||||
<button class="dash-btn dash-btn-small btn-linee" onclick="location.href='linee.php'">
|
||||
<div class="dash-icon">🏭</div>
|
||||
<div>Linee di Produzione</div>
|
||||
</button>
|
||||
@@ -291,13 +315,13 @@
|
||||
<!-- ===== TERZA RIGA (solo 2 bottoni centrati) ===== -->
|
||||
<div class="dashboard-grid-bottom">
|
||||
|
||||
<button class="dash-btn btn-inserisci btn-inserisci-status" onclick="location.href='production_status.php'">
|
||||
<button class="dash-btn dash-btn-small btn-inserisci btn-inserisci-status" onclick="location.href='production_status.php'">
|
||||
<div class="dash-icon">📋</div>
|
||||
<div>Status</div>
|
||||
</button>
|
||||
|
||||
|
||||
<button class="dash-btn btn-problem" onclick="location.href='production_pause_reasons.php'">
|
||||
<button class="dash-btn dash-btn-small btn-problem" onclick="location.href='production_pause_reasons.php'">
|
||||
<div class="dash-icon">🛑</div>
|
||||
<div>Cause di Pausa</div>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user