summaryrefslogtreecommitdiff
path: root/dashboard_website/templates/controls.html
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2023-11-18 06:18:23 -0500
committerAnson Bridges <bridges.anson@gmail.com>2023-11-18 06:18:23 -0500
commitc560de266caad6db97e58757ca43e8558c103c01 (patch)
tree852deb7079d616042a255c906a9196b135ca0bba /dashboard_website/templates/controls.html
parent939f7a093dadfa89ac1bbe43b0c9fded404c1ad5 (diff)
csv import, manual visiting
Diffstat (limited to 'dashboard_website/templates/controls.html')
-rw-r--r--dashboard_website/templates/controls.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/dashboard_website/templates/controls.html b/dashboard_website/templates/controls.html
new file mode 100644
index 0000000..2ad3adc
--- /dev/null
+++ b/dashboard_website/templates/controls.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html style="height:100%">
+
+<head>
+ <title>MMCH Controls</title>
+ <link rel="icon" type="image/x-icon" href="/static/img/favicon.ico">
+
+ <script src="{{ url_for('static', filename='js/controls.js') }}"></script>
+</head>
+
+<body>
+ <a href="..">Back</a> <br>
+ <button onclick="downloadCurrent()">Download Current Savefile (.CSV)</button> <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" />
+ <button type="button" onclick="loadDirty()">Upload</button>
+ </form> <br>
+ <form id="clean" name="clean">
+ <label for="cleanfile">Choose save file to upload (will overwrite)</label>
+ <input id="cleanfile" name="cleanfile" type="file" accept=".csv,.CSV" />
+ <button type="button" onclick="loadClean()">Upload</button>
+ </form>
+</body>
+
+</html> \ No newline at end of file