Removed the HTMX that wasn't doing anything

This commit is contained in:
2024-05-24 18:20:45 +01:00
parent a76ee50664
commit 065d390510
2 changed files with 3 additions and 10 deletions
+1 -3
View File
@@ -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")
+2 -7
View File
@@ -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>