Skip to content

Commit 00f07a3

Browse files
Wrapped show password and remeber me in a flex box for better styling
1 parent 8451978 commit 00f07a3

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

cps/templates/login.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@ <h2 style="margin-top: 0">{{_('Login')}}</h2>
1313
<label for="password">{{_('Password')}}</label>
1414
<input type="password" class="form-control" id="password" name="password" placeholder="{{_('Password')}}" value="{{ password }}">
1515
</div>
16-
<div class="checkbox">
17-
<label>
18-
<input type="checkbox" onclick="password.type = this.checked ? 'text' : 'password'"> {{_('Show Password')}}
19-
</label>
20-
</div>
21-
<div class="checkbox">
22-
<label>
23-
<input type="checkbox" name="remember_me" checked> {{_('Remember Me')}}
24-
</label>
16+
<div style="display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline;">
17+
<div class="checkbox">
18+
<label>
19+
<input type="checkbox" onclick="password.type = this.checked ? 'text' : 'password'"> {{_('Show Password')}}
20+
</label>
21+
</div>
22+
<div class="checkbox">
23+
<label>
24+
<input type="checkbox" name="remember_me" checked> {{_('Remember Me')}}
25+
</label>
26+
</div>
2527
</div>
2628
<button type="submit" name="submit" class="btn btn-default">{{_('Login')}}</button>
2729
{% if config.config_login_type == 0 and mail%}

0 commit comments

Comments
 (0)