1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore: include avatar rendering into wakapi itself

This commit is contained in:
Ferdinand Mütsch
2022-02-17 09:53:37 +01:00
parent 5cc932177f
commit 660a09475e
10 changed files with 49 additions and 9 deletions

View File

@ -31,13 +31,13 @@
Forgot password?
</a>
<div class="flex space-x-2">
{{ if eq .AllowSignup true }}
{{ if .AllowSignup }}
<a href="signup">
<button type="button" class="btn-default">Sign up</button>
</a>
{{ else }}
<a title="The administrator of this instance has disabled sign up.">
<button type="button" class="btn-disabled" disabled > Sign up </button>
<a title="The administrator of this instance has disabled sign up.">
<button type="button" class="btn-disabled" disabled> Sign up </button>
</a>
{{ end }}
<button type="submit" class="btn-primary">Log in</button>

View File

@ -83,7 +83,7 @@
<a href="login">
<button type="button" class="btn-default">Log in</button>
</a>
{{ if eq .AllowSignup true }}
{{ if .AllowSignup }}
<button type="submit" class="btn-primary">
Create Account
</button>