mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
Added new icon to installed themes page.
--HG-- branch : dev
This commit is contained in:
@@ -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;
|
||||
|
@@ -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" />
|
||||
|
BIN
src/Orchard.Web/Modules/Orchard.Themes/Styles/images/new.gif
Normal file
BIN
src/Orchard.Web/Modules/Orchard.Themes/Styles/images/new.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 209 B |
BIN
src/Orchard.Web/Modules/Orchard.Themes/Styles/images/update.gif
Normal file
BIN
src/Orchard.Web/Modules/Orchard.Themes/Styles/images/update.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 240 B |
@@ -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;}
|
@@ -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" })) {
|
||||
|
Reference in New Issue
Block a user