socialforge/app/views/bids/index.html.erb

54 lines
1.8 KiB
Plaintext
Raw Normal View History

2013-08-04 10:59:25 +08:00
<!-- fq -->
2013-11-08 10:29:29 +08:00
<!-- modified by huang -->
<div class="top-content">
<%= form_tag(calls_path, :method => :get) do %>
<table width="940px">
<tr>
2013-11-08 10:29:29 +08:00
<td class="info_font" style="width: 220px; color: #15bccf""><%= l(:label_requirement_enterprise ) %></td>
<td class="location-list"><strong>当前位置 : </strong></td>
<td rowspan="2">
<% if User.current.logged? %>
2013-08-20 16:32:45 +08:00
<%= link_to(l(:label_new_call), {:controller => 'bids', :action => 'new_bid'}, :class => 'icon icon-add') %>
2013-11-08 10:29:29 +08:00
<% end %>
</td>
<td rowspan="2" >
<div class="project-search" style="float: right">
<%= text_field_tag 'name', params[:name], :size => 28 %>
<%= hidden_field_tag 'reward_type', params[:reward_type] %>
<%= hidden_field_tag 'project_type', params[:project_type] %>
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
</div>
</td>
</tr>
<tr>
<td style="padding-left: 8px"><a><%= link_to "forge.trustie.net/calls", :controller => 'bids', :action => 'index' %> </a></td>
<td ><%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_requirement_enterprise), :controller => 'bids', :action => 'index' %></td>
</tr>
</table>
<% end %>
</div>
<!-- end -->
2013-09-30 09:42:13 +08:00
2013-08-08 10:04:44 +08:00
2013-11-08 10:29:29 +08:00
<%= sort_bid(@s_state, @project_type)%>
2013-09-30 09:42:13 +08:00
2013-11-08 10:29:29 +08:00
<!-- <div class="pagination" style="border-bottom: 1px solid rgb(223,223,223); width: 95%; margin-left: 2%; margin-top: 15px" >
<ul style="margin-right:0px">
<li>
<%= link_to l(:label_sort_by_time), calls_path(:bid_sort_type => '0') %></li>
2013-09-30 09:42:13 +08:00
2013-11-08 10:29:29 +08:00
<li>
<%= link_to l(:label_sort_by_active), calls_path(:bid_sort_type => '1') %>
</li>
<!-- <li>
<%= link_to l(:label_sort_by_influence), calls_path(:bid_sort_type => '2') %>
</li> -->
<!-- </ul>
</div> -->
2013-08-28 20:16:40 +08:00
2013-11-08 10:29:29 +08:00
<div id="bid-show">
<%= render :partial => 'bid_show', :locals => {:bids => @bids, :bid_pages => @bid_pages} %>
</div>
2013-08-01 10:33:49 +08:00