diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-10 16:31:06 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-10 16:31:06 -0400 |
commit | e26eb1e162007a3297f4b58d6166c971c6c5bbd3 (patch) | |
tree | 3c5698569e1502337ab33d09d28fc3e4de1a30ed | |
parent | 190c9e9f39c6d14c2a47083fcd5d64717919d9eb (diff) | |
download | gitlab-ce-e26eb1e162007a3297f4b58d6166c971c6c5bbd3.tar.gz |
Update grids for 2FA details
Also adds a link to the documentation.
-rw-r--r-- | app/views/profiles/two_factor_auths/new.html.haml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/profiles/two_factor_auths/new.html.haml b/app/views/profiles/two_factor_auths/new.html.haml index b9f3e2380fe..74268c9bde2 100644 --- a/app/views/profiles/two_factor_auths/new.html.haml +++ b/app/views/profiles/two_factor_auths/new.html.haml @@ -2,8 +2,10 @@ %h2.page-title Two-Factor Authentication (2FA) %p - Download the Google Authenticator application from App Store for iOS or - Google Play for Android and scan this code. + Download the Google Authenticator application from App Store for iOS or Google + Play for Android and scan this code. + + More information is available in the #{link_to('documentation', help_page_path('workflow', 'two_factor_authentication'))}. %hr @@ -12,10 +14,9 @@ .alert.alert-danger = @error .form-group - .col-sm-2 - .col-sm-2 + .col-lg-2.col-lg-offset-2 = raw @qr_code - .col-sm-8.manual-instructions + .col-lg-7.col-lg-offset-1.manual-instructions %h3 Can't scan the code? %p @@ -33,7 +34,7 @@ %dd Yes .form-group = label_tag :pin_code, nil, class: "control-label" - .col-sm-10 + .col-lg-10 = text_field_tag :pin_code, nil, class: "form-control", required: true, autofocus: true .form-actions = submit_tag 'Submit', class: 'btn btn-success' |