diff options
| author | Jan Tuomi <jan.tuomi@eficode.com> | 2019-07-03 13:55:24 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@eficode.com> | 2019-07-03 13:55:24 +0300 |
| commit | 44d1990a9947bc4fe9b8bb3902d9aec0441c9f77 (patch) | |
| tree | 445b0ad5e8c6d679e3472c2c628bc0d586f811c0 /public/index.html | |
| parent | a5cc8ad12ba5ba5450cbcbac289709f9835c4196 (diff) | |
Implement web UI
Diffstat (limited to 'public/index.html')
| -rw-r--r-- | public/index.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..bf0f921 --- /dev/null +++ b/public/index.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html> + <head> + <title>Convert 5eTools JSON output to DnDAppFile XML</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,600&display=swap" rel="stylesheet"> + <link rel="stylesheet" href="style.css"> + </head> + <body> + <h1>Convert 5eTools JSON output to DnDAppFile XML</h1> + <div class="container"> + <div class="column"> + <h3>JSON input</h3> + <textarea id="jsonInput"></textarea> + <input type="file" id="jsonUploadInput" name="inputJson" /> + <button disabled role="button" id="convertButton">Convert</button> + </div> + <div class="column"> + <h3>XML output</h3> + <textarea id="xmlOutput"></textarea> + <button disabled role="button" id="xmlDownloadButton">Download XML as file</button> + </div> + </div> + <script src="https://unpkg.com/axios/dist/axios.min.js"></script> + <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" + integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8=" crossorigin="anonymous"></script> + <script src="script.js"></script> + </body> +</html>
\ No newline at end of file |
