提交改动显示页面调整

This commit is contained in:
Tim 2016-02-25 15:48:49 +08:00
parent a6abdbacb9
commit 100b002a1f
3 changed files with 7 additions and 5 deletions

View File

@ -30,7 +30,7 @@
</a>
</div>
<div class="autoscroll">
<table class="filecontent syntaxhl" >
<table class="filecontent syntaxhl" style="width:100%;" >
<tbody>
<% line_num = diff_line_num(cd.diff) %>
<% diff_content = diff_content(cd.diff) %>

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20160220100507) do
ActiveRecord::Schema.define(:version => 20160223073859) do
create_table "activities", :force => true do |t|
t.integer "act_id", :null => false
@ -99,6 +99,8 @@ ActiveRecord::Schema.define(:version => 20160220100507) do
t.integer "quotes"
t.integer "version"
t.integer "attachment_id"
t.integer "is_publish", :default => 1
t.date "publish_time"
end
create_table "attachments", :force => true do |t|
@ -118,6 +120,8 @@ ActiveRecord::Schema.define(:version => 20160220100507) do
t.integer "is_public", :default => 1
t.integer "copy_from"
t.integer "quotes"
t.integer "is_publish", :default => 1
t.date "publish_time"
end
add_index "attachments", ["author_id"], :name => "index_attachments_on_author_id"
@ -1265,7 +1269,6 @@ ActiveRecord::Schema.define(:version => 20160220100507) do
t.text "description"
t.integer "creator_id"
t.integer "home_id"
t.string "domain"
t.boolean "is_public"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
@ -1373,7 +1376,6 @@ ActiveRecord::Schema.define(:version => 20160220100507) do
t.integer "changeset_num", :default => 0
t.integer "board_message_num", :default => 0
t.integer "board_num", :default => 0
t.integer "act_num", :default => 0
t.integer "attach_num", :default => 0
t.datetime "commit_time"
end

View File

@ -1171,7 +1171,7 @@ div.disable_link {background-color: #c1c1c1 !important;}
.maxwidth150{max-width: 150px;}
/*版本库diff*/
.showing-changes-info {width:650px; padding:10px; background-color:#ffffff; line-height:2;}
.showing-changes-info {width:650px; padding:10px; padding-top: 0px; background-color:#ffffff; line-height:2;}
.showing-changes-project {width:650px; padding:10px; border-top:1px solid #dce0e6; border-bottom:1px solid #dce0e6; background-color:#f1f1f1;}
.showing-changes-row {width:650px; padding:10px; border-bottom:1px solid #dce0e6; background-color:#f1f1f1;}
#changed-files-detail {display:none;}