aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-03-07 08:30:43 +0000
committerMario <mario@mariovavti.com>2025-03-07 08:30:43 +0000
commit4e3bec8a356d232c627ae52cf0031ff26adc14f9 (patch)
tree39cb6a72a486cbdf7a3aed5d1842cd88c7b39038 /view
parenteec918bf4ab70164cd92f84f8a7987fdcd9e0c7d (diff)
downloadvolse-hubzilla-4e3bec8a356d232c627ae52cf0031ff26adc14f9.tar.gz
volse-hubzilla-4e3bec8a356d232c627ae52cf0031ff26adc14f9.tar.bz2
volse-hubzilla-4e3bec8a356d232c627ae52cf0031ff26adc14f9.zip
streamline login pages layout - fix issue #1892
Diffstat (limited to 'view')
-rw-r--r--view/tpl/login.tpl7
-rw-r--r--view/tpl/rmagic.tpl14
2 files changed, 12 insertions, 9 deletions
diff --git a/view/tpl/login.tpl b/view/tpl/login.tpl
index ead524193..778a48cc0 100644
--- a/view/tpl/login.tpl
+++ b/view/tpl/login.tpl
@@ -1,17 +1,18 @@
<form action="{{$dest_url}}" id="{{$form_id}}" method="post" >
<input type="hidden" name="auth-params" value="login" />
- <div class="login-wrapper d-grid gap-2">
+ <div>
{{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}}" 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>
+ {{if $register}}<a href="{{$register.link}}" title="{{$register.title}}" class="register-link float-end">{{$register.desc}}</a>{{/if}}
+
</div>
{{foreach $hiddens as $k=>$v}}
- <input type="hidden" name="{{$k}}" value="{{$v}}" />
+ <input type="hidden" name="{{$k}}" value="{{$v}}" />
{{/foreach}}
</form>
{{if $login_page}}
diff --git a/view/tpl/rmagic.tpl b/view/tpl/rmagic.tpl
index bc181c323..e852223e0 100644
--- a/view/tpl/rmagic.tpl
+++ b/view/tpl/rmagic.tpl
@@ -1,9 +1,11 @@
-<div class="generic-content-wrapper-styled">
- <h3>{{$title}}</h3>
- <form action="rmagic" method="post" >
- <div class="mb-3">
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <h2>{{$title}}</h2>
+ </div>
+ <div class="section-content-wrapper">
+ <form action="rmagic" method="post" >
{{include file="field_input.tpl" field=$address}}
<input class="btn btn-primary" type="submit" name="submit" id="rmagic-submit-button" value="{{$submit}}" />
- </div>
- </form>
+ </form>
+ </div>
</div>