klaassischebrauerei/index.html
2021-03-11 20:48:26 +01:00

84 lines
3.8 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<!--Head-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Brauvorgang</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.1.1.min.js" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://canvasjs.com/assets/script/jquery.canvasjs.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.bundle.min.js "></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body>
<div class="container-fluid h-100">
<div class="row">
<div class="col-12 col-md-6 d-print-none">
<div class="card-header">
<h3>Die letzten 24 Stunden</h3>
</div>
<div class="card card-body">
<canvas id="myChart24h"></canvas>
</div>
</div>
<div class="col-12 col-md-6">
<div class="card-header d-print-none">
<h3>Seit Braubeginn</h3>
</div>
<div class="card card-body">
<canvas id="myChart"></canvas>
</div>
</div>
</div>
<div class="row">
<div class="col-12 col-md-6 d-print-none">
<div class="card-header">
<h3>Die letzten 24 Stunden</h3>
</div>
<div class="card card-body">
<table id="table24h" class="table table-striped table-sm" cellspacing="0" width="100%">
<thead>
<tr>
<th data-field="timestamp" style="display:none">Timestamp</th>
<th data-field="date">Datum</th>
<th data-field="time">Uhrzeit</th>
<th data-field="temp">°C Raum</th>
<th data-field="temp">°C Bier</th>
<th data-field="bubbles">Blasen</th>
</tr>
</thead>
</table>
</div>
</div>
<div class="col-12 col-md-6">
<div class="card-header d-print-none">
<h3>Seit Braubeginn</h3>
</div>
<div class="card card-body">
<table id="table" class="table table-striped table-sm" cellspacing="0" width="100%">
<thead>
<tr>
<th data-field="timestamp" style="display:none">Timestamp</th>
<th data-field="date">Datum</th>
<th data-field="time">Uhrzeit</th>
<th data-field="temp">°C Raum</th>
<th data-field="temp">°C Bier</th>
<th data-field="bubbles">Blasen</th>
</tr>
</thead>
</table>
</div>
</div>
<div class="col-12 col-md-12 d-print-none">
<div class="card card-body">
<button id="export" class="btn btn-secondary" data-export="export">Download CSV</button>
</div>
</div>
</div>
</div>
</body>