summaryrefslogtreecommitdiff
path: root/dashboard_website/templates
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard_website/templates')
-rw-r--r--dashboard_website/templates/controls.html14
-rw-r--r--dashboard_website/templates/index.html9
2 files changed, 21 insertions, 2 deletions
diff --git a/dashboard_website/templates/controls.html b/dashboard_website/templates/controls.html
index 97b3b06..be5f659 100644
--- a/dashboard_website/templates/controls.html
+++ b/dashboard_website/templates/controls.html
@@ -10,8 +10,10 @@
<body>
<a href="..">Back</a> <br>
+<hr>
<button onclick="downloadCurrent()">Download Current Savefile (.CSV)</button>
<br>
+<br>
<form id="dirty" name="dirty">
<label for="dirtyfile">Choose dirty clue list to upload</label>
<input id="dirtyfile" name="dirtyfile" type="file" accept=".csv,.CSV"/>
@@ -23,6 +25,18 @@
<input id="cleanfile" name="cleanfile" type="file" accept=".csv,.CSV"/>
<button type="button" onclick="loadSave()">Upload</button>
</form>
+<br>
+<form id="home" name="home">
+ <label for="longitude">Longitude</label>
+ <input id="longitude" name="longitude" autocomplete="off"/>
+ <label for="latitude">Latitude</label>
+ <input id="latitude" name="latitude" autocomplete="off"/>
+ <button type="button" onclick="setHome()">Set Home Location</button>
+</form>
+<br>
+<form id="routes" name="routes">
+ <button type="button" onclick="generateRoutes()">Generate Routes</button>
+</form>
</body>
</html> \ No newline at end of file
diff --git a/dashboard_website/templates/index.html b/dashboard_website/templates/index.html
index fc61472..9c604e0 100644
--- a/dashboard_website/templates/index.html
+++ b/dashboard_website/templates/index.html
@@ -136,8 +136,11 @@
<div class="left-column">
<div class="page-title">
- <h1 style="color:white;margin: 0px;margin-left:15px">CLUBHOUSE HQ | <span id="titletime"
- style="color:lightgray"></span>
+ <h1 style="color:white;margin: 0px;margin-left:15px">
+ CLUBHOUSE HQ |
+ <span id="titletime" style="color:lightgray; display:inline-block; width: 350px;"></span> |
+ <input id="searchfilter" style="vertical-align: middle;" placeholder="Filter clues" onchange="filterClues(this.value)" onkeyup="filterClues(this.value)" autocomplete=off/> |
+ <a style="font-size:14pt; vertical-align: middle;" href="/controls">Settings</a>
</h1>
</div>
<div class="map-frame">
@@ -174,11 +177,13 @@
<hr style="width:100%;padding:0px;"/>
<div style="margin:5px;display:flex;flex-direction:row"><span>Clue Name: </span> <input type="input"
id="new_clue_name"
+ autocomplete=off
style="flex:1;"
placeholder="e.g., C34"/>
</div>
<div style="margin:5px;display:flex;flex-direction:row"><span>Clue Information: </span> <input type="input"
id="new_clue_info"
+ autocomplete=off
style="flex:1;"
placeholder="e.g., Savenor's Butcher"/>
</div>