diff --git a/app/views/projects/settings/_modules.html.erb b/app/views/projects/settings/_modules.html.erb index 7b8ff3e6e..3b751278f 100644 --- a/app/views/projects/settings/_modules.html.erb +++ b/app/views/projects/settings/_modules.html.erb @@ -1,20 +1,14 @@ -<%= form_for @project, - :url => { :action => 'modules', :id => @project }, - :html => {:id => 'modules-form', - :method => :post} do |f| %> +<%= form_for @project,:url => { :action => 'modules', :id => @project },:html => {:id => 'modules-form',:method => :post} do |f| %> +
+<%= check_all_links 'modules-form' %>
+<%= submit_tag l(:button_save) %>
<% end %> diff --git a/app/views/projects/settings/_new_modules.html.erb b/app/views/projects/settings/_new_modules.html.erb index e2696a23e..c14656b94 100644 --- a/app/views/projects/settings/_new_modules.html.erb +++ b/app/views/projects/settings/_new_modules.html.erb @@ -1,19 +1,24 @@ -+ 保存 +
+<% end %> + diff --git a/public/javascripts/project.js b/public/javascripts/project.js index 148fe44cc..618268f41 100644 --- a/public/javascripts/project.js +++ b/public/javascripts/project.js @@ -174,7 +174,7 @@ function project_setting(n) } else { - $("#pro_st_tb_"+i).removeClass().addClass("pro_st_dis"); + $("#pro_st_tb_"+i).removeClass().addClass("pro_st_normaltab"); $("#pro_st_tbc_0"+i).removeClass().addClass("pro_st_undis"); } } diff --git a/public/stylesheets/project.css b/public/stylesheets/project.css index ddb23e282..556717e9e 100644 --- a/public/stylesheets/project.css +++ b/public/stylesheets/project.css @@ -363,9 +363,9 @@ blockquote { .pro_st_tb_{ border-bottom:3px solid #e4e4e4; text-align:center; margin-bottom:10px; } .pro_st_tb_ ul{height:24px;} .pro_st_tb_ li{float:left;height: 24px;width: auto; padding:0 10px;cursor:pointer; } -.pro_st_normaltab { color:#15bccf ; border-bottom:3px solid #e4e4e4; } -.pro_st_hovertab { color:#656767; font-weight:bold; border-bottom:3px solid #15bccf; } -.pro_st_normaltab a { color:#64bdd9 ; } +.pro_st_normaltab{ color:#15bccf ; border-bottom:3px solid #e4e4e4; } +.pro_st_hovertab{ color:#656767; font-weight:bold; border-bottom:3px solid #15bccf; } +.pro_st_normaltab a{ color:#64bdd9 ; } .pro_st_hovertab a{color:#fff; background-color:#64bdd9; text-decoration:none;} .pro_st_dis{display:block; } .pro_st_undis{display:none;}