Removed the HTMX that wasn't doing anything
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="center">
|
||||
<form id="fax-form" action="submit" hx-post="/send-fax" hx-swap="innerHTML" hx-target="#req-result">
|
||||
<form id="fax-form" action="submit">
|
||||
|
||||
<fieldset id="fax-message-boundaries">
|
||||
<legend>FAX</legend>
|
||||
@@ -37,8 +37,6 @@
|
||||
}
|
||||
|
||||
function handleSuccessfulPOST(data) {
|
||||
console.log(data)
|
||||
|
||||
const response = JSON.parse(data)
|
||||
|
||||
var elem = document.getElementById("req-result")
|
||||
|
||||
@@ -1,17 +1,12 @@
|
||||
<div class="center">
|
||||
<form
|
||||
id="login-form"
|
||||
action="submit"
|
||||
hx-post="/send-login"
|
||||
hx-swap="innerHTML"
|
||||
hx-target="#req-result">
|
||||
<form id="login-form" action="submit">
|
||||
|
||||
<fieldset id="login-box-boundaries">
|
||||
<legend>LOGIN</legend>
|
||||
<div class="login-container">
|
||||
<input class="tui-input" type="text" name="login-user" id="login-user"><br><br>
|
||||
<input class="tui-input" type="password" name="login-pass" id="login-pass"><br><br>
|
||||
<button type="submit" id="login-submit-button">Login</button>
|
||||
<button type="button" id="login-submit-button">Login</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user