|
|
|
@ -1,21 +1,5 @@
|
|
|
|
|
<style type='text/css'>
|
|
|
|
|
.highlight {
|
|
|
|
|
background-color: #fff34d;
|
|
|
|
|
-moz-border-radius: 5px;
|
|
|
|
|
-webkit-border-radius: 5px;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
-moz-box-shadow: 0px 1px 4px rgba(0,0,0,0.7);
|
|
|
|
|
-webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.7);
|
|
|
|
|
box-shadow: 0px 1px 4px rgba(0,0,0,0.7);
|
|
|
|
|
}
|
|
|
|
|
.highlight {
|
|
|
|
|
padding: 1px 4px;
|
|
|
|
|
margin: 0 -4px;
|
|
|
|
|
filter: alpha(opacity=70);
|
|
|
|
|
-moz-opacity: 0.7;
|
|
|
|
|
-webkit-opacity: 0.7;
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
}
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
<% content_for :top_field do%>
|
|
|
|
|
<div style="margin: 10px 5%;">
|
|
|
|
@ -33,16 +17,19 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="r1">
|
|
|
|
|
<div class="cb">
|
|
|
|
|
<span style="color: #c03; font-size: 14px;"><%= result.filename %></span>
|
|
|
|
|
<span style="margin-left: 4px;"><%= link_to_attachment result, {:text => image_tag("/images/button/download.png", width: "22px", alt: "l(:button_download)", :class => 'download_icon')}%></span>
|
|
|
|
|
<span style=""><%= result.filename %></span>
|
|
|
|
|
<span style="margin-left: 4px;">
|
|
|
|
|
<%= link_to_attachment result, {:text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<%= result.description %>
|
|
|
|
|
<div class="c9">所属分类:<%=result_come_from result%>
|
|
|
|
|
<div class="c9"> 所属分类:<%=result_come_from result%> </div>
|
|
|
|
|
<span class="gray">
|
|
|
|
|
下载:<%= result.downloads%>|
|
|
|
|
|
大小:<%= number_to_human_size(result.filesize) %>|
|
|
|
|
|
共享者:<a class="gray" ><%= link_to result.author%></a>|
|
|
|
|
|
上传时间:<%= format_time(result.created_on) %>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="gray">下载:<%= result.downloads%>
|
|
|
|
|
| 大小:<%= number_to_human_size(result.filesize) %>
|
|
|
|
|
| 共享者:<a class="gray" ><%= link_to result.author%></a></span>
|
|
|
|
|
</span>
|
|
|
|
|
<div style="display: none"></div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|