资源库
This commit is contained in:
parent
7219586b1e
commit
32aef6f289
|
@ -28,8 +28,6 @@
|
|||
|
||||
function closeModal()
|
||||
{
|
||||
//hideModal($("#popbox_upload"));
|
||||
//$("#attachments_fields").html('');
|
||||
$("#upload_box").css("display","none");
|
||||
}
|
||||
|
||||
|
@ -48,19 +46,15 @@
|
|||
<li class="resourcesSelected"><a href="javascript:void(0);" class="resourcesIcon"></a>
|
||||
<ul class="resourcesType">
|
||||
<li>
|
||||
<!--<a href="javascript:void(0);" remote="true" onclick="remote_get_resources('',1)" class="resourcesGrey">全部</a>-->
|
||||
<%= link_to '全部' ,user_resource_user_path(:id=>@user.id,:type=>1),:remote=>true,:method => 'get',:class=>'resourcesGrey' %>
|
||||
</li>
|
||||
<li>
|
||||
<!--<a href="javascript:void(0);" class="resourcesGrey">课程资源</a>-->
|
||||
<%= link_to '课程资源' ,user_resource_user_path(:id=>@user.id,:type=>2),:remote=>true,:method => 'get',:class=>'resourcesGrey' %>
|
||||
</li>
|
||||
<li>
|
||||
<!--<a href="javascript:void(0);" class="resourcesGrey">项目资源</a>-->
|
||||
<%= link_to '项目资源' ,user_resource_user_path(:id=>@user.id,:type=>3),:remote=>true,:method => 'get',:class=>'resourcesGrey' %>
|
||||
</li>
|
||||
<li>
|
||||
<!--<a href="javascript:void(0);" class="resourcesGrey">附件</a>-->
|
||||
<%= link_to '附件' ,user_resource_user_path(:id=>@user.id,:type=>4),:remote=>true,:method => 'get',:class=>'resourcesGrey' %>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -73,7 +67,6 @@
|
|||
<a href="javascript:void(0);" onclick="show_upload();" class="uploadText">上传资源</a></div>
|
||||
<div id="search_div">
|
||||
<%= render :partial => 'resource_search_form',:locals => {:user=>@user,:type=>@type} %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="resourcesListBanner">
|
||||
|
|
Loading…
Reference in New Issue