Initial web components
This commit is contained in:
parent
bfaa701f18
commit
5f80f9e816
6 changed files with 407 additions and 1 deletions
33
screens/test.html
Normal file
33
screens/test.html
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Components test</title>
|
||||
<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 href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
background-color: rgba(0, 0, 0, 0.98);
|
||||
color: #fff;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
main {
|
||||
display: grid;
|
||||
grid-template-columns: 50vw 50vw;
|
||||
grid-template-rows: 80vh 80vh;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<cbase-heatmap timeseries="crew.online" interpolate></cbase-heatmap>
|
||||
<cbase-polar timeseries="bar.open" days=90 percentage></cbase-polar>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue