|
|
|
@ -69,23 +69,23 @@
|
|
|
|
|
<ul class="resourcesSelect">
|
|
|
|
|
<li class="resourcesSelected"><a href="javascript:void(0);" class="resourcesIcon"></a>
|
|
|
|
|
<ul class="resourcesType">
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(@project)%>','','<%= @q%>','<%= @project.id%>');" class="resourcesTypeAll resourcesGrey">全部</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(@project)%>','软件版本','<%= @q%>','<%= @project.id%>');" class="softwareIcon postTypeGrey">软件版本</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(@project)%>','文档','<%= @q%>','<%= @project.id%>');" class="homepagePostTypeAssignment postTypeGrey">文档</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(@project)%>','代码','<%= @q%>','<%= @project.id%>');" class="codeIcon resourcesGrey">代码</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(@project)%>','媒体','<%= @q%>','<%= @project.id%>');" class="mediaIcon resourcesGrey">媒体</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(@project)%>','论文','<%= @q%>','<%= @project.id%>');" class="thesisIcon resourcesGrey">论文</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(@project,:other=>true)%>','其他','<%= @q%>','<%= @project.id%>');" class="othersIcon resourcesGrey">其它</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_project_files_path(@project)%>','','<%= @q%>','<%= @project.id%>');" class="resourcesTypeAll resourcesGrey">全部</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_project_files_path(@project)%>','软件版本','<%= @q%>','<%= @project.id%>');" class="softwareIcon postTypeGrey">软件版本</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_project_files_path(@project)%>','文档','<%= @q%>','<%= @project.id%>');" class="homepagePostTypeAssignment postTypeGrey">文档</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_project_files_path(@project)%>','代码','<%= @q%>','<%= @project.id%>');" class="codeIcon resourcesGrey">代码</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_project_files_path(@project)%>','媒体','<%= @q%>','<%= @project.id%>');" class="mediaIcon resourcesGrey">媒体</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_project_files_path(@project)%>','论文','<%= @q%>','<%= @project.id%>');" class="thesisIcon resourcesGrey">论文</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="search_tag_attachment('<%= search_tag_attachment_project_files_path(@project,:other=>true)%>','其他','<%= @q%>','<%= @project.id%>');" class="othersIcon resourcesGrey">其它</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="resources mt10" style="padding-bottom:5px;">
|
|
|
|
|
<div class="reTop mb5">
|
|
|
|
|
<%= form_tag( search_course_files_path(@project), method: 'get',:class => "re_search",:remote=>true) do %>
|
|
|
|
|
<%= text_field_tag 'name', params[:name], name: "name", :class => 'researchBox fl',:style=>"padding: 0px"%>
|
|
|
|
|
<%= submit_tag "课内搜索", :class => "blueBtn mr5 fl",:name => "incourse",:id => "incourse" %>
|
|
|
|
|
<%= submit_tag "全站搜索", :class => "blueBtn mr5 fl",:name => "insite",:id => "insite" %>
|
|
|
|
|
<%= form_tag( search_project_project_files_path(@project), method: 'get',:class => "re_search f_l",:remote=>true) do %>
|
|
|
|
|
<%= text_field_tag 'name', params[:name], name: "name", :class => 're_schbox',:style=>"padding: 0px"%>
|
|
|
|
|
<%= submit_tag "项目内搜索", :class => "re_schbtn b_lblue",:name => "incourse",:id => "incourse", :onmouseover => "presscss('incourse')",:onmouseout =>"buttoncss()", :style =>"width:72px;" %>
|
|
|
|
|
<%= submit_tag "全站搜索", :class => "re_schbtn b_lblue",:name => "insite",:id => "insite",:onmouseover => "presscss('insite')",:onmouseout =>"buttoncss()" %>
|
|
|
|
|
<!--REDO: 权限测试-->
|
|
|
|
|
<% if (@project.publish_resource==1 && User.current.member_of?(@project) ) %>
|
|
|
|
|
<input class="blueBtn fr mr5" value="上传资源" onclick="project_files_upload();">
|
|
|
|
|