搜索后的资源总数在搜索框右边展示
This commit is contained in:
parent
577376a037
commit
92298160a7
|
@ -1,2 +1,3 @@
|
||||||
$("#resources_list").html('<%= escape_javascript( render :partial => 'resources_list' ,:locals=>{ :attachments => @attachments})%>');
|
$("#resources_list").html('<%= escape_javascript( render :partial => 'resources_list' ,:locals=>{ :attachments => @attachments})%>');
|
||||||
$("#pages").html('<%= pagination_links_full @atta_pages, @atta_count, :per_page_links => false, :remote => @is_remote, :flag => true %>');
|
$("#pages").html('<%= pagination_links_full @atta_pages, @atta_count, :per_page_links => false, :remote => @is_remote, :flag => true %>');
|
||||||
|
$("#res_all_count").html(<%= @atta_count%>);
|
|
@ -72,6 +72,12 @@
|
||||||
<div id="search_div">
|
<div id="search_div">
|
||||||
<%= render :partial => 'resource_search_form',:locals => {:user=>@user,:type=>@type} %>
|
<%= render :partial => 'resource_search_form',:locals => {:user=>@user,:type=>@type} %>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="
|
||||||
|
float: left;
|
||||||
|
margin-top: 7px;
|
||||||
|
font-size: 14px;
|
||||||
|
margin-left: 15px;
|
||||||
|
"><span style="align:center ;font-size: 14px;color: gray;">为您找到<span id="res_all_count"><%= @atta_count%></span>个资源</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="resourcesListBanner">
|
<div class="resourcesListBanner">
|
||||||
<ul class="resourcesListTab">
|
<ul class="resourcesListTab">
|
||||||
|
|
|
@ -2,4 +2,5 @@ $("#search_div").html('<%= escape_javascript( render :partial => 'resource_sear
|
||||||
$("#resources_list").html('<%= escape_javascript( render :partial => 'resources_list' ,:locals=>{ :attachments => @attachments})%>');
|
$("#resources_list").html('<%= escape_javascript( render :partial => 'resources_list' ,:locals=>{ :attachments => @attachments})%>');
|
||||||
$("#pages").html('<%= pagination_links_full @atta_pages, @atta_count, :per_page_links => false, :remote => @is_remote, :flag => true %>');
|
$("#pages").html('<%= pagination_links_full @atta_pages, @atta_count, :per_page_links => false, :remote => @is_remote, :flag => true %>');
|
||||||
$("#res_count").html(0);
|
$("#res_count").html(0);
|
||||||
$("#checkboxAll").attr('checked',false);
|
$("#checkboxAll").attr('checked',false);
|
||||||
|
$("#res_all_count").html(<%= @atta_count%>);
|
Loading…
Reference in New Issue