Commit d18e2bd59d3003e2ae38116688e350bfc2774ae7
1 parent
c1c1a1ee
Exists in
master
and in
4 other branches
styled error message
Showing
2 changed files
with
7 additions
and
11 deletions
Show diff stats
app/assets/stylesheets/common.scss
@@ -628,10 +628,11 @@ li.note { | @@ -628,10 +628,11 @@ li.note { | ||
628 | 628 | ||
629 | .error_message { | 629 | .error_message { |
630 | @extend .cred; | 630 | @extend .cred; |
631 | - border-bottom: 1px solid #D21; | ||
632 | - padding-bottom:20px; | ||
633 | - text-align:center; | ||
634 | - margin-bottom:10px; | 631 | + border-left: 4px solid #E99; |
632 | + padding: 10px; | ||
633 | + margin-bottom: 10px; | ||
634 | + background: #FEE; | ||
635 | + padding-left: 20px; | ||
635 | } | 636 | } |
636 | 637 | ||
637 | .oauth_select_holder { | 638 | .oauth_select_holder { |
app/views/shared/_no_ssh.html.haml
1 | - if current_user.require_ssh_key? | 1 | - if current_user.require_ssh_key? |
2 | - %h6.error_message | ||
3 | - %span | ||
4 | - You won't be able to pull or push project code until you | ||
5 | - %strong | ||
6 | - = link_to new_key_path, class: "vlink" do | ||
7 | - add an SSH key | ||
8 | - to your profile | 2 | + %p.error_message |
3 | + 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 |