bug fixes & bootstrap buttons

This commit is contained in:
Dmitriy Zaporozhets 2012-04-11 23:32:45 +03:00
parent b7558a2063
commit e7add858cf
5 changed files with 18 additions and 5 deletions

View file

@ -118,6 +118,19 @@ table {
&.primary {
@extend .btn-primary;
}
&.danger,
&.btn-danger {
color:#fff;
background: #DA4E49;
border-color: #BD362F;
&:hover {
color:#fff;
background: #EE4E49;
}
}
&.danger {
@extend .btn-danger;
}

View file

@ -19,7 +19,7 @@
%hr
.dashboard_block
.row
.span4.right
.span3.right
%div.lborder.ipadded
%h3
= pluralize current_user.projects.count, "project", "projects"
@ -42,7 +42,7 @@
%br
= link_to profile_path, :class => "btn" do
Your Profile »
.span8.left= render "dashboard/projects_feed", :projects => @active_projects
.span9.left= render "dashboard/projects_feed", :projects => @active_projects
- if @last_push && @last_push.valid_push?
.padded.prepend-top-20
%h5

View file

@ -24,7 +24,7 @@
.main_box
.top_box_content
%h5
%h4
- if @issue.closed
.alert-message.error.status_info Closed
- else

View file

@ -24,7 +24,7 @@
.main_box
.top_box_content
%h5
%h4
- if @merge_request.closed
.alert-message.error.status_info Closed
- else

View file

@ -6,7 +6,7 @@
%td
%strong= link_to tag.name, project_commits_path(@project, :ref => tag.name), :class => ""
%td
= link_to project_commits_path(@project, tag.commit.id) do
= link_to project_commit_path(@project, tag.commit.id) do
%code= tag.commit.id.to_s[0..10]
= image_tag gravatar_icon(Commit.new(tag.commit).author_email), :class => "", :width => 16
= truncate(Commit.new(tag.commit).safe_message, :length => 40)