Added new icon to installed themes page.

--HG--
branch : dev
This commit is contained in:
Jonathan Wall
2011-02-24 10:43:49 -08:00
parent 9f014fa6c8
commit 86580d2d4c
6 changed files with 13 additions and 14 deletions

View File

@@ -140,17 +140,13 @@
.features .feature .actions a {
margin-left:.5em;
}
.recentlyInstalledFeature {
background-color: #d6e0e8;
}
.recentlyInstalledModule {
background:#fff url(images/new.gif) no-repeat 0px 5px;
}
/***Recently installed**/
.recentlyInstalledFeature { }
.recentlyInstalledModule {background:#fff url(images/new.gif) no-repeat 0px 5px;}
h2.recentlyInstalledModule {padding:0 0 0 40px;}
.updateAvailable {
background-color: #f1f0cb;
}
.updateAvailable {background-color: #f1f0cb;}
.search-actions {
float: right;
display: inline;

View File

@@ -74,6 +74,8 @@
<ItemGroup>
<Content Include="Content\orchard.ico" />
<Content Include="Styles\images\menu.themes.png" />
<Content Include="Styles\images\new.gif" />
<Content Include="Styles\images\update.gif" />
<Content Include="Styles\menu.themes.css" />
<Content Include="Styles\orchard-themes-admin.css" />
<Content Include="Views\Admin\Index.cshtml" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

View File

@@ -51,6 +51,7 @@
.themePreviewImage {
height:300px;
}
.recentlyInstalledTheme {
background-color: Gray;
}
/***Recently installed**/
.recentlyInstalledTheme { }
.recentlyInstalledTheme {background:#fff url(images/new.gif) no-repeat 0px 5px;}
h3.recentlyInstalledTheme {padding:0 0 0 40px;}

View File

@@ -4,9 +4,9 @@
@{ string themeClasses = Model.ContentPart.IsRecentlyInstalled ? "recentlyInstalledTheme" : string.Empty; }
<div class="@themeClasses">
<div>
<h3>@Model.ContentPart.Name</h3>
<h3 class="@themeClasses">@Model.ContentPart.Name Beef Taco</h3>
@Html.Image(Href(Html.ThemePath((ExtensionDescriptor) Model.ContentPart.Descriptor, "/Theme.png")), Html.Encode((string)Model.ContentPart.Name), null)
@using (Html.BeginFormAntiForgeryPost(Url.Action("Activate"), FormMethod.Post, new { @class = "inline" })) {