作品列表enter键搜索,以及提示信息修改
This commit is contained in:
parent
ec4c7f531d
commit
bb197897b7
|
@ -87,13 +87,13 @@
|
||||||
<div class="dis" id="tbc_01">
|
<div class="dis" id="tbc_01">
|
||||||
<div class="codeList">
|
<div class="codeList">
|
||||||
<span class="fl mt3">
|
<span class="fl mt3">
|
||||||
<%= link_to "所有作品<font class='f12 c_red'>[共#{@homework.student_works.count}份]</font>".html_safe,student_work_index_path(:homework => @homework.id),:class => "fl f14"%>
|
<%= link_to "所有作品<font class='f12 c_red'>[共#{@stundet_works.count}份]</font>".html_safe,student_work_index_path(:homework => @homework.id),:class => "fl f14"%>
|
||||||
</span>
|
</span>
|
||||||
<%if @is_teacher || @homework.homework_detail_manual.comment_status == 3%>
|
<%if @is_teacher || @homework.homework_detail_manual.comment_status == 3%>
|
||||||
<form class="resourcesSearchloadBox fr">
|
<div class="resourcesSearchloadBox fr">
|
||||||
<input type="text" id="course_student_name" value="<%= @name%>" placeholder="输入资源关键词进行搜索" class="searchResource" onkeypress="SearchByName('<%= student_work_index_path(:homework => @homework.id)%>',event);"/>
|
<input type="text" id="course_student_name" value="<%= @name%>" placeholder="姓名、学号、邮箱" class="searchResource" onkeypress="SearchByName('<%= student_work_index_path(:homework => @homework.id)%>',event);"/>
|
||||||
<a class="homepageSearchIcon" onclick="SearchByName_1('<%= student_work_index_path(:homework => @homework.id)%>');" href="javascript:void(0)"></a>
|
<a class="homepageSearchIcon" onclick="SearchByName_1('<%= student_work_index_path(:homework => @homework.id)%>');" href="javascript:void(0)"></a>
|
||||||
</form>
|
</div>
|
||||||
<% end%>
|
<% end%>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue