summaryrefslogtreecommitdiff
path: root/app/views/devise/passwords
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-15 17:52:20 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-15 17:52:20 +0300
commitd28a27f7c434b03b8e715af8be628a86f44188a3 (patch)
treec202440b87217b14ee3ab3ddf41c12e94a12b72a /app/views/devise/passwords
parentcb33279a0f36f2c6a70d5ecf00bbd8749b92c51b (diff)
downloadgitlab-ce-d28a27f7c434b03b8e715af8be628a86f44188a3.tar.gz
Cleaner UI for login/signup pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/devise/passwords')
-rw-r--r--app/views/devise/passwords/edit.html.haml10
-rwxr-xr-xapp/views/devise/passwords/new.html.haml10
2 files changed, 10 insertions, 10 deletions
diff --git a/app/views/devise/passwords/edit.html.haml b/app/views/devise/passwords/edit.html.haml
index efcd0296176..1326cc0aac9 100644
--- a/app/views/devise/passwords/edit.html.haml
+++ b/app/views/devise/passwords/edit.html.haml
@@ -1,7 +1,7 @@
-.login-box.panel.panel-default
- .panel-heading
- %h3.panel-title Change your password
- .panel-body
+.login-box
+ .login-heading
+ %h3 Change your password
+ .login-body
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
.devise-errors
= devise_error_messages!
@@ -12,7 +12,7 @@
= f.password_field :password_confirmation, class: "form-control bottom", placeholder: "Confirm new password", required: true
.clearfix.append-bottom-10
= f.submit "Change my password", class: "btn btn-primary"
- .panel-footer
+ .login-footer
%p
= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name)
= render 'devise/shared/sign_in_link'
diff --git a/app/views/devise/passwords/new.html.haml b/app/views/devise/passwords/new.html.haml
index bf44dee5ad7..b8af1b8693a 100755
--- a/app/views/devise/passwords/new.html.haml
+++ b/app/views/devise/passwords/new.html.haml
@@ -1,7 +1,7 @@
-.login-box.panel.panel-default
- .panel-heading
- %h3.panel-title Reset password
- .panel-body
+.login-box
+ .login-heading
+ %h3 Reset password
+ .login-body
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
.devise-errors
= devise_error_messages!
@@ -9,5 +9,5 @@
= f.email_field :email, placeholder: "Email", class: "form-control", required: true
.clearfix.append-bottom-10
= f.submit "Reset password", class: "btn-primary btn"
- .panel-footer
+ .login-footer
= render 'devise/shared/sign_in_link'