diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index 2488e935c..07b4f3823 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -1,4 +1,53 @@ +
<% if @project.project_type == 1 %> @@ -14,14 +63,20 @@ <% delete_allowed = User.current.allowed_to?(:manage_files, @project) %> - +
+ + + + + + - <%= sort_header_tag('filename', :caption => l(:field_filename)) %> - <%= sort_header_tag('created_on', :caption => l(:label_date), :default_order => 'desc') %> - <%= sort_header_tag('size', :caption => l(:field_filesize), :default_order => 'desc') %> - <%= sort_header_tag('downloads', :caption => l(:field_downloads), :default_order => 'desc') %> - <%= sort_header_tag('description', :caption => l(:field_description)) %> - + <%= sort_header_tag('filename', :caption => l(:field_filename), :scope =>"col" , :id => "vzebra-adventure")%> + <%= sort_header_tag('created_on', :caption => l(:label_date), :default_order => 'desc', :scope =>"col" , :id => "vzebra-comedy")%> + <%= sort_header_tag('size', :caption => l(:field_filesize), :default_order => 'desc', :scope =>"col", :id=> "vzebra-children")%> + <%= sort_header_tag('downloads', :caption => l(:field_downloads), :default_order => 'desc', :scope =>"col", :id => "vzebra-action") %> + <%= sort_header_tag('downloads', :caption => "操作", :scope =>"col", :id => "vzebra-children") %> + <% @containers.each do |container| %> @@ -39,7 +94,7 @@ - +
<%= format_time(file.created_on) %> <%= number_to_human_size(file.filesize) %> <%= file.downloads %><%= file.description %> <%= link_to(image_tag('delete.png'), attachment_path(file), :data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %> diff --git a/app/views/stores/index.html.erb b/app/views/stores/index.html.erb index c282da570..5c9b72228 100644 --- a/app/views/stores/index.html.erb +++ b/app/views/stores/index.html.erb @@ -23,7 +23,7 @@ } .line_block p{ margin: 1em 0px auto; - background: linear-gradient(#ffffff, #e5e5e5) repeat scroll 0% 0% transparent; + /*background: linear-gradient(#ffffff, #e5e5e5) repeat scroll 0% 0% transparent;*/ border-bottom: 1px solid rgb(226,226,226); border-top-left-radius : 6px; border-top-right-radius : 6px; @@ -34,7 +34,7 @@ height: 30px; font-size: 1.5em; padding-left: 4%; - border-bottom: 2px solid #FF661B + border-bottom: 1px solid rgb(21, 165, 200); } .resource_sum, .line_blo{ border: 1px solid #eeeeee; @@ -43,7 +43,7 @@ border: 1px solid #eeeeee; } .line_block table thead tr{ - background-color: #d1d1d1; + /*background-color: #d1d1d1;*/ } .line_block table td{ height: 2em; @@ -59,10 +59,6 @@ <% end %> -<% content_for :sidebar do%> - this is sidebar in index.html.erb -<% end %> -
<% 4.times do |c|%>