diff --git a/app/views/games/_repository.html.erb b/app/views/games/_repository.html.erb index 836429f10..5533a0e78 100644 --- a/app/views/games/_repository.html.erb +++ b/app/views/games/_repository.html.erb @@ -129,7 +129,7 @@ $("#codetab_con_"+H).html(html); $(".game_webssh").css("min-height", h); $(".game_webssh").css("max-height", h); - console.log( $(".game_webssh").height()); + //console.log( $(".game_webssh").height()); } } }) diff --git a/app/views/users/_my_homepage_courses_list.html.erb b/app/views/users/_my_homepage_courses_list.html.erb index 25300650e..9954d9b3d 100644 --- a/app/views/users/_my_homepage_courses_list.html.erb +++ b/app/views/users/_my_homepage_courses_list.html.erb @@ -9,7 +9,7 @@
<% @courses.each do |course| %>

- <%= course.name %> + <%= course.name %> <%= course.syllabus.title %> <%= User.where(:id => course.tea_id).first.show_name %> <%= time_from_now course.updated_at %>更新 diff --git a/app/views/users/_my_homepage_shixuns_list.html.erb b/app/views/users/_my_homepage_shixuns_list.html.erb index ed28b7318..92ce598fd 100644 --- a/app/views/users/_my_homepage_shixuns_list.html.erb +++ b/app/views/users/_my_homepage_shixuns_list.html.erb @@ -9,10 +9,10 @@

<% @shixuns.each do |shixun| %>

- <%= shixun.name.strip %> + <%= shixun.name.strip %> - + <% if had_passed_changllenge_count(shixun, @user) == 0 %> 尚未挑战 <% elsif had_passed_changllenge_count(shixun, @user) == -1 %> diff --git a/public/stylesheets/css/edu-user.css b/public/stylesheets/css/edu-user.css index 242d9d834..5ce5a59b0 100644 --- a/public/stylesheets/css/edu-user.css +++ b/public/stylesheets/css/edu-user.css @@ -98,6 +98,7 @@ a.btn-focus:hover{color: #FFFFFF!important;background:#FC7033;border: 1px solid .-task-con-int .passageway .hascon .lesson p .last{width:8.33%;display:inline-block;color:#888;cursor: pointer; display: none;} .-task-con-int .passageway .hascon .lesson p .last:hover{color:#5faee3;} .-task-con-int .passageway .hascon .lesson p .last:hover .blue{color:#5faee3;} + .-task-con-int .passageway .hascon .train p .first{width:35%;display:inline-block;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;} .-task-con-int .passageway .hascon .train p .hasmargin{width:40%;margin-right: 16.7%;color:#888;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;} .-task-con-int .passageway .hascon .train p .hasmargin .total{width:200px;height:20px;background:#ccc;display:inline-block;border-radius:10px;}