diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-05 08:33:04 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-05 08:33:04 +0000 |
commit | 225662a708314947a970c9be6f969ada6c636c23 (patch) | |
tree | cc23e205a8330715754ce211abf446d4f32701cb /app/views/errors | |
parent | 1441cdf2c8136d7c480a033eb7017461475ca6a8 (diff) | |
download | gitlab-ce-225662a708314947a970c9be6f969ada6c636c23.tar.gz |
Update design of auth error page
Diffstat (limited to 'app/views/errors')
-rw-r--r-- | app/views/errors/omniauth_error.html.haml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/app/views/errors/omniauth_error.html.haml b/app/views/errors/omniauth_error.html.haml index 72508b91134..20b7fa471a0 100644 --- a/app/views/errors/omniauth_error.html.haml +++ b/app/views/errors/omniauth_error.html.haml @@ -1,16 +1,15 @@ - content_for(:title, 'Auth Error') -%img{ :alt => "GitLab Logo", :src => image_path('logo.svg') } - %h1 - 422 + .container + = render "shared/errors/graphic_422.svg" %h3 Sign-in using #{@provider} auth failed - %hr - %p Sign-in failed because #{@error}. - %p There are couple of steps you can take: -%ul - %li Try logging in using your email - %li Try logging in using your username - %li If you have forgotten your password, try recovering it using #{ link_to "Password recovery", new_password_path(resource_name) } + %p.light.subtitle Sign-in failed because #{@error}. + + %p Try logging in using your username or email. If you have forgotten your password, try recovering it -%p If none of the options work, try contacting the GitLab administrator. + = link_to "Sign in", new_session_path(:user), class: 'btn primary' + = link_to "Recover password", new_password_path(resource_name), class: 'btn secondary' + + %hr + %p.light If none of the options work, try contacting a GitLab administrator. |