OSDN Git Service

Refactoring & minor css changes
authorrandx <dmitriy.zaporozhets@gmail.com>
Tue, 21 Aug 2012 18:26:56 +0000 (21:26 +0300)
committerrandx <dmitriy.zaporozhets@gmail.com>
Tue, 21 Aug 2012 18:26:56 +0000 (21:26 +0300)
CHANGELOG
app/assets/stylesheets/gitlab_bootstrap.scss
app/assets/stylesheets/themes/ui_mars.scss
app/models/project.rb
app/roles/push_observer.rb [moved from app/roles/project_push.rb with 99% similarity]
app/views/team_members/_show.html.haml

index 80b68b0..3a91676 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -3,6 +3,11 @@ v 2.8.0
   - Bulk issues update
   - Issues API
   - Cucumber coverage increased
+  - Post-receive files fixed
+  - UI improved
+  - Application cleanup
+  - more cucumber
+  - capybara-webkit + headless
 
 v 2.7.0
   - Issue Labels
index e3f3e7a..8bc63e2 100644 (file)
@@ -330,16 +330,20 @@ img.avatar {
   float:left;
   margin-right:15px;
   width:40px;
-  border:2px solid #ddd;
+  border:1px solid #ddd;
+  padding:1px;
 
   &.s16 {
     width:16px;
+    height:16px;
   }
   &.s24 {
     width:24px;
+    height:24px;
   }
   &.s32 {
     width:32px;
+    height:32px;
   }
 }
 
index 2808ad3..c630f38 100644 (file)
 
     .fbtn {
       .btn {
+        i {
+          position: relative;
+          top: 1px;
+        }
         margin-left:8px;
         background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #595D63), to(#31363E));
         background-image: -webkit-linear-gradient(#595D63 6.6%, #31363E);
           background-image: -moz-linear-gradient(#595D63 6.6%, #202227);
           background-image: -o-linear-gradient(#595D63 6.6%, #202227);
           background-position:0 0;
+          color:#fff;
+          i { 
+            @extend .icon-white;
+          }
         }
 
         border: 1px solid #31363E;
index 714953c..3fe1191 100644 (file)
@@ -2,7 +2,7 @@ require "grit"
 
 class Project < ActiveRecord::Base
   include Repository
-  include ProjectPush
+  include PushObserver
   include Authority
   include Team
 
similarity index 99%
rename from app/roles/project_push.rb
rename to app/roles/push_observer.rb
index 0202538..1067404 100644 (file)
@@ -1,4 +1,4 @@
-module ProjectPush
+module PushObserver
   def observe_push(oldrev, newrev, ref, user)
     data = post_receive_data(oldrev, newrev, ref, user)
 
index f47554c..2dc4fb6 100644 (file)
@@ -9,7 +9,7 @@
         %span.label Blocked
 
     = link_to project_team_member_path(@project, member), title: user.name, class: "dark" do
-      = image_tag gravatar_icon(user.email, 40), class: "avatar"
+      = image_tag gravatar_icon(user.email, 40), class: "avatar s32"
     = link_to project_team_member_path(@project, member), title: user.name, class: "dark" do
       %strong= truncate(user.name, lenght: 40)
     %br