@@ -17,6 +17,10 | |||||
17 |
|
17 | |||
18 | class AdminController < ApplicationController |
|
18 | class AdminController < ApplicationController | |
19 | layout 'admin' |
|
19 | layout 'admin' | |
|
20 | menu_item :projects, :only => :projects | |||
|
21 | menu_item :plugins, :only => :plugins | |||
|
22 | menu_item :info, :only => :info | |||
|
23 | ||||
20 | before_filter :require_admin |
|
24 | before_filter :require_admin | |
21 | helper :sort |
|
25 | helper :sort | |
22 | include SortHelper |
|
26 | include SortHelper |
@@ -16,6 +16,7 | |||||
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
17 |
|
17 | |||
18 | class LdapAuthSourcesController < AuthSourcesController |
|
18 | class LdapAuthSourcesController < AuthSourcesController | |
|
19 | menu_item :ldap_authentication | |||
19 |
|
20 | |||
20 | protected |
|
21 | protected | |
21 |
|
22 |
@@ -17,6 +17,7 | |||||
17 |
|
17 | |||
18 | class SettingsController < ApplicationController |
|
18 | class SettingsController < ApplicationController | |
19 | layout 'admin' |
|
19 | layout 'admin' | |
|
20 | menu_item :plugins, :only => :plugin | |||
20 |
|
21 | |||
21 | before_filter :require_admin |
|
22 | before_filter :require_admin | |
22 |
|
23 |
@@ -50,7 +50,7 h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord | |||||
50 | #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;} |
|
50 | #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;} | |
51 |
|
51 | |||
52 | #admin-menu ul {margin: 0; padding: 0;} |
|
52 | #admin-menu ul {margin: 0; padding: 0;} | |
53 |
#admin-menu li {margin: 0; padding: 0 0 |
|
53 | #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;} | |
54 |
|
54 | |||
55 | #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;} |
|
55 | #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;} | |
56 | #admin-menu a.projects { background-image: url(../images/projects.png); } |
|
56 | #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- | |||||
111 |
|
111 | |||
112 | #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;} |
|
112 | #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;} | |
113 | #sidebar a.selected:hover {text-decoration:none;} |
|
113 | #sidebar a.selected:hover {text-decoration:none;} | |
|
114 | #admin-menu a {line-height:1.7em;} | |||
|
115 | #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;} | |||
114 |
|
116 | |||
115 | /***** Tables *****/ |
|
117 | /***** Tables *****/ | |
116 | table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } |
|
118 | table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } |
General Comments 0
You need to be logged in to leave comments.
Login now