Adding workflows menu icon.

--HG--
branch : 1.x
This commit is contained in:
Sipke Schoorstra 2013-06-02 11:54:46 +02:00
parent bd8ddf29d9
commit 50015f11c1
4 changed files with 11 additions and 1 deletions

View File

@ -8,7 +8,9 @@ namespace Orchard.Workflows {
public string MenuName { get { return "admin"; } }
public void GetNavigation(NavigationBuilder builder) {
builder.Add(T("Workflows"), "10",
builder
.AddImageSet("workflows")
.Add(T("Workflows"), "10",
menu => menu
.Add(T("Workflows"), "1.0",
qi => qi.Action("Index", "Admin", new { area = "Orchard.Workflows" }).Permission(StandardPermissions.SiteOwner).LocalNav())

View File

@ -75,6 +75,8 @@
<Content Include="Scripts\jquery.jsPlumb-1.3.16-all-min.js" />
<Content Include="Scripts\orchard-workflows-serialize.js" />
<Content Include="Scripts\orchard-workflows.js" />
<Content Include="Styles\images\menu.workflows.png" />
<Content Include="Styles\menu.workflows-admin.css" />
<Content Include="Styles\workflows-activity.css" />
<Content Include="Styles\images\cog.png" />
<Content Include="Styles\workflows-activity-delete-publish.css" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,6 @@
.navicon-workflows {
background-image:url(images/menu.workflows.png) !important;
}
.navicon-workflows:hover {
background-position:0 -30px !important;
}