This commit is contained in:
parent
c7ac2bdb41
commit
25a39ed828
|
|
@ -12,8 +12,9 @@
|
|||
<%= form_tag(exercise_index_path(:course_id => @course.id, :type => @type), :remote => true , :method => 'get', :id => 'exercise_search_form') do %>
|
||||
<div class="edu-find fr with95 mr20 pr">
|
||||
<div class="edu-find-input">
|
||||
<input type="text" class="task-form-100 panel-box-sizing" name="search" placeholder="输入试卷名称进行搜索" value="<%= @search %>" id="exercise_name_search">
|
||||
<i class="fa fa-close mr5 color-grey edu-close" onclick="close_searchbox();"></i>
|
||||
<input type="text" class="with100 panel-box-sizing" name="search" placeholder="输入试卷名称进行搜索" value="<%= @search %>" id="exercise_name_search">
|
||||
<!--<i class="fa fa-close mr5 color-grey edu-close" onclick="colse_searchbox();"></i>-->
|
||||
<span class="edu-close" onclick="colse_searchbox();" data-tip-down="关闭">×</span>
|
||||
</div>
|
||||
<a href="javascript:void(0);" onclick="$('#exercise_search_form').submit();" class="edu-open font-16 color-grey "><i class="fa fa-search"></i></a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -26,10 +26,10 @@
|
|||
<% end %>
|
||||
</p>
|
||||
</div>
|
||||
<% if @is_teacher %>
|
||||
<div class="fr edu-position edu-position-hidebox mr20 mt5">
|
||||
<a href="javascript:void(0);"><i class="fa fa-bars font-16"></i></a>
|
||||
<ul class="edu-position-hide undis">
|
||||
<% if @is_teacher %>
|
||||
<% if exercise.exercise_status == 1 %>
|
||||
<li><%= link_to "编辑", edit_exercise_path(exercise) %></li>
|
||||
<% end %>
|
||||
|
|
@ -43,11 +43,9 @@
|
|||
<% end %>
|
||||
<!--<li><a href="javascript:void(0)">加入题库</a></li>-->
|
||||
<li><a href="javascript:void(0)" onclick="delete_confirm_box_3('<%= exercise_path(exercise) %>', '确定要删除该试卷吗?')">删除</a></li>
|
||||
<% else %>
|
||||
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue