summaryrefslogtreecommitdiff
path: root/dashboard_website
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard_website')
-rw-r--r--dashboard_website/static/js/dashboard.js5
-rw-r--r--dashboard_website/templates/index.html4
2 files changed, 7 insertions, 2 deletions
diff --git a/dashboard_website/static/js/dashboard.js b/dashboard_website/static/js/dashboard.js
index cb941f8..b54f65f 100644
--- a/dashboard_website/static/js/dashboard.js
+++ b/dashboard_website/static/js/dashboard.js
@@ -173,6 +173,11 @@ var intervalId = window.setInterval(function(){
requestLatestInfo();
}, 5000);
+var clockINterval = window.setInterval(function(){
+ var d = new Date();
+ document.getElementById("titletime").innerText = d.toLocaleString();
+}, 1000);
+
// RUN ON PAGE LOAD
window.onload = function() {
clues = {}; bikes = {};
diff --git a/dashboard_website/templates/index.html b/dashboard_website/templates/index.html
index c166765..1317145 100644
--- a/dashboard_website/templates/index.html
+++ b/dashboard_website/templates/index.html
@@ -136,13 +136,13 @@
<div class="left-column">
<div class="page-title">
- <h1 style="color:white;margin: 0px;margin-left:15px">CLUBHOUSE HQ</h1>
+ <h1 style="color:white;margin: 0px;margin-left:15px">CLUBHOUSE HQ | <span id="titletime" style="color:lightgray"></span></h1>
</div>
<div class="map-frame">
<div id="map"></div>
</div>
<div class="route-controls">
- <span style="margin:-1px;margin-left:5px;margin-top:5px;">ROUTE CONTROLS</span>
+ <span style="margin:-1px;margin-left:5px;margin-top:5px;">ROUTE PARAMETERS</span>
<hr style="width:100%;padding:0px;"/>
</div>
</div>