<!DOCTYPE html <html> <head> <meta charset="utf-8"> <title>c-base bar status</title> <script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js"></script> <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> h2 { font-size: 3vmin; margin: 0px; padding: 0px; text-align: center; width: 20vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } main { margin-top: 5vh; margin-bottom: 5vh; display: flex; height: 50vh; align-items: center; justify-content: center; flex-direction: row; flex-wrap: wrap; } main section { margin: 2px; } cbase-linechart { margin-left: auto; margin-right: auto; display: block; width: 90vw; height: 40vh; } cbase-currentstate { display: block; width: 20vw; height: 20vh; color: #000; font-family: 'ceva', sans-serif; text-align: center; font-size: 4vmin; line-height: 20vh; } cbase-time, h1 { font-family: 'ceva', sans-serif; font-weight: normal; font-size: 6vmin; line-height: 10vh; color: #fff; margin: 0px; padding: 0px; } #screen-title { text-align: left; padding-left: 3vw; position: absolute; left: 0px; bottom: 0px; } #current-time { position: absolute; right: 0px; bottom: 0px; text-align: right; padding-right: 3vw; } </style> </head> <body class="station"> <main> <section> <cbase-currentstate timeseries="bar.open" interval="10">bar status</cbase-currentstate> </section> <section> <cbase-currentstate timeseries="bar.replicator.1" interval="120">club mate</cbase-currentstate> </section> <section> <cbase-currentstate timeseries="bar.replicator.2" interval="120">berliner 1</cbase-currentstate> </section> <section> <cbase-currentstate timeseries="bar.replicator.3" interval="120">berliner 2</cbase-currentstate> </section> <section> <cbase-currentstate timeseries="bar.replicator.4" interval="120">flora</cbase-currentstate> </section> <section> <cbase-currentstate timeseries="bar.replicator.5" interval="120">premiumcola</cbase-currentstate> </section> <section> <cbase-currentstate timeseries="bar.replicator.6" interval="120">spezi</cbase-currentstate> </section> <section> <cbase-currentstate timeseries="bar.replicator.7" interval="120">kraftmalz</cbase-currentstate> </section> </main> <cbase-linechart timeseries="bar.open crew.online" shape="vhv" width="84" height="30" days="2"></cbase-linechart> <h1 id="screen-title">c-base space station</h1> <cbase-time id="current-time" interval="1" format="HH:MM"></cbase-time> </body> </html>