Initial commit
Have the basic workplace worked out
This commit is contained in:
commit
9f2fa96b92
29 changed files with 1889 additions and 0 deletions
27
frontend/index.html
Normal file
27
frontend/index.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<!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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue