2017-11-30 17:48:30 +01:00
|
|
|
<!DOCTYPE html
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>c-base bar status</title>
|
2017-12-01 12:44:53 +01:00
|
|
|
<script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js"></script>
|
2017-11-30 17:48:30 +01:00
|
|
|
<script src="../node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script>
|
|
|
|
<script src="../dist/infoscreens.js"></script>
|
|
|
|
<link rel="stylesheet" href="../theme/c-base.css">
|
|
|
|
<style>
|
|
|
|
h1 {
|
2017-11-30 18:49:48 +01:00
|
|
|
font-size: 8vmin;
|
2017-11-30 17:48:30 +01:00
|
|
|
width: 100vw;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0px;
|
2017-11-30 18:10:36 +01:00
|
|
|
margin-top: 5vh;
|
2017-11-30 17:48:30 +01:00
|
|
|
padding: 0px;
|
2017-11-30 18:49:48 +01:00
|
|
|
line-height: 10vmin;
|
2017-11-30 17:48:30 +01:00
|
|
|
}
|
|
|
|
h2 {
|
2017-11-30 18:49:48 +01:00
|
|
|
font-size: 3vmin;
|
2017-11-30 17:48:30 +01:00
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
text-align: center;
|
|
|
|
width: 20vw;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
main {
|
2017-11-30 18:10:36 +01:00
|
|
|
margin-top: 5vh;
|
|
|
|
margin-bottom: 5vh;
|
2017-11-30 17:48:30 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
main section {
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
cbase-currentstate {
|
|
|
|
display: block;
|
2017-11-30 18:06:06 +01:00
|
|
|
width: 20vw;
|
|
|
|
height: 20vh;
|
|
|
|
}
|
|
|
|
cbase-time {
|
|
|
|
font-family: 'ceva', sans-serif;
|
|
|
|
margin-top: 10vh;
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2017-11-30 18:49:48 +01:00
|
|
|
font-size: 8vmin;
|
2017-11-30 18:06:06 +01:00
|
|
|
color: #fff;
|
2017-11-30 17:48:30 +01:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
2017-11-30 18:10:36 +01:00
|
|
|
<body class="station">
|
2017-11-30 17:48:30 +01:00
|
|
|
<h1>current drinks status</h1>
|
|
|
|
<main>
|
|
|
|
<section>
|
|
|
|
<h2>bar status</h2>
|
|
|
|
<cbase-currentstate timeseries="bar.open" interval="10"></cbase-currentstate>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>club mate</h2>
|
|
|
|
<cbase-currentstate timeseries="bar.replicator.1" interval="120"></cbase-currentstate>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>berliner 1</h2>
|
|
|
|
<cbase-currentstate timeseries="bar.replicator.2" interval="120"></cbase-currentstate>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>berliner 2</h2>
|
|
|
|
<cbase-currentstate timeseries="bar.replicator.3" interval="120"></cbase-currentstate>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>flora</h2>
|
|
|
|
<cbase-currentstate timeseries="bar.replicator.4" interval="120"></cbase-currentstate>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>premiumcola</h2>
|
|
|
|
<cbase-currentstate timeseries="bar.replicator.5" interval="120"></cbase-currentstate>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>spezi</h2>
|
|
|
|
<cbase-currentstate timeseries="bar.replicator.6" interval="120"></cbase-currentstate>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>kraftmalz</h2>
|
|
|
|
<cbase-currentstate timeseries="bar.replicator.7" interval="120"></cbase-currentstate>
|
|
|
|
</section>
|
|
|
|
</main>
|
2017-11-30 18:06:06 +01:00
|
|
|
<cbase-time interval="1"></cbase-time>
|
2017-11-30 17:48:30 +01:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|