59 lines
3.0 KiB
Plaintext
59 lines
3.0 KiB
Plaintext
<div id="users_setting">
|
||
<div class="resourcesUploadBox mt10"><a href="javascript:void(0);" onclick="show_upload();" class="uploadBoxIcon">上传资源</a></div>
|
||
<div id="search_div">
|
||
<%= render :partial => 'users/resource_search_form',:locals => {:user => @user, :type => @type} %>
|
||
</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>
|
||
<li class="resource-list-quote fr">引用数</li>
|
||
<li class="resource-list-download fr">下载数</li>
|
||
<li class="resource-list-size fr">大小</li>
|
||
<li class="resource-list-uploader fr">上传者</li>
|
||
<li class="resource-list-type fr">类别</li>
|
||
<li class="resource-list-from fr">来源</li>
|
||
</ul>
|
||
<div class="cl"></div>
|
||
<form id="resources_list_form">
|
||
<div id="resources_list">
|
||
<%= render :partial => 'users/resources_list' , :locals => { :attachments => @attachments} %>
|
||
</div>
|
||
<div class="cl"></div>
|
||
|
||
|
||
<div class="resource-list-option fl">
|
||
<div class="resource-check-all">
|
||
<input id="checkboxAll" type="checkbox" value="" onclick="all_select();" class="resourcesCheckbox" />
|
||
</div>
|
||
<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>
|
||
</div>
|
||
<div class="fl">选择 <span class="c_red" id="res_count">0</span> 个资源</div>
|
||
</div>
|
||
|
||
</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> |