2016-03-02 11:30:19 +08:00
|
|
|
|
<div id="users_setting">
|
|
|
|
|
<div class="resourcesUploadBox mt10"><a href="javascript:void(0);" onclick="show_upload();" class="uploadBoxIcon">上传资源</a></div>
|
|
|
|
|
<div id="search_div">
|
2016-03-02 16:54:07 +08:00
|
|
|
|
<%= render :partial => 'users/resource_search_form',:locals => {:user => @user, :type => @type} %>
|
2016-03-02 11:30:19 +08:00
|
|
|
|
</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 class="cl"></div>
|
|
|
|
|
<ul class="resource-list-tab mt10">
|
|
|
|
|
<li class="resource-list-checkbox fl"> </li>
|
|
|
|
|
<li class="resource-list-name fl">资源名称</li>
|
|
|
|
|
<li class="resource-list-time fr">上传时间</li>
|
2016-03-02 18:20:36 +08:00
|
|
|
|
<li class="resource-list-quote fr">引用数</li>
|
|
|
|
|
<li class="resource-list-download fr">下载数</li>
|
|
|
|
|
<li class="resource-list-size fr">大小</li>
|
2016-03-02 11:30:19 +08:00
|
|
|
|
<li class="resource-list-uploader fr">上传者</li>
|
|
|
|
|
<li class="resource-list-type fr">类别</li>
|
2016-03-02 18:20:36 +08:00
|
|
|
|
<li class="resource-list-from fr">来源</li>
|
2016-03-02 11:30:19 +08:00
|
|
|
|
</ul>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<form id="resources_list_form">
|
|
|
|
|
<div id="resources_list">
|
2016-03-02 16:54:07 +08:00
|
|
|
|
<%= render :partial => 'users/resources_list' , :locals => { :attachments => @attachments} %>
|
2016-03-02 11:30:19 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
2016-03-04 09:57:54 +08:00
|
|
|
|
|
|
|
|
|
|
2016-03-02 11:30:19 +08:00
|
|
|
|
<div class="resource-list-option fl">
|
|
|
|
|
<div class="resource-check-all">
|
2016-03-04 09:57:54 +08:00
|
|
|
|
<input id="checkboxAll" type="checkbox" value="" onclick="all_select();" class="resourcesCheckbox" />
|
2016-03-02 11:30:19 +08:00
|
|
|
|
</div>
|
2016-03-04 09:57:54 +08:00
|
|
|
|
<a href="javascript:void(0);" class="replyGrey mr15" onclick="all_select();">全选</a> <a href="javascript:void(0);" class="replyGrey" onclick="batch_delete();">删除</a> </div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="resourcesSelectSend mt10 fl">
|
|
|
|
|
<div class="resourcesSelectSendButton fl mr15 inactive-border" onclick="batch_send();">
|
|
|
|
|
<a href="javascript:void(0);" class="sendButtonBlue db inactive-text" data-remote="true">发送至</a>
|
2016-03-02 11:30:19 +08:00
|
|
|
|
</div>
|
2016-03-04 09:57:54 +08:00
|
|
|
|
<div class="fl">选择 <span class="c_red" id="res_count">0</span> 个资源</div>
|
2016-03-02 11:30:19 +08:00
|
|
|
|
</div>
|
2016-03-04 09:57:54 +08:00
|
|
|
|
|
2016-03-02 11:30:19 +08:00
|
|
|
|
</form>
|
|
|
|
|
<div>
|
|
|
|
|
<ul class="wlist" id="pages" style="margin-top: 5px;">
|
|
|
|
|
<%= pagination_links_full @atta_pages, @atta_count, :per_page_links => false, :remote => @is_remote, :flag => true %>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<!--<div id="upload_box" style="display: none">-->
|
|
|
|
|
<!--<%#= render :partial => 'upload_resource' ,:locals => {:user=>@user}%>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<ul class="resource-list">
|
|
|
|
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" id="contextMenu">
|
|
|
|
|
<li><a tabindex="-1" href="#" onclick="if(<%= User.current.logged?%>)preview();" onfocus="this.blur()">预览</a></li>
|
|
|
|
|
<li><a tabindex="-1" href="#" onclick="if(<%= User.current.logged?%>)rename();" onfocus="this.blur()">重命名</a></li>
|
|
|
|
|
<!-- data-remote="true" 这个属性会让ajax请求状态标志就在当前按钮的上方显示,就不会滚动浏览器,因而弹出框也会在当前窗口中央展示-->
|
|
|
|
|
<li><a tabindex="-1" href="#" onclick="if(<%= User.current.logged?%>)show_send_();" data-remote="true" onfocus="this.blur()" >发送</a></li>
|
|
|
|
|
<li><a tabindex="-1" href="#" onclick="if(<%= User.current.logged?%>)delete_file();" onfocus="this.blur()">删除</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</ul>
|