aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/login.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-03-03 16:52:04 +0000
committerMario <mario@mariovavti.com>2022-03-03 16:52:04 +0000
commitc8417df6f1bf6cf8eae03a1b14e67e6c3c113afa (patch)
tree1ff37b0776ac623940725b7f675b7d4a7b0ce4b3 /view/tpl/login.tpl
parentdc3be7ecf70271b02a98b07a4da081b42601d1d0 (diff)
downloadvolse-hubzilla-c8417df6f1bf6cf8eae03a1b14e67e6c3c113afa.tar.gz
volse-hubzilla-c8417df6f1bf6cf8eae03a1b14e67e6c3c113afa.tar.bz2
volse-hubzilla-c8417df6f1bf6cf8eae03a1b14e67e6c3c113afa.zip
fix duplicate ids in login form and move login/register buttons into the hamburger menu on small screens
Diffstat (limited to 'view/tpl/login.tpl')
-rw-r--r--view/tpl/login.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/login.tpl b/view/tpl/login.tpl
index cc4616b16..ead524193 100644
--- a/view/tpl/login.tpl
+++ b/view/tpl/login.tpl
@@ -1,13 +1,13 @@
<form action="{{$dest_url}}" id="{{$form_id}}" method="post" >
<input type="hidden" name="auth-params" value="login" />
- <div id="login-main" class="d-grid gap-2">
+ <div class="login-wrapper d-grid gap-2">
{{include file="field_input.tpl" field=$lname}}
{{include file="field_password.tpl" field=$lpassword}}
{{include file="field_checkbox.tpl" field=$remember_me}}
<button type="submit" name="submit" class="btn btn-primary">{{$login}}</button>
- {{if $register}}<a href="{{$register.link}}" title="{{$register.title}}" id="register-link" class="float-end">{{$register.desc}}</a>{{/if}}
- {{if $lostlink}}<a href="lostpass" title="{{$lostpass}}" id="lost-password-link" >{{$lostlink}}</a>{{/if}}
-<hr>
+ {{if $register}}<a href="{{$register.link}}" title="{{$register.title}}" class="register-link float-end">{{$register.desc}}</a>{{/if}}
+ {{if $lostlink}}<a href="lostpass" title="{{$lostpass}}" class="lost-pass-link">{{$lostlink}}</a>{{/if}}
+ <hr>
<a href="rmagic" class="btn btn-outline-success">{{$remote_login}}</a>
</div>
{{foreach $hiddens as $k=>$v}}