测评历史点击详情展开
This commit is contained in:
parent
0a0ee2acb1
commit
d9058b7fd8
|
@ -26,8 +26,8 @@
|
|||
<p class="fl">错误结果!</p>
|
||||
<a href="/myshixuns/<%= @myshixun.id %>/games/<%= @game.id %>/outputs_show?game_output_id=<!= results[i][1] !>" class="fr mr10" data-remote="true">详情</a>
|
||||
<div class="cl"></div>
|
||||
<div class="undis" style="background: #f5f9fc;padding: 10px" id="game_exception_results_<!= results[i][1] !>"></div>
|
||||
</div>
|
||||
<div class="undis" style="background: #f5f9fc;padding: 10px;margin-top:-10px;margin-bottom: 10px" id="game_exception_results_<!= results[i][1] !>"></div>
|
||||
<! } !>
|
||||
<! } !>
|
||||
<!--<! } !>-->
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
<p class="fl">错误结果!</p>
|
||||
<a href="/myshixuns/<%= @myshixun.id %>/games/<%= @game.id %>/outputs_show?game_output_id=<!= results[i][1] !>" class="fr mr10" data-remote="true">详情</a>
|
||||
<div class="cl"></div>
|
||||
<div class="undis" style="background: #f5f9fc;padding: 10px" id="extend_game_exception_results_<!= results[i][1] !>"></div>
|
||||
</div>
|
||||
<div class="undis" style="background: #f5f9fc;padding: 10px;margin-top:-10px;margin-bottom: 10px" id="extend_game_exception_results_<!= results[i][1] !>"></div>
|
||||
<! } !>
|
||||
<! } !>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
$("#game_test_output").html("<%= @game.msg %>");
|
||||
$("#game_test_output").html("<%= @game.out_put.nil? ? "没有编译结果" : @game.out_put %>");
|
||||
|
||||
// 窄版
|
||||
$("#game_exception_results_<%= @game.id %>").html("<%= @game.msg %>");
|
||||
$("#game_exception_results_<%= @game.id %>").toggle();
|
||||
|
|
Loading…
Reference in New Issue