Add current time
This commit is contained in:
parent
da5822f297
commit
451ff469ca
1 changed files with 13 additions and 2 deletions
|
@ -37,8 +37,18 @@
|
||||||
}
|
}
|
||||||
cbase-currentstate {
|
cbase-currentstate {
|
||||||
display: block;
|
display: block;
|
||||||
width: 240px;
|
width: 20vw;
|
||||||
height: 160px;
|
height: 20vh;
|
||||||
|
}
|
||||||
|
cbase-time {
|
||||||
|
font-family: 'ceva', sans-serif;
|
||||||
|
margin-top: 10vh;
|
||||||
|
display: block;
|
||||||
|
text-align: center;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
font-size: 8vh;
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
@ -78,6 +88,7 @@
|
||||||
<cbase-currentstate timeseries="bar.replicator.7" interval="120"></cbase-currentstate>
|
<cbase-currentstate timeseries="bar.replicator.7" interval="120"></cbase-currentstate>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
<cbase-time interval="1"></cbase-time>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue