Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit cb33d5d

Browse files
committed
fix login and other for mobile
1 parent 132b02c commit cb33d5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/default/user.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<h4 class="col-md-4 col-md-offset-1">{{=T( request.args(0).replace('_',' ').capitalize() )}}</h4>
4747
{{ pass }}
4848
{{ if request.args(0) == 'login' and not auth.user: }}
49-
<div id="web2py_user_form" class="col-md-4 col-md-offset-1">
49+
<div id="web2py_user_form" class="col-md-4 col-md-offset-1 col-sm-offset-1 col-xs-offset-1">
5050
<form class="form-horizontal" method="post">
5151
{{if not session.auth_two_factor_user:}}
5252
<div class="form-group">
@@ -95,7 +95,7 @@ <h4 class="col-md-4 col-md-offset-1">{{=T( request.args(0).replace('_',' ').capi
9595
{{pass}}
9696
{{=form.custom.end}}
9797
<!-- Must use this to get all the good defaults for the form -->
98-
<div id='auth-actions' style="margin-left: 20px;">
98+
<div id='auth-actions' style="margin-left: 20px;" class="col-md-4 col-sm-4 col-xs-4">
9999
{{if not 'request_reset_password' in auth.settings.actions_disabled:}}
100100
<a class="btn btn-sm btn-primary" href="{{=URL(args='request_reset_password')}}"
101101
role="button">{{=T('Lost Password')}}</a>

0 commit comments

Comments
 (0)