diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-21 06:14:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-21 06:14:05 +0300 |
commit | d18e2bd59d3003e2ae38116688e350bfc2774ae7 (patch) | |
tree | eff6b3d11dd24e29ad438870da498522ca1f8d39 | |
parent | c1c1a1eeeecaadfd68a586adb8d6fd4daab4064f (diff) | |
download | gitlab-ce-d18e2bd59d3003e2ae38116688e350bfc2774ae7.tar.gz |
styled error message
-rw-r--r-- | app/assets/stylesheets/common.scss | 9 | ||||
-rw-r--r-- | app/views/shared/_no_ssh.html.haml | 9 |
2 files changed, 7 insertions, 11 deletions
diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 843b683f4eb..5eedd8ff0ad 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -628,10 +628,11 @@ li.note { .error_message { @extend .cred; - border-bottom: 1px solid #D21; - padding-bottom:20px; - text-align:center; - margin-bottom:10px; + border-left: 4px solid #E99; + padding: 10px; + margin-bottom: 10px; + background: #FEE; + padding-left: 20px; } .oauth_select_holder { diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml index a11f2bc478c..c75a1d93b70 100644 --- a/app/views/shared/_no_ssh.html.haml +++ b/app/views/shared/_no_ssh.html.haml @@ -1,8 +1,3 @@ - if current_user.require_ssh_key? - %h6.error_message - %span - You won't be able to pull or push project code until you - %strong - = link_to new_key_path, class: "vlink" do - add an SSH key - to your profile + %p.error_message + You won't be able to pull or push project code until you #{link_to 'add an SSH key', new_key_path} to your profile |