Cleaner network traffic screen

This commit is contained in:
Henri Bergius 2017-12-04 19:16:02 +01:00
parent fb84cbf545
commit 854f60edb1

View file

@ -9,19 +9,35 @@
<script src="../dist/infoscreens.js"></script> <script src="../dist/infoscreens.js"></script>
<link rel="stylesheet" href="../theme/c-base.css"> <link rel="stylesheet" href="../theme/c-base.css">
<style> <style>
h1 { #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;
}
cbase-time, h1 {
font-family: 'ceva', sans-serif;
font-weight: normal;
font-size: 6vmin; font-size: 6vmin;
width: 100vw; line-height: 10vh;
text-align: center; color: #fff;
margin-bottom: 0px; margin: 0px;
padding-bottom: 0px; padding: 0px;
line-height: 6vmin;
} }
</style> </style>
</head> </head>
<body class="station"> <body class="station">
<h1>c-base network traffic</h1>
<cbase-linechart timeseries="echelon.kdg.rx echelon.kdg.tx echelon.ipb.rx echelon.ipb.tx" width="98" height="90"></cbase-linechart> <cbase-linechart timeseries="echelon.kdg.rx echelon.kdg.tx echelon.ipb.rx echelon.ipb.tx" width="98" height="90"></cbase-linechart>
<h1 id="screen-title">c-base network traffic</h1>
<cbase-time id="current-time" interval="1" format="HH:MM"></cbase-time>
</body> </body>
</html> </html>