mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 19:34:40 +08:00
Adding admin menu icons for navigation, media, modules, tags, themes, users and widgets.
--HG-- branch : dev
This commit is contained in:
@@ -7,8 +7,9 @@ namespace Orchard.Themes {
|
||||
public string MenuName { get { return "admin"; } }
|
||||
|
||||
public void GetNavigation(NavigationBuilder builder) {
|
||||
builder.Add(T("Themes"), "25", menu => menu
|
||||
.Add(T("Installed"), "0", item => item.Action("Index", "Admin", new { area = "Orchard.Themes" }).Permission(Permissions.ApplyTheme).LocalNav()));
|
||||
builder.AddImageSet("themes")
|
||||
.Add(T("Themes"), "25", menu => menu
|
||||
.Add(T("Installed"), "0", item => item.Action("Index", "Admin", new { area = "Orchard.Themes" }).Permission(Permissions.ApplyTheme).LocalNav()));
|
||||
}
|
||||
}
|
||||
}
|
@@ -72,6 +72,8 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Content\orchard.ico" />
|
||||
<Content Include="Styles\images\menu.themes.png" />
|
||||
<Content Include="Styles\menu.themes.css" />
|
||||
<Content Include="Styles\orchard-themes-admin.css" />
|
||||
<Content Include="Views\Admin\Index.cshtml" />
|
||||
<Content Include="Views\ThemePreview.cshtml" />
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 227 B |
@@ -0,0 +1,6 @@
|
||||
.navicon-themes {
|
||||
background-image:url(images/menu.themes.png) !important;
|
||||
}
|
||||
.navicon-themes:hover {
|
||||
background-position:0 -30px !important;
|
||||
}
|
Reference in New Issue
Block a user