You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/exercise/index.html.erb

22 lines
944 B

<%= stylesheet_link_tag 'polls', :media => 'all' %>
<div class="with78 fl">
<div class="ml20">
<div class="edu-con-top clearfix">
<p class="ml15 fl">试卷列表</p>
<% if @is_teacher %>
<a href="<%= new_exercise_path(:course_id => @course.id) %>" class="white-btn orange-btn fr mr20 mt3" title="新建">新建</a>
<a href="<%= other_exercise_exercise_index_path(:course_id => @course.id) %>" data-remote="true" class="white-btn orange-btn fr mr20 mt3">试卷选用</a>
<!--<a href="javascript:void(0)" class="white-btn orange-btn fr mr20 mt3" data-remote="true" title="导出成绩">导出成绩</a>-->
<% end %>
</div>
<div class="edu-class-innner-conbox">
<div class="edu-con-top clearfix" id="exercise_index_tab">
<%= render :partial => "exercise/exercise_index_tab" %>
</div>
<div id="exercise_index_list" class="mh550 clearfix">
<%= render :partial => "exercise/exercises_list" %>
</div>
</div>
</div>
</div>