diff --git a/app/views/games/_desc_full_show.html.erb b/app/views/games/_desc_full_show.html.erb index 00f0dd14c..e02b8cf87 100644 --- a/app/views/games/_desc_full_show.html.erb +++ b/app/views/games/_desc_full_show.html.erb @@ -1,6 +1,6 @@ -
+
-

第1关:Python的初始化

+

第<%= @game_challenge.position %>关:<%= @game_challenge.subject %>

@@ -29,50 +29,36 @@
-
- <%= h @game_challenge.answer.try(:html_safe) %> -
+
+
<%= h @game_challenge.answer.try(:html_safe) %>
\ No newline at end of file diff --git a/app/views/games/_exec_results.html.erb b/app/views/games/_exec_results.html.erb index d471d38aa..570859190 100644 --- a/app/views/games/_exec_results.html.erb +++ b/app/views/games/_exec_results.html.erb @@ -4,31 +4,6 @@ + \ No newline at end of file diff --git a/app/views/games/_game_show.html.erb b/app/views/games/_game_show.html.erb index 93f4e405f..fde233d85 100644 --- a/app/views/games/_game_show.html.erb +++ b/app/views/games/_game_show.html.erb @@ -46,6 +46,7 @@ <%= render :partial => 'games/exec_results' %> <%#= render :partial => 'games/desc_full_show' %> + \ No newline at end of file diff --git a/app/views/games/_myshixun_extend_repository.html.erb b/app/views/games/_myshixun_extend_repository.html.erb index da4b938d9..e8c1a919c 100644 --- a/app/views/games/_myshixun_extend_repository.html.erb +++ b/app/views/games/_myshixun_extend_repository.html.erb @@ -19,28 +19,3 @@ <% end %> <% end %> - \ No newline at end of file diff --git a/app/views/games/_repository.html.erb b/app/views/games/_repository.html.erb index 344d87345..24b9a78f5 100644 --- a/app/views/games/_repository.html.erb +++ b/app/views/games/_repository.html.erb @@ -1,23 +1,16 @@
<%= render :partial => 'myshixun_repository' %>
- +
diff --git a/app/views/games/show.html.erb b/app/views/games/show.html.erb index 757d6f278..02d545b6f 100644 --- a/app/views/games/show.html.erb +++ b/app/views/games/show.html.erb @@ -4,6 +4,11 @@
<%= render :partial => "game_show" %>
+<%= render :partial => 'desc_full_show'%> +
+ <%= render :partial => 'myshixun_extend_repository' %> +
+<%= render :partial => 'extend_test_output' %> diff --git a/public/stylesheets/css/taskstyle.css b/public/stylesheets/css/taskstyle.css index 1217b244c..b29de055e 100644 --- a/public/stylesheets/css/taskstyle.css +++ b/public/stylesheets/css/taskstyle.css @@ -73,7 +73,7 @@ a:hover.task-btn-blue{ background:#5f7cab;} .tag-grey{ background-color: #f3f5f7; color: #4d555d;} .tag-border-grey{ background-color: #fff;border-color: #e2e2e2; color: #888;} /****************************/ -.task-container{ min-width:1300px; margin:0 auto; background: #f5f9fc;} +.task-container{ min-width:1300px; margin:0 auto; background: #f5f9fc; position: relative;} /*左侧导航*/ .leftbar{ height: 100%; background: #1f212d; width: 210px;} .user-info{ width: 210px; height:180px; background:#29bd8b; padding-top:30px;} @@ -93,7 +93,7 @@ a:hover.leftnav-box-inner,a.leftnav-active{border-left:3px solid #29bd8b;color: .rightbar-score{ margin-top: 17px; font-size: 14px; margin-right:20px;} .rightbar-score li{ float: left; color:#fff; margin-right: 20px;} .rightbar-score li a{ color:#fff;} -a.rightbar-pause{ color:#29bd8b; font-size: 18px; margin-right:245px; margin-top: 12px;} +a.rightbar-pause{ color:#29bd8b; font-size: 18px; margin-right:15px; margin-top: 12px;} .rightbar-h2{ color:#fff; margin:12px 0 0 20px; font-weight: normal;} .rightbar{background:#f5f9fc; color:#333; position: relative;} /*右侧内容*/ @@ -165,10 +165,9 @@ textarea.task-textarea-pd{ padding-bottom: 0px; padding-top:0px;} .mb20{margin-bottom: 20px;} input.knowledge_frame{height:30px;line-height:30px;border:none;background:#f3f5f7;} /* TPi全屏展示css */ -.content-all-fix{ margin:0; position: absolute; top:15px; z-index:99; } -.content-all-fix .tab-info-inner{ overflow:auto; margin:0 0 0px 15px;padding-left: 15px } -.content-half-fix{ min-width:450px; margin:0; position: absolute; top:15px; z-index:99;} +.content-all-fix{ position: absolute; top:75px; left:15px; right:15px; z-index:99; height: 91%; width: 98.5%;} +.content-all-fix .big-tab-info-inner{ display: block; height:50%; overflow:auto; margin:15px 0 0px 15px; } +.content-half-fix{ min-width:450px; margin:0; position: absolute; top:140px; left:15px; z-index:99; height:84%;} +.content-half-fix .content-history-inner{height:100%; overflow:auto; } .content-half-fix02{margin:0; position: absolute; top:65px; z-index:99; right:45px;} - -.autoscroll_new{ overflow:auto; } -.autoscroll_extend{ overflow:auto; } +.content-history-extend{ height: 95%;overflow:auto;}