Added new icon to installed modules page.

--HG--
branch : dev
This commit is contained in:
Jonathan Wall
2011-02-24 10:18:34 -08:00
parent 8873882ad2
commit 9f014fa6c8
5 changed files with 7 additions and 3 deletions

View File

@@ -71,6 +71,8 @@
<ItemGroup>
<Content Include="Module.txt" />
<Content Include="Styles\images\menu.modules.png" />
<Content Include="Styles\images\new.gif" />
<Content Include="Styles\images\update.gif" />
<Content Include="Styles\menu.modules.css" />
<Content Include="Views\Admin\Index.cshtml" />
</ItemGroup>

View File

@@ -5,9 +5,9 @@
@{ string moduleClasses = Model.ContentPart.IsRecentlyInstalled ? "recentlyInstalledModule" : string.Empty; }
<div class="summary @moduleClasses">
<div class="summary">
<div class="properties">
<h2>@Model.ContentPart.Descriptor.Name<span> - @T("Version: {0}", !string.IsNullOrEmpty(Model.ContentPart.Descriptor.Version) ? Model.ContentPart.Descriptor.Version : T("1.0").ToString())</span></h2>
<h2 class="@moduleClasses">@Model.ContentPart.Descriptor.Name<span> - @T("Version: {0}", !string.IsNullOrEmpty(Model.ContentPart.Descriptor.Version) ? Model.ContentPart.Descriptor.Version : T("1.0").ToString())</span></h2>
@if (!string.IsNullOrEmpty(Model.ContentPart.Descriptor.Description)) {
<p>@Model.ContentPart.Descriptor.Description</p>}

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

View File

@@ -144,8 +144,10 @@
background-color: #d6e0e8;
}
.recentlyInstalledModule {
background-color: #d6e0e8;
background:#fff url(images/new.gif) no-repeat 0px 5px;
}
h2.recentlyInstalledModule {padding:0 0 0 40px;}
.updateAvailable {
background-color: #f1f0cb;
}