diff --git a/app/views/games/_exec_results.html.erb b/app/views/games/_exec_results.html.erb index 0600780b9..d70d1146c 100644 --- a/app/views/games/_exec_results.html.erb +++ b/app/views/games/_exec_results.html.erb @@ -12,15 +12,21 @@
- <% unless @outputs.blank? %> - <% @outputs.each do |output| %> -
- 2 -

<%= output.code == 0 ? '恭喜,您已经完成了本任务!' : '错误结果!' %>

- <%= link_to "详情", outputs_show_myshixun_game_path(@game, :myshixun_id => @myshixun, :game_output_id => output.id), :class => "fr mr10" %> -
- <% end %> - <% end %> + + +
+ +

恭喜,您已经完成了本任务!

+ 详情 +
+ +
+ +

错误结果!

+ 详情 +
+ +
@@ -64,7 +70,6 @@

操作

- 保存修改
提交评测 diff --git a/app/views/games/_file_edit_form.html.erb b/app/views/games/_file_edit_form.html.erb index 2416d4a78..8c8057b9a 100644 --- a/app/views/games/_file_edit_form.html.erb +++ b/app/views/games/_file_edit_form.html.erb @@ -3,8 +3,8 @@ <%= stylesheet_link_tag "/assets/codemirror/codemirror" %>
-
  • -