Tweak network traffic screen

This commit is contained in:
Henri Bergius 2017-12-05 14:05:47 +01:00
parent 9a4ae9d7b9
commit 27eef49739

View file

@ -9,6 +9,20 @@
<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>
main {
display: flex;
width: 98vw;
height: 90vh;
align-items: center;
justify-content: center;
flex-direction: column;
}
h2 {
text-align: center;
}
cbase-linechart {
height: 80vh;
}
#screen-title { #screen-title {
text-align: left; text-align: left;
padding-left: 3vw; padding-left: 3vw;
@ -35,8 +49,11 @@
</style> </style>
</head> </head>
<body class="station"> <body class="station">
<cbase-linechart timeseries="echelon.kdg.rx echelon.kdg.tx echelon.ipb.rx echelon.ipb.tx" width="98" height="90"></cbase-linechart> <main>
<h1 id="screen-title">c-base network traffic</h1> <h2>network traffic</h2>
<cbase-linechart timeseries="echelon.kdg.rx echelon.kdg.tx echelon.ipb.rx echelon.ipb.tx" width="98" height="80"></cbase-linechart>
</main>
<h1 id="screen-title">c-base space station</h1>
<cbase-time id="current-time" interval="1" format="HH:MM"></cbase-time> <cbase-time id="current-time" interval="1" format="HH:MM"></cbase-time>
</body> </body>
</html> </html>