From d670cf8a367ca75bda73a0b433455d7e90a0cf2f Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 18 Apr 2017 09:51:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=B5=8B=E8=AF=84=E5=B1=80?= =?UTF-8?q?=E9=83=A8=E5=88=B7=E6=96=B0=E6=B5=8B=E8=AF=95=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/games/_code_actions.html.erb | 70 +++++++++++++++++++----- public/stylesheets/css/bigdata-popup.css | 15 ++++- 2 files changed, 71 insertions(+), 14 deletions(-) diff --git a/app/views/games/_code_actions.html.erb b/app/views/games/_code_actions.html.erb index 358565461..d3be1b372 100644 --- a/app/views/games/_code_actions.html.erb +++ b/app/views/games/_code_actions.html.erb @@ -1,8 +1,9 @@ 耗时:<%= game_spend_time(@game.open_time, @game.updated_at) %> +
<% if @game.status == 0 %> -评测 +评测 <% elsif @game.status == 1 %> - 评测中.. + 评测中.. <% elsif @game.status == 2 %> <%= link_to "下 一 步 ", {:controller => 'games',:action => "next_step", :id => @game, :myshixun_id => @myshixun}, @@ -10,12 +11,12 @@ :onclick => "training_task_submmit();", :remote => true %> <% end %> - +