Merge branch 'dev_shixun_project' of https://git.trustie.net/jacknudt/trustieforge into dev_shixun_project
This commit is contained in:
commit
e65400609e
|
@ -26,8 +26,8 @@
|
||||||
<p class="fl">错误结果!</p>
|
<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>
|
<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="cl"></div>
|
||||||
<div class="undis" style="background: #f5f9fc;padding: 10px" id="game_exception_results_<!= results[i][1] !>"></div>
|
|
||||||
</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>
|
<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>
|
<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="cl"></div>
|
||||||
<div class="undis" style="background: #f5f9fc;padding: 10px" id="extend_game_exception_results_<!= results[i][1] !>"></div>
|
|
||||||
</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>
|
</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 %>").html("<%= @game.msg %>");
|
||||||
$("#game_exception_results_<%= @game.id %>").toggle();
|
$("#game_exception_results_<%= @game.id %>").toggle();
|
||||||
|
|
Loading…
Reference in New Issue