Add current time

This commit is contained in:
Henri Bergius 2017-11-30 18:06:06 +01:00
parent da5822f297
commit 451ff469ca

View file

@ -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>