From a9ccb3b7b9dd3407c4a920735776b26a27ecc695 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 21 Mar 2017 14:15:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/games/_repository.html.erb | 4 ++-- public/stylesheets/css/taskstyle.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/games/_repository.html.erb b/app/views/games/_repository.html.erb index 7a2273031..e10f7b5bf 100644 --- a/app/views/games/_repository.html.erb +++ b/app/views/games/_repository.html.erb @@ -6,13 +6,13 @@ -
+
<% if params[:action] == "entry" %>
<%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %>
<% else %> - <% unless @entries.blank? %> + <% unless @entries.blank? %> <%= render :partial => 'tree' %> <% end %> <% end %> diff --git a/public/stylesheets/css/taskstyle.css b/public/stylesheets/css/taskstyle.css index 1ad0ae69b..3d4c99c6a 100644 --- a/public/stylesheets/css/taskstyle.css +++ b/public/stylesheets/css/taskstyle.css @@ -117,6 +117,7 @@ a.rightbar-pause{ color:#29bd8b; font-size: 18px; margin-right:245px; margin-top .tab-info-inner{ overflow:auto; margin:15px 0 0px 15px; } .big-tab-info-inner{ overflow:auto; margin:15px 0 0px 15px; } .content-history-inner{overflow:auto; padding:15px; height: 80px} +.content-history-extend{overflow:auto; padding:15px;} .content-history{width:49%; min-width:150px; } .history-success{ width: 100%; height:40px; line-height: 40px; background:#eef1f2; color:#666; } .history-fail{ width: 100%; height:40px; line-height: 40px; background:#fdebeb; color:#e53238; }