hikan.ru/mvc/views/logout/AJAXlogout.gohtml

28 lines
777 B
Plaintext

{{ template "AJAXlogout" . }}
{{ define "AJAXlogout" }}
<div class="page-name">
C:\<a class="accent"
hx-get="/AJAXindex/1"
hx-target=".main-content"
hx-swap="innerHTML"
hx-push-url="/index/1">blog</a>\<a
class="accent"
hx-get="/AJAXlogout/1"
hx-target=".main-content"
hx-swap="innerHTML"
hx-push-url="/logout/1">logout</a>\>
<span class="cursor">|</span>
</div>
<div id="div-offset">
<span class="gray">
Возможности регистрации нет, аккаунты создаются администратором
</span>
<form action="/logout" method="POST">
<div>
<button type="submit">Выйти</button>
</div>
</form>
</div>
{{ template "footer" . }}
{{ end }}