<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<style>
.page-holder {
min-height: 100vh;
}
#timer {
width: 60%;
margin: 0 auto; }
#timer {
/* background: rgba(0, 0, 0, 0.5); */
/* border: 1px solid rgb(255,255, 255); */
width: 90%; }
#timer .time {
width: 25%;
font-size: 40px;
font-weight: 500;
border-left: 3px solid rgba(0, 0, 0, 0.3);
color: #fff;
margin-bottom: 0; }
@media (max-width: 991.98px) {
#timer .time {
font-size: 30px; } }
#timer .time:first-child {
border-left: transparent; }
#timer .time span {
font-size: 12px;
display: block;
color: #fff;
letter-spacing: 2px;
text-transform: uppercase; }
.text-center {
text-align: center !important;
}
.d-flex {
padding: 15px;
margin: auto;
display: -webkit-box !important;
display: -ms-flexbox !important;
display: flex !important;
}
.bg-cover {
background-size: cover !important;
}
.vertical-center {
min-height: 100%; /* Fallback for browsers do NOT support vh unit */
min-height: 100vh; /* These two lines are counted as one :-) */
display: flex;
align-items: center;
}
.bg-text {
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
color: white;
font-weight: bold;
border: 3px solid #f1f1f1;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
width: 80%;
padding: 20px;
text-align: center;
}
</style>
</head>
<body>
<div style="background: url(water.jpg)" class="page-holder bg-cover">
<img src='logo.png' style="margin-top: 15px;margin-left:15px;" />
<div class="bg-text" style="border-radius: 25px;">
<div id="timer">
<div class="d-flex">
<div class="time" id="days">{{ devices }}<span>Devices Installed</span></div>
<div class="time pl-3" id="hours">{{ alarms }}<span>Alarms Prevented</span></div>
<div class="time pl-3" id="minutes">{{ tracked }}<span>m3 Water tracked</span></div>
<div class="time pl-3" id="minutes"> <span><a href="https://portal.h2o.fi" class="btn btn-secondary" style="border-radius:25px;color: #fff; ">See How... manage.h2o.fi</a> </span></div>
</div></div>
</div>
</div>
</body>
</html>