|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
<div>
|
|
|
|
|
<ul class="wlist" id="pages" style="margin-top: 5px;">
|
|
|
|
|
<ul class="wlist" id="pages" style="margin-top: 15px;">
|
|
|
|
|
<%= pagination_links_full @atta_pages, @atta_count, :per_page_links => false, :remote => @is_remote, :flag => true %>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
<!--<div id="upload_box" style="display: none">-->
|
|
|
|
|
<!--<%#= render :partial => 'upload_resource' ,:locals => {:user=>@user}%>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<ul class="resource-list">
|
|
|
|
|
<ul>
|
|
|
|
|
<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>
|
|
|
|
@ -228,4 +228,22 @@
|
|
|
|
|
alert('您无法修改此资源!')
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//发送至按钮控制
|
|
|
|
|
$("input[name='checkbox1[]']").click(function(){
|
|
|
|
|
if($("input[name='checkbox1[]']:checked").length >= 1){
|
|
|
|
|
$(".resourcesSelectSendButton").removeClass("inactive-border");
|
|
|
|
|
$(".resourcesSelectSendButton").mouseover(function(){
|
|
|
|
|
$(this).css("backgroundColor","#297fb8");
|
|
|
|
|
});
|
|
|
|
|
$(".resourcesSelectSendButton").mouseout(function(){
|
|
|
|
|
$(this).css("backgroundColor","#fff");
|
|
|
|
|
});
|
|
|
|
|
$(".sendButtonBlue").removeClass("inactive-text");
|
|
|
|
|
}else{
|
|
|
|
|
$(".resourcesSelectSendButton").addClass("inactive-border");
|
|
|
|
|
$(".sendButtonBlue").addClass("inactive-text");
|
|
|
|
|
$(".resourcesSelectSendButton").unbind("mouseover").unbind("mouseout");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
</script>
|