diff --git a/app/views/users/_resources_list.html.erb b/app/views/users/_resources_list.html.erb index cb845e0ed..87a13610c 100644 --- a/app/views/users/_resources_list.html.erb +++ b/app/views/users/_resources_list.html.erb @@ -14,12 +14,16 @@
  • <%= format_date(attach.created_on) %>
  • <%= attach.id %>
  • +
  • 100
  • +
  • <%= attach.id %>
  • +
  • 100
  • +
  • <%= attach.id %>
  • +
  • <%= number_to_human_size(attach.filesize) %>
  • +
  • <%= attach.id %>
  • <%= attach.author_id %>
  • <%= get_resource_type(attach.container_type)%>
  • <%= attach.id %>
  • -
  • <%= number_to_human_size(attach.filesize) %>
  • -
  • <%= attach.id %>
  • <%= attach.id %>
  • diff --git a/app/views/users/_user_resource_info.html.erb b/app/views/users/_user_resource_info.html.erb index 6efaa75e0..e34f9d237 100644 --- a/app/views/users/_user_resource_info.html.erb +++ b/app/views/users/_user_resource_info.html.erb @@ -10,10 +10,12 @@
  • 资源名称
  • 上传时间
  • +
  • 引用数
  • +
  • 下载数
  • +
  • 大小
  • 上传者
  • 类别
  • -
  • 大小
  • -
  • 资源来源
  • +
  • 来源
  • diff --git a/db/schema.rb b/db/schema.rb index 2593e09fd..61585b59d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20160224074034) do +ActiveRecord::Schema.define(:version => 20160225024759) do create_table "activities", :force => true do |t| t.integer "act_id", :null => false diff --git a/public/stylesheets/public.css b/public/stylesheets/public.css index 2acf87909..d03339a06 100644 --- a/public/stylesheets/public.css +++ b/public/stylesheets/public.css @@ -1058,12 +1058,14 @@ a.chooseActive {background-color:#269ac9; color:#ffffff;} .resource-list-tab {width:980px; height:40px; background-color:#f6f6f6; border-bottom:1px solid #eaeaea; font-size:14px; color:#7a7a7a;} .resource-list-checkbox {width:20px; height:40px; line-height:40px; text-align:center; vertical-align:middle;} .resource-checkbox {margin-top:14px; width:12px; height:12px;} -.resource-list-name {width:440px; height:40px; line-height:40px; text-align:left;} -.resource-list-from {width:100px; height:40px; line-height:40px; text-align:center;} -.resource-list-size {width:100px; height:40px; line-height:40px; text-align:center;} -.resource-list-type {width:100px; height:40px; line-height:40px; text-align:center;} -.resource-list-uploader {width:100px; height:40px; line-height:40px; text-align:center;} -.resource-list-time {width:100px; height:40px; line-height:40px; text-align:center;} +.resource-list-name {width:380px; height:40px; line-height:40px; text-align:left;} +.resource-list-from {width:150px; height:40px; line-height:40px; text-align:center;} +.resource-list-size {width:80px; height:40px; line-height:40px; text-align:center;} +.resource-list-type {width:80px; height:40px; line-height:40px; text-align:center;} +.resource-list-uploader {width:80px; height:40px; line-height:40px; text-align:center;} +.resource-list-time {width:70px; height:40px; line-height:40px; text-align:center;} +.resource-list-quote {width:60px; height:40px; line-height:40px; text-align:center;} +.resource-list-download {width:60px; height:40px; line-height:40px; text-align:center;} .resource-list {width:980px; height:39px; background-color:#ffffff; border-bottom:1px dashed #eaeaea; color:#9a9a9a; font-size:12px; margin-left:auto; margin-right:auto; cursor:pointer;} .resource-list:hover {background-color:#e1e1e1;} .resource-list-option {width:980px; height:40px; line-height:40px; vertical-align:middle; margin-left:auto; margin-right:auto; background-color:#f6f6f6;}