This commit is contained in:
nieguanghui 2014-01-16 10:17:43 +08:00
parent 8d788fac45
commit 18b4a3ff5c
2 changed files with 11 additions and 4 deletions

View File

@ -14,14 +14,14 @@
<tr>
<td class="r1">
<div class="cb">
<span style="color: #c03; font-size: 14px;"><%= result.filename %></span>
<span style="color: #004b91; font-size: 16px;"><%= result.filename %></span>
<span style="margin-left: 4px;"><%= link_to_attachment result, {:text => "下载"}%></span>
</div>
<%= result.description %>
<div class="c9">所属分类:<%=result_come_from result%>
<div class="c9 gray-color">所属分类:<%=result_come_from result%>
上传时间:<%= format_time(result.created_on) %>
</div>
<span class="gray">下载:<%= result.downloads%>
<span class="gray blue-color" >下载:<%= result.downloads%>
| 大小:<%= number_to_human_size(result.filesize) %>
| 共享者:<a class="gray" ><%= link_to result.author%></a></span>
<div style="display: none"></div>
@ -29,6 +29,6 @@
</tr>
</tbody>
</table>
<div style="height: 20px; width: 100%;"></div>
<% end %>
<div class="pagination"><%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false %></div>

View File

@ -417,6 +417,13 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
text-overflow: ellipsis;
max-width: 247px;
}
.blue-color, .blue-color a{
color: rgb(109,153,178);
}
.gray-color, .gray-color a{
color: rgb(153,153,153);
}
#top_field {
max-width: 100%;
margin: 20px auto;