Commit e7add858cf99d11aa6f93cc42c6d00628ca5538c
1 parent
b7558a20
Exists in
master
and in
4 other branches
bug fixes & bootstrap buttons
Showing
5 changed files
with
18 additions
and
5 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap.scss
@@ -118,6 +118,19 @@ table { | @@ -118,6 +118,19 @@ table { | ||
118 | &.primary { | 118 | &.primary { |
119 | @extend .btn-primary; | 119 | @extend .btn-primary; |
120 | } | 120 | } |
121 | + | ||
122 | + &.danger, | ||
123 | + &.btn-danger { | ||
124 | + color:#fff; | ||
125 | + background: #DA4E49; | ||
126 | + border-color: #BD362F; | ||
127 | + | ||
128 | + &:hover { | ||
129 | + color:#fff; | ||
130 | + background: #EE4E49; | ||
131 | + } | ||
132 | + } | ||
133 | + | ||
121 | &.danger { | 134 | &.danger { |
122 | @extend .btn-danger; | 135 | @extend .btn-danger; |
123 | } | 136 | } |
app/views/dashboard/index.html.haml
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | %hr | 19 | %hr |
20 | .dashboard_block | 20 | .dashboard_block |
21 | .row | 21 | .row |
22 | - .span4.right | 22 | + .span3.right |
23 | %div.lborder.ipadded | 23 | %div.lborder.ipadded |
24 | %h3 | 24 | %h3 |
25 | = pluralize current_user.projects.count, "project", "projects" | 25 | = pluralize current_user.projects.count, "project", "projects" |
@@ -42,7 +42,7 @@ | @@ -42,7 +42,7 @@ | ||
42 | %br | 42 | %br |
43 | = link_to profile_path, :class => "btn" do | 43 | = link_to profile_path, :class => "btn" do |
44 | Your Profile » | 44 | Your Profile » |
45 | - .span8.left= render "dashboard/projects_feed", :projects => @active_projects | 45 | + .span9.left= render "dashboard/projects_feed", :projects => @active_projects |
46 | - if @last_push && @last_push.valid_push? | 46 | - if @last_push && @last_push.valid_push? |
47 | .padded.prepend-top-20 | 47 | .padded.prepend-top-20 |
48 | %h5 | 48 | %h5 |
app/views/issues/show.html.haml
app/views/merge_requests/show.html.haml
app/views/repositories/tags.html.haml
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | %td | 6 | %td |
7 | %strong= link_to tag.name, project_commits_path(@project, :ref => tag.name), :class => "" | 7 | %strong= link_to tag.name, project_commits_path(@project, :ref => tag.name), :class => "" |
8 | %td | 8 | %td |
9 | - = link_to project_commits_path(@project, tag.commit.id) do | 9 | + = link_to project_commit_path(@project, tag.commit.id) do |
10 | %code= tag.commit.id.to_s[0..10] | 10 | %code= tag.commit.id.to_s[0..10] |
11 | = image_tag gravatar_icon(Commit.new(tag.commit).author_email), :class => "", :width => 16 | 11 | = image_tag gravatar_icon(Commit.new(tag.commit).author_email), :class => "", :width => 16 |
12 | = truncate(Commit.new(tag.commit).safe_message, :length => 40) | 12 | = truncate(Commit.new(tag.commit).safe_message, :length => 40) |