summaryrefslogtreecommitdiff
path: root/dashboard_website/templates/controls.html
blob: 253e6c775e6f1d13e00fe43d47f8d69935c71222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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="loadSave()">Upload</button>
    </form>
</body>

</html>