diff options
author | untir_l <87096069+untir-l@users.noreply.github.com> | 2022-02-25 06:50:05 +0000 |
---|---|---|
committer | untir-l <87096069+untir-l@users.noreply.github.com> | 2022-02-25 09:56:49 +0000 |
commit | a492064a97a04939ca5e995c3c6df4935b9e2cb9 (patch) | |
tree | ce116cdde63327f7e0a4786b48cfeacf5f66c009 | |
parent | 41990117c8dde2f5690d84e8a8a333dd9b7c97f4 (diff) | |
download | hitomezashi-a492064a97a04939ca5e995c3c6df4935b9e2cb9.tar hitomezashi-a492064a97a04939ca5e995c3c6df4935b9e2cb9.tar.gz hitomezashi-a492064a97a04939ca5e995c3c6df4935b9e2cb9.zip |
Fix markup in web app
-rw-r--r-- | web/hitomezashi_web_shell.html | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/web/hitomezashi_web_shell.html b/web/hitomezashi_web_shell.html index 53ec0ec..7b3ad76 100644 --- a/web/hitomezashi_web_shell.html +++ b/web/hitomezashi_web_shell.html @@ -1,7 +1,6 @@ <!doctype html> <html lang="en-us"> <head> - <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!--This is code modified from https://github.com/emscripten-core/emscripten/blob/main/src/shell_minimal.html.--> <meta name="viewport" content="width=device-width, initial-scale=1.0"> @@ -24,26 +23,26 @@ form input { display: table-cell; } - p#infoLink { + p#seeReadme { text-align: center; } - p#infoLink a { + p#seeReadme a { margin-left: 1ex; margin-right: 1ex; } </style> </head> <body> - <p id="infoLink">See <a href="https://github.com/untir-l/hitomezashi/blob/main/README.md">the README</a> for information.</p> - <form name="hitomezashi parameters" autocomplete="off" method="get"> - <p><label>x pattern: <input name="x_pattern"></label></p> - <p><label>y pattern: <input name="y_pattern"></label></p> - <p><label>gap: <input name="gap" type="number"></label></p> - <p><label>line thickness: <input name="line_thickness" type="number"></label></p> - <input type="submit" value="submit"></p> - </form> - <br> - <canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" tabindex=-1></canvas> + <p id="seeReadme">See <a href="https://github.com/untir-l/hitomezashi/blob/main/README.md">the README</a> for information.</p> + <form name="hitomezashi parameters" autocomplete="off" method="get"> + <p><label>x pattern: <input name="x_pattern"></label></p> + <p><label>y pattern: <input name="y_pattern"></label></p> + <p><label>gap: <input name="gap" type="number"></label></p> + <p><label>line thickness: <input name="line_thickness" type="number"></label></p> + <p><input type="submit" value="submit"></p> + </form> + <br> + <canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" tabindex=-1></canvas> <script type='text/javascript'> var Module = { preRun: [], |