From 5c5562822bd6028e0a6eb2bc639f8104bd5e5721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 17 Apr 2019 16:50:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=AE=9E=E8=AE=AD?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/exercise/_edit_shixun.html.erb | 91 +++++++++++++------ .../_new_shixun_exercise_list.html.erb | 40 ++------ public/stylesheets/educoder/edu-main.css | 61 ++++++++++++- 3 files changed, 129 insertions(+), 63 deletions(-) diff --git a/app/views/exercise/_edit_shixun.html.erb b/app/views/exercise/_edit_shixun.html.erb index 1e8fb088..3dd10e76 100644 --- a/app/views/exercise/_edit_shixun.html.erb +++ b/app/views/exercise/_edit_shixun.html.erb @@ -39,48 +39,83 @@
实训名称 | -创建者 | -级别 | +实训名称 | +创建者 | +级别 |
---|---|---|---|---|---|
+ | <%= link_to shixun.name, shixun_path(shixun), :class => "edu-info-dark task-hide mt3 ml20",:style=> "text-align:left", :target => "_blank" %> | -<%= link_to shixun.owner.try(:show_name), user_path(shixun.owner), :class => "edu-txt-w140 mt3 task-hide" %> | -<%= shixun.shixun_level %> | +<%= link_to shixun.owner.try(:show_name), user_path(shixun.owner), :class => "mt3 task-hide" %> | +<%= shixun.shixun_level %> |