实训样式调整
This commit is contained in:
parent
de5cd798a9
commit
c5427f519b
|
@ -4,7 +4,7 @@
|
|||
<a href="javascript:void(0);" onclick="hideModal()"><i class="fa fa-times-circle font-18 link-color-grey fr mt5"></i></a>
|
||||
</div>
|
||||
<div class="task_popup_con mt15 ml30">
|
||||
<div class="panel-form mr15">
|
||||
<div class="mr15">
|
||||
<%= form_tag({:controller => 'courses', :action => 'join_course_multi_role'}, :remote => true, :method => :post, :id => 'new-watcher-form') do %>
|
||||
<ul>
|
||||
<li class="clearfix">
|
||||
|
|
|
@ -48,9 +48,9 @@
|
|||
<! if(test_sets[i].is_public == 1) { !>
|
||||
<div class="-task-ces-info <!= i == 0? '' : 'undis' !>" id="test_case_<!= i !>">
|
||||
<ul class="font-14">
|
||||
<li class="clearfix"><div class="clearfix"><span class="-task-ces-info-left color-blue fl fb">测试输入:</span><p class="fl"><!= test_sets[i].input == null ? "空" : test_sets[i].input.replace(/\r\n/g,"<br>") !></p></div></li>
|
||||
<li class="clearfix"><div class="clearfix"><span class="-task-ces-info-left color-blue fl fb">预期输出:</span><p class="fl"><!= test_sets[i].output == null ? "空" : test_sets[i].output.replace(/\r\n/g,"<br>") !></p></div></li>
|
||||
<li class="clearfix"><div class="clearfix"><span class="-task-ces-info-left color-blue fl fb">实际输出:</span><p class="fl color-orange"><!= test_sets[i].actual_output == null ? "空" : test_sets[i].actual_output.replace(/\r\n/g,"<br>") !></p></div></li>
|
||||
<li class="clearfix"><div class="clearfix"><span class="-task-ces-info-left color-blue fl fb">测试输入:</span><p class="fl" style="width: 90%;"><!= test_sets[i].input == null ? "空" : test_sets[i].input.replace(/\r\n/g,"<br>") !></p></div></li>
|
||||
<li class="clearfix"><div class="clearfix"><span class="-task-ces-info-left color-blue fl fb">预期输出:</span><p class="fl" style="width: 90%;"><!= test_sets[i].output == null ? "空" : test_sets[i].output.replace(/\r\n/g,"<br>") !></p></div></li>
|
||||
<li class="clearfix"><div class="clearfix"><span class="-task-ces-info-left color-blue fl fb">实际输出:</span><p class="fl color-orange" style="width: 90%;"><!= test_sets[i].actual_output == null ? "空" : test_sets[i].actual_output.replace(/\r\n/g,"<br>") !></p></div></li>
|
||||
</ul>
|
||||
</div>
|
||||
<! } !>
|
||||
|
|
|
@ -119,8 +119,8 @@
|
|||
$("#game_answer_show").find(".CodeMirror-scroll").css("margin-bottom", 0);
|
||||
$("#game_answer_show" ).children(".CodeMirror").css("line-height", 1.2);
|
||||
$("#game_answer_show").children().css("border", 0);*/
|
||||
// 设置图片最大宽度不能超出边框
|
||||
$('#task_pass_contents').find('img').css("max-width", "100%");
|
||||
/* // 设置图片最大宽度不能超出边框
|
||||
$('#task_pass_contents').find('img').css("max-width", "100%");*/
|
||||
});
|
||||
$("#tab_nav_3").click(function(){
|
||||
$.ajax({
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue