summaryrefslogtreecommitdiffstats
path: root/src/index.html
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-11-07 18:38:21 +0100
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:12:47 +0100
commitb11ad29876a7c60e3e3e36b4791f010985f38fa4 (patch)
tree4bccdbecff62ecc8889e2ac63c2cfdb3f0c188be /src/index.html
parent701290bb5ea0bc8e68d19f055cd20e58fd071d3a (diff)
FUNCT Add support to dinamically update header time
Diffstat (limited to 'src/index.html')
-rw-r--r--src/index.html24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/index.html b/src/index.html
index 1cd4732..90b9b19 100644
--- a/src/index.html
+++ b/src/index.html
@@ -32,17 +32,19 @@
</div>
</a>
</script>
- <div class="infoContainer">
- <div class="infoItem day">
- TUESDAY
- </div>
- <div class="infoItem hour">
- 7:26 AM
- </div>
- <div class="infoItem wheater">
- <span class="icon-rainy"></span>
- 20ºC
- </div>
+ <div class="infoContainer" id="timeContainer">
+ <script id="time-template" type="x-tmpl-mustache">
+ <div class="infoItem day">
+ {{ day }}
+ </div>
+ <div class="infoItem hour">
+ {{ hour }}
+ </div>
+ <div class="infoItem wheater">
+ <span class="icon-rainy"></span>
+ 20ºC
+ </div>
+ </script>
</div>
<div class="statusContainer" id="networkStatusContainer">
<script id="network-status-template" type="x-tmpl-mustache">