Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e0b89abaea |
@@ -0,0 +1,74 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="it">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Analisi Produzione - Evoluzione</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="app-container">
|
||||
<header class="main-header">
|
||||
<div class="logo">MP-SITE <span class="active">EVOLUTION</span></div>
|
||||
<nav>
|
||||
<a href="index.html">Mappa Stato</a>
|
||||
<a href="analisi.html" class="active">Analisi</a>
|
||||
<a href="sequencer.html">Sequencer</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="content">
|
||||
<div class="kpi-grid">
|
||||
<div class="kpi-card green">
|
||||
<h4>PRODUZIONE TOTALE</h4>
|
||||
<div class="val">124,502</div>
|
||||
</div>
|
||||
<div class="kpi-card">
|
||||
<h4>EFFICIENZA (OEE)</h4>
|
||||
<div class="val">88.4%</div>
|
||||
</div>
|
||||
<div class="kpi-card red">
|
||||
<h4>SCARTI TOTALI</h4>
|
||||
<div class="val">412</div>
|
||||
</div>
|
||||
<div class="kpi-card">
|
||||
<h4>TEMPO DISPONIBILE</h4>
|
||||
<div class="val">22h 15m</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="display: flex; gap: 2rem; flex-wrap: wrap;">
|
||||
<div style="flex: 2; min-width: 500px;">
|
||||
<div class="chart-placeholder">
|
||||
<div class="neon-line-mock"></div>
|
||||
<p>Grafico Storico Produzione (Dettaglio Periodo Selezionato)</p>
|
||||
</div>
|
||||
</div>
|
||||
<div style="flex: 1; min-width: 300px;">
|
||||
<div class="sidebar">
|
||||
<h3 style="margin-bottom: 1rem; color: var(--neon-blue);">Filtri Rapidi</h3>
|
||||
<div style="margin-bottom: 1rem;">
|
||||
<label style="font-size: 0.8rem; color: var(--text-dim);">Linee Attive</label>
|
||||
<div style="margin-top: 0.5rem;">
|
||||
<input type="checkbox" checked> Linea A (Verde) <br>
|
||||
<input type="checkbox" checked> Linea B (Blu) <br>
|
||||
<input type="checkbox"> Linea C (Ambra)
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1rem;">
|
||||
<label style="font-size: 0.8rem; color: var(--text-dim);">Tipo Prodotto</label>
|
||||
<select style="width: 100%; padding: 0.5rem; margin-top: 0.5rem; background: #222; color: white; border: 1px solid var(--border-color);">
|
||||
<option>Tutti i prodotti</option>
|
||||
<option>Codice X100</option>
|
||||
<option>Codice Y200</option>
|
||||
</select>
|
||||
</div>
|
||||
<button style="width: 100%; padding: 0.8rem; background: var(--neon-blue); border: none; border-radius: 4px; font-weight: bold; cursor: pointer;">ESPORTA REPORT</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,102 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="it">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Mappa Stato - Evoluzione</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="app-container">
|
||||
<header class="main-header">
|
||||
<div class="logo">MP-SITE <span class="active">EVOLUTION</span></div>
|
||||
<nav>
|
||||
<a href="index.html" class="active">Mappa Stato</a>
|
||||
<a href="analisi.html">Analisi</a>
|
||||
<a href="sequencer.html">Sequencer</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="content">
|
||||
<div class="dashboard-grid">
|
||||
<!-- Macchina 01 -->
|
||||
<div class="machine-card status-production">
|
||||
<div class="card-header">
|
||||
<span class="machine-name">MACCHINA 01</span>
|
||||
<span class="badge">PROD</span>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="status-indicator">
|
||||
<i class="fa fa-bolt"></i>
|
||||
<span class="status-text">ATTIVA</span>
|
||||
</div>
|
||||
<div class="metrics">
|
||||
<div class="metric-item"><label>Velocità</label><div class="value">145 <small>u/min</small></div></div>
|
||||
<div class="metric-item"><label>Target</label><div class="value">150 <small>u/min</small></div></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer">UPTIME: 12h 45m</div>
|
||||
</div>
|
||||
|
||||
<!-- Macchina 02 -->
|
||||
<div class="machine-card status-alarm">
|
||||
<div class="card-header">
|
||||
<span class="machine-name">MACCHINA 02</span>
|
||||
<span class="badge">ALLARME</span>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="status-indicator">
|
||||
<i class="fa fa-exclamation-triangle"></i>
|
||||
<span class="status-text">FERMO</span>
|
||||
</div>
|
||||
<div class="metrics">
|
||||
<div class="metric-item"><label>Motivo</label><div class="value">Guasto Sensore</div></div>
|
||||
<div class="metric-item"><label>Fermo</label><div class="value">04m 12s</div></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer">ALLARMO ATTIVO</div>
|
||||
</div>
|
||||
|
||||
<!-- Macchina 03 -->
|
||||
<div class="machine-card status-setup">
|
||||
<div class="card-header">
|
||||
<span class="machine-name">MACCHINA 03</span>
|
||||
<span class="badge">SETUP</span>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="status-indicator">
|
||||
<i class="fa fa-tools"></i>
|
||||
<span class="status-text">PREPARAZIONE</span>
|
||||
</div>
|
||||
<div class="metrics">
|
||||
<div class="metric-item"><label>Progresso</label><div class="value">65%</div></div>
|
||||
<div class="metric-item"><label>Operatore</label><div class="value">ID:442</div></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer">IN ATTESA</div>
|
||||
</div>
|
||||
|
||||
<!-- Macchina 04 -->
|
||||
<div class="machine-card status-offline">
|
||||
<div class="card-header">
|
||||
<span class="machine-name">MACCHINA 04</span>
|
||||
<span class="badge">OFFLINE</span>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="status-indicator">
|
||||
<i class="fa fa-power-off"></i>
|
||||
<span class="status-text">DISCONNESSA</span>
|
||||
</div>
|
||||
<div class="metrics">
|
||||
<div class="metric-item"><label>Ultimo Segnale</label><div class="value">02:14:05</div></div>
|
||||
<div class="metric-item"><label>Stato</label><div class="value">N/A</div></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer">DISCONNESSA</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,90 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="it">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Sequencer - Evoluzione</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="app-container">
|
||||
<header class="main-header">
|
||||
<div class="logo">MP-SITE <span class="active">EVOLUTION</span></div>
|
||||
<nav>
|
||||
<a href="index.html">Mappa Stato</a>
|
||||
<a href="analisi.html">Analisi</a>
|
||||
<a href="sequencer.html" class="active">Sequencer</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="content">
|
||||
<div class="sidebar" style="margin-bottom: 2rem;">
|
||||
<h3 style="margin-bottom: 1rem; color: var(--neon-purple);">Controllo Sequenza</h3>
|
||||
<div style="display: flex; gap: 10px;">
|
||||
<button style="flex: 1; padding: 0.5rem; background: var(--neon-red); border: none; border-radius: 4px; font-weight: bold; cursor: pointer;">FORZA RELOAD</button>
|
||||
<select style="padding: 0.5rem; background: #222; color: white; border: 1px solid var(--border-color); border-radius: 4px;">
|
||||
<option>Ultimi 90 Giorni</option>
|
||||
<option>Ultimi 30 Giorni</option>
|
||||
<option>Ultimi 7 Giorni</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card" style="background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem;">
|
||||
<h3 style="margin-bottom: 1rem;">Timeline Transizione Stati</h3>
|
||||
<div class="timeline-container">
|
||||
<div class="timeline-bar">
|
||||
<div class="timeline-segment" style="width: 20%; background: var(--neon-green);"></div>
|
||||
<div class="timeline-segment" style="width: 40%; background: var(--neon-blue);"></div>
|
||||
<div class="timeline-segment" style="width: 30%; background: var(--neon-amber);"></div>
|
||||
<div class="timeline-segment" style="width: 10%; background: var(--neon-red);"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table class="sequencer-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Macchina</th>
|
||||
<th>Stato Attuale</th>
|
||||
<th>Stato Precedente</th>
|
||||
<th>Durata Transizione</th>
|
||||
<th>Evento</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>MACCHINA 01</td>
|
||||
<td><span style="color: var(--neon-green);">Produzione</span></td>
|
||||
<td>Setup</td>
|
||||
<td>00:45</td>
|
||||
<td>Cambio Stampo Completato</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MACCHINA 02</td>
|
||||
<td><span style="color: var(--neon-red);">Allarme</span></td>
|
||||
<td>Produzione</td>
|
||||
<td>00:02</td>
|
||||
<td>Guasto Critico Sensore Prossimità</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MACCHINA 03</td>
|
||||
<td><span style="color: var(--neon-amber);">Setup</span></td>
|
||||
<td>Offline</td>
|
||||
<td>00:12</td>
|
||||
<td>Avviamento Ciclo Manuale</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MACCHINA 04</td>
|
||||
<td><span style="color: #888;">Offline</span></td>
|
||||
<td>Setup</td>
|
||||
<td>--</td>
|
||||
<td>Spegnimento Totale</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,300 @@
|
||||
:root {
|
||||
--bg-color: #0d0d0d;
|
||||
--card-bg: #1a1a1a;
|
||||
--text-main: #e0e0e0;
|
||||
--text-dim: #a0a0a0;
|
||||
--neon-blue: #00f3ff;
|
||||
--neon-purple: #bc13fe;
|
||||
--neon-green: #39ff14;
|
||||
--neon-red: #ff003c;
|
||||
--neon-amber: #ffbf00;
|
||||
--border-color: #333;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-main);
|
||||
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.app-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.main-header {
|
||||
padding: 1rem 2rem;
|
||||
background: rgba(26, 26, 26, 0.8);
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
backdrop-filter: blur(10px);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.logo span {
|
||||
color: var(--neon-blue);
|
||||
text-shadow: 0 0 10px var(--neon-blue);
|
||||
}
|
||||
|
||||
nav a {
|
||||
text-decoration: none;
|
||||
background: transparent;
|
||||
border: 1px solid var(--border-color);
|
||||
color: var(--text-main);
|
||||
padding: 0.5rem 1rem;
|
||||
margin-left: 10px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
nav a:hover, nav a.active {
|
||||
border-color: var(--neon-blue);
|
||||
background: rgba(0, 243, 255, 0.1);
|
||||
box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* Dashboard Grid */
|
||||
.dashboard-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 2rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.machine-card {
|
||||
background: var(--card-bg);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 12px;
|
||||
padding: 1.5rem;
|
||||
position: relative;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.machine-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 10px 20px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 1.5rem;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.machine-name {
|
||||
font-weight: bold;
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
.badge {
|
||||
font-size: 0.7rem;
|
||||
padding: 2px 8px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid currentColor;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.status-indicator {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.status-text {
|
||||
font-weight: bold;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.metrics {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.metric-item label {
|
||||
display: block;
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.metric-item .value {
|
||||
font-size: 1.1rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.metric-item small {
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.card-footer {
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-dim);
|
||||
margin-top: 1rem;
|
||||
border-top: 1px solid var(--border-color);
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
||||
/* Stati Specifici */
|
||||
.status-production {
|
||||
border: 1px solid var(--neon-green);
|
||||
box-shadow: inset 0 0 15px rgba(57, 255, 20, 0.05);
|
||||
}
|
||||
.status-production .status-text { color: var(--neon-green); }
|
||||
.status-production .badge { color: var(--neon-green); }
|
||||
|
||||
.status-alarm {
|
||||
border: 1px solid var(--neon-red);
|
||||
box-shadow: inset 0 0 15px rgba(255, 0, 60, 0.1);
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
@keyframes pulse {
|
||||
0% { border-color: var(--neon-red); }
|
||||
50% { border-color: #ff6666; }
|
||||
100% { border-color: var(--neon-red); }
|
||||
}
|
||||
.status-alarm .status-text { color: var(--neon-red); }
|
||||
.status-alarm .badge { color: var(--neon-red); }
|
||||
|
||||
.status-setup {
|
||||
border: 1px solid var(--neon-amber);
|
||||
}
|
||||
.status-setup .status-text { color: var(--neon-amber); }
|
||||
.status-setup .badge { color: var(--neon-amber); }
|
||||
|
||||
.status-offline {
|
||||
border: 1px solid #444;
|
||||
opacity: 0.8;
|
||||
}
|
||||
.status-offline .status-text { color: #888; }
|
||||
.status-offline .badge { color: #888; }
|
||||
|
||||
/* Analytics & Sequencer Styles */
|
||||
.sidebar {
|
||||
width: 260px;
|
||||
background: rgba(30, 30, 30, 0.9);
|
||||
border: 1px solid var(--border-color);
|
||||
padding: 1.5rem;
|
||||
border-radius: 12px;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
.kpi-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.kpi-card {
|
||||
padding: 1.5rem;
|
||||
background: var(--card-bg);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 12px;
|
||||
border-left: 4px solid var(--neon-blue);
|
||||
}
|
||||
|
||||
.kpi-card.green { border-left-color: var(--neon-green); }
|
||||
.kpi-card.red { border-left-color: var(--neon-red); }
|
||||
|
||||
.kpi-card h4 {
|
||||
color: var(--text-dim);
|
||||
font-size: 0.8rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.kpi-card .val {
|
||||
font-size: 2rem;
|
||||
font-weight: bold;
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
.sequencer-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.sequencer-table th {
|
||||
text-align: left;
|
||||
padding: 1rem;
|
||||
border-bottom: 2px solid var(--border-color);
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.sequencer-table td {
|
||||
padding: 1rem;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.timeline-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.timeline-bar {
|
||||
height: 30px;
|
||||
background: #222;
|
||||
border-radius: 4px;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.timeline-segment {
|
||||
height: 100%;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.chart-placeholder {
|
||||
height: 400px;
|
||||
border: 2px dashed var(--border-color);
|
||||
border-radius: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 2rem;
|
||||
background: rgba(255,255,255,0.02);
|
||||
}
|
||||
|
||||
.neon-line-mock {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, transparent 0%, rgba(0, 243, 255, 0.1) 50%, transparent 100%);
|
||||
clip-path: polygon(0% 100%, 20% 80%, 40% 90%, 60% 40%, 80% 50%, 100% 0%);
|
||||
opacity: 0.3;
|
||||
}
|
||||
Reference in New Issue
Block a user