OSDN Git Service

bug fixes & bootstrap buttons
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 11 Apr 2012 20:32:45 +0000 (23:32 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 11 Apr 2012 20:32:45 +0000 (23:32 +0300)
app/assets/stylesheets/gitlab_bootstrap.scss
app/views/dashboard/index.html.haml
app/views/issues/show.html.haml
app/views/merge_requests/show.html.haml
app/views/repositories/tags.html.haml

index 1e5ee51..85672ab 100644 (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;
   }
index 8985d5c..882bb58 100644 (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
index 14d4930..266b111 100644 (file)
@@ -24,7 +24,7 @@
 
 .main_box
   .top_box_content
-    %h5
+    %h4
       - if @issue.closed
         .alert-message.error.status_info Closed
       - else 
index 95274f4..8402a66 100644 (file)
@@ -24,7 +24,7 @@
 
 .main_box
   .top_box_content
-    %h5
+    %h4
       - if @merge_request.closed
         .alert-message.error.status_info Closed
       - else 
index 7e1442d..9288389 100644 (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)