|
|
|
@ -120,21 +120,7 @@
|
|
|
|
|
|
|
|
|
|
<span class="font_welcome_trustie"><%= l(:label_welcome_trustie) %><%= l(:label_welcome_trustie_contest) %></span> <span class="font_welcome_tdescription">, <%= l(:label_welcome_trustie_contest_description) %></span>
|
|
|
|
|
</div>
|
|
|
|
|
<!--网站状态-->
|
|
|
|
|
<!-- <div class="contest_count">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>竞赛总量:</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr><br>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>竞赛总人数:</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr><br />
|
|
|
|
|
<tr>
|
|
|
|
|
<td>竞赛项目或应用总数:</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</div> -->
|
|
|
|
|
|
|
|
|
|
<!--搜索框-->
|
|
|
|
|
<div id="J_Slide" class="d-p-index-box d-p-index-hotproject" style="float: right;">
|
|
|
|
|
<%= form_tag({controller: 'contests', action: 'index'}, method: :get) do %>
|
|
|
|
@ -160,7 +146,7 @@
|
|
|
|
|
<% find_all_hot_contest.map do |contest| break if(contest == find_all_hot_contest[5]) %>
|
|
|
|
|
|
|
|
|
|
<li style="position:relative;height:6em;" class='<%= cycle("odd", "even") %>'>
|
|
|
|
|
<div class="avatar-4"; style="float: left; margin-top: 7px">
|
|
|
|
|
<div class="avatar-4" style="float: left; margin-top: 7px">
|
|
|
|
|
<%= image_tag('/images/contest1.png')%>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -192,7 +178,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="J_Slide" class="d-p-index-box d-p-index-hotproject" style="float: right;">
|
|
|
|
|
<h3 style="padding-bottom:px ;margin-left: 5px; color: #e8770d;">
|
|
|
|
|
<h3 style="margin-left: 5px; color: #e8770d;">
|
|
|
|
|
<strong>问题和反馈动态</strong>
|
|
|
|
|
<%= link_to "我要提问" , newbie_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%>
|
|
|
|
|
<%= link_to "我要反馈" , suggestion_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%>
|
|
|
|
@ -207,11 +193,11 @@
|
|
|
|
|
<%= link_to '['+topic.forum.name + ']',forum_path(topic.forum),:class => 'memo_Bar_title' %><%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url, :class => "gray" , :style => "font-size: 10pt !important;" %>
|
|
|
|
|
</span>
|
|
|
|
|
<br>
|
|
|
|
|
<span style="margin-left: 24px; color: rgb(172, 174, 177); white-space: nowrap; font-size: 9pt !important;;"><%= l(:field_updated_on) %><%=time_tag_welcome(topic_last_time topic)%>前</span>
|
|
|
|
|
<span style="margin-left: 24px; color: rgb(172, 174, 177); white-space: nowrap; font-size: 9pt !important;;"><%= l(:field_updated_on) %><%=time_tag_welcome(topic_last_time topic)%>前</span>
|
|
|
|
|
<span style="margin-left: 8px; margin-bottom: 0px; color: rgb(172, 174, 177) !important; white-space: nowrap;">
|
|
|
|
|
由 <%= link_to topic.author ? topic.author : 'Anonymous', user_path(topic.author_id), :style => "font-size: 9pt !important; color: rgb(17, 102, 173);" %> 发表
|
|
|
|
|
</span>
|
|
|
|
|
<span style="float: right; color: rgb(172, 174, 177); white-space: nowrap; font-size: 9pt !important;;">回复(<%= link_to (topic.parent ? topic.parent.replies_count : topic.replies_count), topic.event_url %>)</span>
|
|
|
|
|
<span style="float: right; color: rgb(172, 174, 177); white-space: nowrap; font-size: 9pt !important;;">回复(<%= link_to (topic.parent ? topic.parent.replies_count : topic.replies_count), topic.event_url %>)</span>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<% end %>
|
|
|
|
@ -228,7 +214,7 @@
|
|
|
|
|
<% find_all_hot_softapplication.map do |softapplication| break if(softapplication == find_all_hot_softapplication[5]) %>
|
|
|
|
|
|
|
|
|
|
<li style="position:relative;height:6em;" class='<%= cycle("odd", "even") %>'>
|
|
|
|
|
<div class="avatar-4"; style="float: left; margin-top: 7px">
|
|
|
|
|
<div class="avatar-4" style="float: left; margin-top: 7px">
|
|
|
|
|
<%= image_tag('/images/app1.png')%>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -237,7 +223,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class='text_nowrap' style="float: left;margin:5px; margin-left: 10px; margin-bottom:1px; width: 380px;">
|
|
|
|
|
<span class='font_lighter' title =<%=softapplication.description.to_s%>><%=softapplication.description.truncate(50, omission: '...')%></span>
|
|
|
|
|
<span class='font_lighter' title =<%=softapplication.description.to_s%>><%=softapplication.description.to_s.truncate(50, omission: '...')%></span>
|
|
|
|
|
</div><br />
|
|
|
|
|
|
|
|
|
|
<div style="padding-left: 55px; clear: left;">
|
|
|
|
|