bigdir/app/views/users/index.html.erb

50 lines
1.6 KiB
Plaintext
Raw Normal View History

2013-11-08 11:25:33 +08:00
<!-- modified by huang -->
<div class="top-content">
<%= form_tag(:controller => 'users', :action => 'search', :method => :get) do %>
<table width="940px">
<tr>
<td class="info_font" style="width: 220px; color: #15bccf" ><%= l(:label_software_user ) %></td>
<td class="location-list"><strong><%= l(:label_user_location) %> :</strong></td>
2013-11-08 11:25:33 +08:00
<td rowspan="2">
</td>
<td rowspan="2" >
<div class="project-search" style="float: right">
2013-11-08 11:25:33 +08:00
<%= text_field_tag 'name', params[:name], :size => 30 %>
2013-11-08 22:02:52 +08:00
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
2013-11-08 11:25:33 +08:00
</div>
</td>
</tr>
<tr>
<td style="padding-left: 8px"><a><%= link_to request.host()+"/users", :controller => 'users', :action => 'index' %> </a></td>
2013-11-08 11:25:33 +08:00
<td ><%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_software_user), :controller => 'users', :action => 'index' %></td>
</tr>
</table>
<% end %>
</div>
<!-- end -->
2013-09-30 09:42:13 +08:00
2013-09-29 19:46:59 +08:00
<%= sort_user(@s_type, @project_type)%>
2013-09-30 09:42:13 +08:00
2013-11-08 11:25:33 +08:00
<!-- <div class="pagination" style="border-bottom: 1px solid rgb(223,223,223); width: 95%; margin-left: 2%; margin-top: 0px">
<ul style="margin-right:0px">
<li>
<%= link_to l(:label_sort_by_time), users_path(:user_sort_type => '0') %>
</li>
<li>
<%= link_to l(:label_sort_by_active), users_path(:user_sort_type => '1') %>
</li>
<li>
<%= link_to l(:label_sort_by_influence), users_path(:user_sort_type => '2') %>
</li>
</ul>
</div> -->
<%= render :partial => 'user_show' %>
2013-08-01 10:33:49 +08:00
<div class="pagination">
<ul>
<%= pagination_links_full @user_pages, @user_count %>
2013-11-08 11:25:33 +08:00
</ul>
2013-08-01 10:33:49 +08:00
</div>
<% html_title(l(:label_user_plural)) -%>