diff options
| author | Luiz Gustavo Monteiro <luizgu_mreis@hotmail.com> | 2025-11-04 19:38:55 -0300 |
|---|---|---|
| committer | Luiz Gustavo Monteiro <luizgu_mreis@hotmail.com> | 2025-11-04 19:38:55 -0300 |
| commit | 828101d5b5c0341ad3030d61ef61427e66a0c11c (patch) | |
| tree | 692a5b718b25e87f3ff82414d8cd9adf283e98ce /frontend/index.html | |
| parent | c13bbb0cd30286dc515002900bb10493f2a89b09 (diff) | |
| parent | 398af42e0a4ba93992ced5182dcf77463f398047 (diff) | |
Merge branch 'master' of https://github.com/Simplesmente-O-Grupo/iot-monitoring
Diffstat (limited to 'frontend/index.html')
| -rw-r--r-- | frontend/index.html | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/frontend/index.html b/frontend/index.html new file mode 100644 index 0000000..237f2f7 --- /dev/null +++ b/frontend/index.html @@ -0,0 +1,124 @@ +<!DOCTYPE html> +<html lang="pt-br"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Dashboard</title> + + <link rel="preconnect" href="https://fonts.googleapis.com"> + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> + <link href="https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700&display=swap" rel="stylesheet"> + + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> + + <link rel="stylesheet" href="style.css"> +</head> +<body> + + <div class="dashboard-container"> + + <aside class="sidebar"> + <header class="sidebar-header"> + <h2>Dashboard</h2> + <span>Iot Monitoration</span> + </header> + + <nav class="sidebar-nav"> + <h3><i class="fas fa-satellite-dish"></i> Dados Atuais</h3> + + <div class="data-widget"> + <div class="widget-icon icon-temp"> + <i class="fas fa-thermometer-half"></i> + </div> + <div class="widget-info"> + <span id="currentTemp">--.- °C</span> + <p>Temperatura</p> + </div> + </div> + + <div class="data-widget"> + <div class="widget-icon icon-humidity"> + <i class="fas fa-tint"></i> + </div> + <div class="widget-info"> + <span id="currentHumidity">-- %</span> + <p>Umidade</p> + </div> + </div> + + <div class="data-widget"> + <div class="widget-icon icon-wind"> + <i class="fas fa-wind"></i> + </div> + <div class="widget-info"> + <span id="currentWind">--.- km/h</span> + <p>Vento</p> + </div> + </div> + + <div class="data-widget"> + <div class="widget-icon icon-pressure"> + <i class="fas fa-tachometer-alt"></i> + </div> + <div class="widget-info"> + <span id="currentPressure">---- hPa</span> + <p>Pressão</p> + </div> + </div> + + </nav> + + <footer class="sidebar-footer"> + <button id="toggleUpdatesBtn"> + <i class="fas fa-pause"></i> <span>Pausar</span> + </button> + <p>Status: <span id="statusText">Monitorando...</span></p> + </footer> + </aside> + + <main class="main-content"> + <h1>Painel de Monitoramento</h1> + + <section class="charts-grid"> + + <div class="chart-card large"> + <h3>Temperatura & Pressão (Últimos 30s)</h3> + <canvas id="graficoTempPressao"></canvas> + </div> + + <div class="chart-card"> + <h3>Umidade</h3> + <div class="gauge-container"> + <canvas id="graficoUmidade"></canvas> + <div id="umidadeText" class="gauge-text">--%</div> + </div> + </div> + + <div class="chart-card"> + <h3>Índice UV</h3> + <div class="gauge-container"> + <canvas id="graficoUv"></canvas> + <div id="uvText" class="gauge-text">--</div> + </div> + </div> + + <div class="chart-card"> + <h3>Velocidade do Vento</h3> + <canvas id="graficoVento"></canvas> + </div> + + <div class="chart-card"> + <h3>Visibilidade</h3> + <canvas id="graficoVisibilidade"></canvas> + </div> + + </section> + </main> + </div> + + <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> + <script src="https://cdn.jsdelivr.net/npm/chartjs-adapter-date-fns"></script> + + <script src="script.js"></script> +</body> +</html>
\ No newline at end of file |
