summaryrefslogtreecommitdiff
path: root/frontend/index.html
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-11-04 20:29:15 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-11-04 20:29:15 -0300
commitb49e9024a5bb595701b5300772b55b703b6b7856 (patch)
tree645a2fc309a0e81dc071cacc64ed302619771412 /frontend/index.html
parent48ffb49e0913dc7a94c3bdfb0c0cf69e4b8f0235 (diff)
parenta86fa3cf1e041e30ab0bae7dc6074087349dd226 (diff)
Merge branch 'master' of https://github.com/Simplesmente-O-Grupo/iot-monitoring
Diffstat (limited to 'frontend/index.html')
-rw-r--r--frontend/index.html123
1 files changed, 123 insertions, 0 deletions
diff --git a/frontend/index.html b/frontend/index.html
new file mode 100644
index 0000000..cd31566
--- /dev/null
+++ b/frontend/index.html
@@ -0,0 +1,123 @@
+<!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> Current Data</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>Temperature</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>Humidity</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>Wild</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>Pressure</p>
+ </div>
+ </div>
+
+ </nav>
+
+ <footer class="sidebar-footer">
+ <button id="toggleUpdatesBtn">
+ <i class="fas fa-cog"></i> <span>Settings</span>
+ </button>
+ </footer>
+ </aside>
+
+ <main class="main-content">
+ <h1>Monitoring Dashboard</h1>
+
+ <section class="charts-grid">
+
+ <div class="chart-card large">
+ <h3>Temperature and Pressure (Last 30s)</h3>
+ <canvas id="graficoTempPressao"></canvas>
+ </div>
+
+ <div class="chart-card">
+ <h3>Humidity</h3>
+ <div class="gauge-container">
+ <canvas id="graficoUmidade"></canvas>
+ <div id="umidadeText" class="gauge-text">--%</div>
+ </div>
+ </div>
+
+ <div class="chart-card">
+ <h3>UV Indice</h3>
+ <div class="gauge-container">
+ <canvas id="graficoUv"></canvas>
+ <div id="uvText" class="gauge-text">--</div>
+ </div>
+ </div>
+
+ <div class="chart-card">
+ <h3>Wild Speed</h3>
+ <canvas id="graficoVento"></canvas>
+ </div>
+
+ <div class="chart-card">
+ <h3>Visibility</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