summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/admin_controller.rb4
-rw-r--r--app/controllers/ldap_auth_sources_controller.rb1
-rw-r--r--app/controllers/settings_controller.rb1
-rw-r--r--public/stylesheets/application.css4
4 files changed, 9 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index d32bdef91..5aecd5f6d 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -17,6 +17,10 @@
class AdminController < ApplicationController
layout 'admin'
+ menu_item :projects, :only => :projects
+ menu_item :plugins, :only => :plugins
+ menu_item :info, :only => :info
+
before_filter :require_admin
helper :sort
include SortHelper
diff --git a/app/controllers/ldap_auth_sources_controller.rb b/app/controllers/ldap_auth_sources_controller.rb
index 74c8e3149..29f1bc3d7 100644
--- a/app/controllers/ldap_auth_sources_controller.rb
+++ b/app/controllers/ldap_auth_sources_controller.rb
@@ -16,6 +16,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class LdapAuthSourcesController < AuthSourcesController
+ menu_item :ldap_authentication
protected
diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb
index 257b90321..0658a8f34 100644
--- a/app/controllers/settings_controller.rb
+++ b/app/controllers/settings_controller.rb
@@ -17,6 +17,7 @@
class SettingsController < ApplicationController
layout 'admin'
+ menu_item :plugins, :only => :plugin
before_filter :require_admin
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index f387287b0..b9b6da6bb 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -50,7 +50,7 @@ h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord
#main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
#admin-menu ul {margin: 0; padding: 0;}
-#admin-menu li {margin: 0; padding: 0 0 12px 0; list-style-type:none;}
+#admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;}
#admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
#admin-menu a.projects { background-image: url(../images/projects.png); }
@@ -111,6 +111,8 @@ a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-
#sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px; -moz-border-radius:2px;}
#sidebar a.selected:hover {text-decoration:none;}
+#admin-menu a {line-height:1.7em;}
+#admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;}
/***** Tables *****/
table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }