fix: layouts cleanup
This commit is contained in:
@@ -24,7 +24,9 @@
|
||||
<a href="https://git.sunshine.industries/efim/some-automoderation">
|
||||
<img src="/static/images/agplv3-with-text-100x42.png" alt="AGPLv3 Free as in Freedom" title="Link to source code of this program, as required by AGPLv3" />
|
||||
</a>
|
||||
{{ if .Base.LoggedIn }}
|
||||
<a class="bg-white border-2 rounded py-1 px-2 h-8" href="/logout">Logout</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
<!--[if lt IE 8]>
|
||||
<p class="browserupgrade">
|
||||
|
||||
@@ -18,8 +18,7 @@
|
||||
>
|
||||
</section>
|
||||
{{ else }}
|
||||
<section class="border">
|
||||
<h2>hoho, the session is missing. let's do the auth section</h2>
|
||||
<section class="border grid place-content-center">
|
||||
<div class="h-fit w-fit">
|
||||
{{ template "loginSection" .LoginSectionData }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user