A little cleanup for the Setting admin menu group

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2011-02-23 10:22:30 -08:00
parent 4a7930d33f
commit c0dfcfae22
2 changed files with 6 additions and 4 deletions

View File

@@ -20,7 +20,8 @@ namespace Orchard.Core.Settings {
public void GetNavigation(NavigationBuilder builder) {
builder.Add(T("Settings"), "50",
menu => menu.Add(T("General"), "0", item => item.Action("Index", "Admin", new { area = "Settings", groupInfoId = "Index" })
menu => menu.LinkToFirstChild(false)
.Add(T("General"), "0", item => item.Action("Index", "Admin", new { area = "Settings", groupInfoId = "Index" })
.Permission(StandardPermissions.SiteOwner)));
var site = _siteService.GetSiteSettings();

View File

@@ -412,11 +412,12 @@ form.link button:hover {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
}
.section-dashboard, .section-new
{
.section-dashboard, .section-new, .section-settings {
padding:6px 0;
}
.section-dashboard, .section-new {
background:#2b2b2b;
border:1px solid #404040;
padding:6px 0;
/*CSS3 properties*/
border-radius: 3px;