chore: add mercury
This commit is contained in:
43
mercury/public/index.html
Normal file
43
mercury/public/index.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="https://unpkg.com/htmx.org@1.9.10" integrity="sha384-D1Kt99CQMDuVetoL1lrYwg5t+9QdHe7NLX/SoJYkXDFfX37iInKRy5xLSi8nO7UC" crossorigin="anonymous"></script>
|
||||
<title>Mercury</title>
|
||||
</head>
|
||||
<body>
|
||||
Mercury
|
||||
|
||||
<form
|
||||
hx-get="/v1/mercury-index"
|
||||
hx-target="#index-results">
|
||||
@ <input
|
||||
id="search-index"
|
||||
name="space"
|
||||
type="text"
|
||||
placeholder="Search...">
|
||||
<button type="submit">Search</button>
|
||||
</form>
|
||||
<pre id="index-results"></pre>
|
||||
|
||||
<form
|
||||
hx-get="/v1/mercury-config"
|
||||
hx-target="#config-results">
|
||||
@ <input
|
||||
id="space-config"
|
||||
name="space"
|
||||
type="text"
|
||||
placeholder="Space...">
|
||||
<button type="submit">Load</button>
|
||||
</form>
|
||||
<pre id="config-results"></pre>
|
||||
|
||||
<form
|
||||
hx-post="/v1/mercury-config"
|
||||
hx-target="#space-saved">
|
||||
<textarea name="content"></textarea>
|
||||
<button type="submit">Save</button>
|
||||
</form>
|
||||
<pre id="space-saved"></pre>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user