From 04a0ef03acb97d20cb57ffa534cefe3c1f44a7fa Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 9 Feb 2018 10:12:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/statistics/show.html.erb | 13 ++++++++----- public/stylesheets/css/common.css | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/views/statistics/show.html.erb b/app/views/statistics/show.html.erb index fa8f22e06..57682d23b 100644 --- a/app/views/statistics/show.html.erb +++ b/app/views/statistics/show.html.erb @@ -5,30 +5,33 @@

<%= notice %>

- + <%= @statistic.name %>
- +
- + <%= format_time @statistic.created_at %>
- + <%= @statistic.user_id %>
- + <%= @statistic.status %>
<%# 附件局部刷新 %> <% if @attachments.present? %> +
+ <%= render :partial => 'attachments',:locals => {:attachments => @attachments} %> +
<% end %>
diff --git a/public/stylesheets/css/common.css b/public/stylesheets/css/common.css index 4af8723b9..ccab1d9ee 100644 --- a/public/stylesheets/css/common.css +++ b/public/stylesheets/css/common.css @@ -255,7 +255,7 @@ a.bGreen {background-color:#60b25e;} a.bGreen:hover {background-color:#51a74f;} a.submit_btn {border:1px solid #3498db; padding:3px 10px; border-radius:3px; color:#3498db;} a.submit_btn:hover {background-color:#3498db; color:#ffffff;} -a.link_file_a{ background:url(/images/pic_file.png) 0 2px no-repeat; padding-left:20px; } +a.link_file_a{ background:url(/images/pic_file.png) 0 5px no-repeat; padding-left:20px; } a:hover.link_file_a{ background:url(/images/pic_file.png) 0 -25px no-repeat; color:#3ca5c6;} a.link_file_a2{ background:url(/images/pic_file.png) 0 -15px no-repeat; padding-left: 20px;} a.submit_btn2 {background-color: #3b94d6; padding: 3px 5px; color: #ffffff;}