This commit is contained in:
caishi 2018-02-09 10:12:47 +08:00
parent 85a0e0808c
commit 04a0ef03ac
2 changed files with 9 additions and 6 deletions

View File

@ -5,30 +5,33 @@
<p id="notice"><%= notice %></p>
<div class="detail_part">
<label>数据类别名称:</label>
<label>数据类别名称</label>
<%= @statistic.name %>
</div>
<div class="cl detail_part">
<label>描述:</label>
<label>描述</label>
<textarea readonly="readonly" class="detail_des"><%= @statistic.description %></textarea>
</div>
<div class="detail_part">
<label>添加时间:</label>
<label>添加时间</label>
<%= format_time @statistic.created_at %>
</div>
<div class="detail_part">
<label>用户id:</label>
<label>用户id</label>
<%= @statistic.user_id %>
</div>
<div class="detail_part">
<label>状态:</label>
<label>状态</label>
<%= @statistic.status %>
</div>
<%# 附件局部刷新 %>
<% if @attachments.present? %>
<div class="detail_part">
<label>附件:</label>
<%= render :partial => 'attachments',:locals => {:attachments => @attachments} %>
</div>
<% end %>
<div class="detail_part">
<label>&nbsp;</label>

View File

@ -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;}