17 lines
996 B
Plaintext
17 lines
996 B
Plaintext
<div class="testStatus"><!--头部显示 start-->
|
|
<a href="javascript:" class="testEdit" title="编辑" onclick="pollsEdit();"></a>
|
|
<!-- <a class='ur_icon_add' title='导入' id="import_btn" onclick="importPoll();"></a> -->
|
|
<h1 class="ur_page_title" id="polls_name_h"><%= exercise.exercise_name%></h1>
|
|
<div class="fontGrey2">
|
|
<% unless exercise.publish_time.nil? %>
|
|
<span class="mr100">发布时间:<%=Time.parse(format_time(exercise.publish_time)).strftime("%Y-%m-%d %H:%M:%S") if exercise.publish_time%></span>
|
|
<% end %>
|
|
<span class="mr100">截止时间:<%=Time.parse(format_time(exercise.end_time)).strftime("%Y-%m-%d %H:%M:%S") if exercise.end_time %></span>
|
|
<% if exercise.time != -1 %>
|
|
<span>测验时长:<%= exercise.time %>分钟</span>
|
|
<% end %>
|
|
</div>
|
|
<div class="testDesEdit mt5"><%= exercise.exercise_description.nil? ? "" : exercise.exercise_description.html_safe%></div>
|
|
<div class="cl"></div>
|
|
<div class="cl"></div>
|
|
</div> |