This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
spark-art-dashboard/index.html

56 lines
2.2 KiB
HTML
Raw Normal View History

2018-09-11 23:05:37 +01:00
<!DOCTYPE html>
2018-09-07 18:20:45 +01:00
<html>
2018-09-11 23:05:37 +01:00
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Spark ART Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.diogo.site/projects/excalibur_template/assets/css/main.css">
<style>
#chart-container {
display: flex;
flex-direction: column;
width: 100%;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
#chart-container > canvas {
height: 400px;
}
</style>
</head>
2018-09-07 18:20:45 +01:00
<body>
2018-09-11 23:05:37 +01:00
<header id="header">
<nav id="side-menu">
<label for="show-menu" id="menu-button">Menu</label>
<input id="show-menu" role="button" type="checkbox">
<ul id="menu">
<li><a href="#" class="current">Stats</a></li>
</ul>
</nav>
<h1>ART Dashboard</h1>
<div id="ingestion-rate-box">
<label for="ingestion-rate-controller">Ingestion Rate</label>
<input id="ingestion-rate" type="number">
<input id="ingestion-rate-update" type="submit" value="Update">
</div>
2018-09-11 23:05:37 +01:00
</header>
2018-09-07 18:20:45 +01:00
<div id="chart-container">
<canvas id="chart-ingestionRate"></canvas>
<canvas id="chart-Accuracy (%)"></canvas>
<canvas id="chart-cost"></canvas>
<canvas id="chart-Window (ms)"></canvas>
<canvas id="chart-Delay (ms)"></canvas>
<canvas id="chart-execTime (ms)"></canvas>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chartjs-plugin-annotation/0.5.7/chartjs-plugin-annotation.min.js"></script>
2018-09-07 18:20:45 +01:00
<script src="chart.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.1.1/socket.io.slim.js"></script>
<script src="ingestion-rate.js"></script>
2018-09-11 23:05:37 +01:00
<footer id="footer">
<p><a href="https://github.com/diogogithub/spark-art-dashboard">ART Dashboard</a> and <a href="https://github.com/diogogithub/excalibur_template/">Excalibur template</a> by <a href="https://www.diogo.site/">Diogo Cordeiro</a> - <a href="https://www.inesc-id.pt/">INESC-ID</a>
2018-09-11 23:05:37 +01:00
</footer>
2018-09-07 18:20:45 +01:00
</body>
</html>