infoscreens/bar-history/index.html
2017-11-30 21:45:25 +01:00

56 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>c-base bar stats</title>
<script src="../node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script>
<script src="../node_modules/plotly.js/dist/plotly.min.js"></script>
<script src="../dist/infoscreens.js"></script>
<link rel="stylesheet" href="../theme/c-base.css">
<style>
h1 {
font-size: 8vmin;
width: 100vw;
text-align: center;
margin: 0px;
padding: 0px;
line-height: 10vmin;
}
main {
display: flex;
width: 100vw;
height: 98vh;
align-items: center;
justify-content: center;
flex-direction: column;
}
p {
font-size: 6vmin;
margin: 0px;
padding: 0px;
width: 80vw;
text-align: center;
}
cbase-polar {
height: 72vmin;
width: 72vmin;
}
@media (orientation: portrait) {
p {
width: 95vw;
font-size: 5vmin;
}
}
</style>
</head>
<body>
<main>
<h1>bar historical data</h1>
<cbase-polar timeseries="bar.open" days="90" size="72" percentage></cbase-polar>
<p>
Likelihood of bar being open at a given hour. Based on last 90 days.
</p>
</main>
</body>
</html>