Added login/logout.. except for the authentication part... that's to be done later.
This commit is contained in:
1 parent
801abed9a4
commit
0c171171c2
5 files changed
+67
-20
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<div>
|
||||
|
||||
<p>
|
||||
You are logged in as {{ name }}.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<form hx-post="/logout"
|
||||
hx-ext="json-enc"
|
||||
hx-swap="innerHTML"
|
||||
hx-target="#home-page-main-block">
|
||||
|
||||
<div class="uk-margin">
|
||||
<button class="uk-button uk-button-default" type="click">Logout</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user