diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 39ac2032b..759f8c232 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -48,10 +48,10 @@ -

- <%= gantt_zoom_link(@gantt, :in) %> - <%= gantt_zoom_link(@gantt, :out) %> -

+ + + +

<%= text_field_tag 'months', @gantt.months, :size => 2 %> @@ -99,9 +99,9 @@ t_height = g_height + headers_height %> -<% if @gantt.truncated %> -

<%= l(:notice_gantt_chart_truncated, :max => @gantt.max_rows) %>

-<% end %> +<%# if @gantt.truncated %> + +<%# end %> @@ -294,10 +294,7 @@
-<% other_formats_links do |f| %> - <%= f.link_to 'PDF', :url => params.merge(@gantt.params) %> - <%= f.link_to('PNG', :url => params.merge(@gantt.params)) if @gantt.respond_to?('to_image') %> -<% end %> + <% end # query.valid? %> <% content_for :sidebar do %> diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 4447e45a0..21db53a31 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -79,8 +79,9 @@ 如何提交代码
- <%= link_to "代码统计:导出excel", {:controller => 'repositories', :action => 'export_rep_static', :format => 'xls', :rev => @rev } %>
- + 导出统计结果: + <%= link_to "当前一周", {:controller => 'repositories', :action => 'export_rep_static', :format => 'xls', :rev => @rev, :cycle => "week" } %> | + <%= link_to "当前一月", {:controller => 'repositories', :action => 'export_rep_static', :format => 'xls', :rev => @rev, :cycle => "month" } %>
<%#= link_to "导出excel", {:controller => 'repositories', :action => 'export_rep_static', :rev => @rev}, :format => 'xls' %> @@ -94,4 +95,4 @@ + diff --git a/public/stylesheets/css/project.css b/public/stylesheets/css/project.css index 722c9dc86..4a2ec5683 100644 --- a/public/stylesheets/css/project.css +++ b/public/stylesheets/css/project.css @@ -784,7 +784,6 @@ a:hover.hw_btn_blue,a:active.hw_btn_blue{ background: #3b94d6; color:#fff;} /* 缺陷列表 */ .issues_greycirbg_btn{ background-color:#dedede; padding:1px 5px;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px; } .issues_greycirbg_btn:hover{background-color:#cbcbcb;} -input:focus,select:focus{ border:none;outline:medium;border-right:none;} .issues_con{ width:718px; padding:15px; border:1px solid #ddd; background-color:#fff; color:#444; } .issues_statistics{ line-height:35px;} .issues_statistics ul li{ float:left; }