dequoter/frontend/index.html
Leon Mika 9f2fa96b92 Initial commit
Have the basic workplace worked out
2025-09-06 10:26:50 +10:00

28 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>dequoter</title>
</head>
<body>
<div id="app"></div>
<dialog id="command-dialog" data-controller="commands"
data-action="dq-showcommands@window->commands#showCommands">
<div class="dialog-body">
<div class="command-input">
<input data-commands-target="commandInput" type="text" placeholder="Enter text to dequote"
data-action="keyup.enter->commands#runCommand keydown.esc->commands#dismissDialog keyup->commands#handleKeyup">
</div>
<select multiple class="command-options" data-commands-target="commandSelect">
<option value="double"><span class="option-label">Double quotes</span></option>
<option value="single"><span class="option-label">Single</span></option>
<option value="backtick"><span class="option-label">Backtick quotes</span></option>
<option value="none"><span class="option-label">None</span></option>
</select>
</div>
</dialog>
<script src="./src/main.js" type="module"></script>
</body>
</html>