infoscreens/internet/index.html

61 lines
1.6 KiB
HTML
Raw Normal View History

2017-11-30 23:51:24 +01:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>c-base network traffic</title>
<script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js"></script>
2017-11-30 23:51:24 +01:00
<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>
2017-12-05 14:05:47 +01:00
main {
display: flex;
width: 98vw;
height: 90vh;
align-items: center;
justify-content: center;
flex-direction: column;
}
h2 {
text-align: center;
}
cbase-linechart {
height: 80vh;
}
2017-12-04 19:16:02 +01:00
#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;
2017-11-30 23:51:24 +01:00
font-size: 6vmin;
2017-12-04 19:16:02 +01:00
line-height: 10vh;
color: #fff;
margin: 0px;
padding: 0px;
2017-11-30 23:51:24 +01:00
}
</style>
</head>
2017-12-01 19:31:04 +01:00
<body class="station">
2017-12-05 14:05:47 +01:00
<main>
<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>
2017-12-04 19:16:02 +01:00
<cbase-time id="current-time" interval="1" format="HH:MM"></cbase-time>
2017-11-30 23:51:24 +01:00
</body>
</html>