单个应用显示页面

This commit is contained in:
wanglinchun 2014-04-09 11:14:54 +08:00
parent 92078e6ac8
commit dfad0448e1
2 changed files with 47 additions and 25 deletions

View File

@ -1,34 +1,45 @@
<p id="notice"><%= notice %></p>
<p>
<b>Name:</b>
<%= @softapplication.name %>
</p>
<div style="height: 120px">
<tr>
<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(@softapplication), :class => "avatar2") %></td>
<td>
<table width="100%" border="0">
<tr style="font-size: 18px">
<td colspan="3" valign="top"><strong><%= @softapplication.name %></strong></td>
</tr>
<tr>
<td>所属类别:<%= @softapplication.app_type_name %></td>
<td>发布时间:<%=@softapplication.created_at %></span></td>
</tr>
<tr>
<td>开发者:<%= @softapplication.user_id %></td>
<td>系统支持:<%= @softapplication.android_min_version_available %></td>
</tr>
</table>
</td>
</tr>
</div>
<div class="underline-contests_one"></div>
<p>
<b>Description:</b>
<%= @softapplication.description %>
</p>
<div style="height: 100px">
<div style="font-size: 15px">应用简介:</div>
<div><%= @softapplication.description %></div>
</div>
<div class="underline-contests_one"></div>
<p>
<b>App type:</b>
<%= @softapplication.app_type_id %>
</p>
<div style="height: 120px">
<div style="font-size: 15px">软件截图:</div>
<div></div>
</div>
<div class="underline-contests_one"></div>
<p>
<b>App type name:</b>
<%= @softapplication.app_type_name %>
</p>
<div style="height: 120px">
<div style="font-size: 15px">软件评论:</div>
<div></div>
</div>
<p>
<b>Android min version available:</b>
<%= @softapplication.android_min_version_available %>
</p>
<p>
<b>User:</b>
<%= @softapplication.user_id %>
</p>
<%= link_to 'Edit', edit_softapplication_path(@softapplication) %> |

View File

@ -2702,3 +2702,14 @@ div.repos_explain{
background-color:#aaa;
overflow:hidden
}
.underline-contests_one{
margin-bottom: 10px;
border-bottom: 1px dashed rgb(204, 204, 204);
width: 930px;
}
.underline-contests_two{
margin-bottom: 10px;
border-bottom: 1px dashed rgb(204, 204, 204);
width: 660px;
}