2015-09-25 14:55:58 +08:00
|
|
|
<div id="wrapper">
|
|
|
|
<div id="wrapper2">
|
|
|
|
<div id="wrapper3">
|
|
|
|
<div id="main" class="nosidebar">
|
|
|
|
<div id="content_">
|
|
|
|
<script type="text/javascript">
|
|
|
|
function searchUser(){
|
|
|
|
var name = $("#name").val();
|
|
|
|
if(name == "")
|
|
|
|
{
|
|
|
|
alert("搜索条件不能为空");
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
$("#search_user_form").submit();
|
|
|
|
}
|
2014-12-31 08:48:14 +08:00
|
|
|
|
2015-09-25 14:55:58 +08:00
|
|
|
function searchByChange()
|
|
|
|
{
|
|
|
|
$("#search_by_input").val($("#search_by").val());
|
|
|
|
}
|
|
|
|
</script>
|
2014-12-31 08:48:14 +08:00
|
|
|
|
2015-09-25 14:55:58 +08:00
|
|
|
<div class="top-content">
|
|
|
|
<%= form_tag( users_search_path, :method => :get, :id => 'search_user_form') do %>
|
|
|
|
<table width="940px">
|
|
|
|
<tr>
|
|
|
|
<td class="info_font" style="width: 220px; color: #15bccf " rowspan="2">
|
|
|
|
<%= l(:label_software_user ) %>
|
|
|
|
</td>
|
|
|
|
<td class="location-list">
|
|
|
|
<strong><%= l(:label_user_location) %> :</strong>
|
|
|
|
</td>
|
|
|
|
<td rowspan="2">
|
|
|
|
</td>
|
|
|
|
<td rowspan="2" >
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td >
|
|
|
|
<%=link_to l(:field_homepage), home_path %> >
|
|
|
|
<a><%= l(:label_software_user)%></a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2014-12-31 08:48:14 +08:00
|
|
|
|
|
|
|
|
2015-09-25 14:55:58 +08:00
|
|
|
<div class="autoscroll">
|
|
|
|
<% if @users.size > 0 %>
|
|
|
|
<%= render :partial => 'user_show' %>
|
|
|
|
<% else %>
|
|
|
|
<%= render :partial => "layouts/no_content"%>
|
|
|
|
<% end %>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<div class="pagination">
|
|
|
|
<ul style="float: left;margin-bottom: 10px;margin-left: 10px;">
|
|
|
|
<%= pagination_links_full @user_pages, @user_count %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
|
|
|
<% html_title(l(:label_user_plural)) -%>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-12-31 08:48:14 +08:00
|
|
|
</div>
|
|
|
|
|