aboutsummaryrefslogtreecommitdiff
path: root/web/http/index.html
blob: 47ccc0da7298270b328b524d8ecfab960365dc05 (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
27
28
29
30
31
32
33
34
35
<!doctype html>
<html lang="en-US">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>Nissy - H48 solver POC</title>
    <script type="module" src="./nissyapp.mjs"></script>
  </head>
  <body>
    <input id="scrambleText" placeholder="Type the scramble here...">
    <select id="solverSelector">
      <option value="h48h0k4">h48 h=0 k=4 (59Mb)</option>
      <option value="h48h3k2" selected="selected">h48 h=3 k=2 (283Mb)</option>
      <option value="h48h7k2">h48 h=7 k=2 (3.6Gb)</option>
    </select>
    <button id="solveButton">Solve</button>
    <div id="confirmDownload" style="display:none">
      <p id="confirmDownloadText">
        For this solver to work, a large data table is required.
        You can either download it or generate it locally.
      </p>
      <p id="confirmDownloadExtraText">
        In either case, this data will be stored locally for future use. You
        can delete it at any time by clearing your browser's data.
      </p>
      <button id="confirmDownloadCancel">Cancel</button>
      <button id="confirmDownloadConfirm">Download</button>
      <button id="confirmDownloadGenerate">Generate locally</button>
    </div>
    <p id="resultsLabel"></p>
    <p id="results"></p>
    <button id="toggleShowLog">Show nissy log messages</button>
    <p id="logPane" style="display:none"></p>
  </body>
</html>

Generated with cgit - Back to sebastiano.tronto.net