Add config page, and configuration for the base URL, so the bookmarklet will work on remote machines.
This commit is contained in:
12
web/templates/config_form.html
Normal file
12
web/templates/config_form.html
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
<form onsubmit="false;" id="config-form" hx-target="#config-form">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Base URL</th>
|
||||
<td>
|
||||
<input type="text" name="baseurl" value="{{ .config.BaseURL }}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><a class="button" hx-post="/config">save</a></p>
|
||||
</form>
|
||||
Reference in New Issue
Block a user