summaryrefslogtreecommitdiff
path: root/dashboard_website/templates/controls.html
diff options
context:
space:
mode:
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