mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 04:43:35 +08:00
Made "Install theme" link more prominent and made the current theme image smaller.
--HG-- branch : dev
This commit is contained in:
@@ -9,15 +9,16 @@
|
||||
} else {
|
||||
%><h3><%=_Encoded("Current Theme")%> - <%=Html.Encode(Model.CurrentTheme.DisplayName) %></h3>
|
||||
|
||||
<%=Html.Image(Html.ThemePath(Model.CurrentTheme, "/Theme.png"), Html.Encode(Model.CurrentTheme.DisplayName), null)%>
|
||||
<%=Html.Image(Html.ThemePath(Model.CurrentTheme, "/Theme.png"), Html.Encode(Model.CurrentTheme.DisplayName), new { @class = "themePreviewImage" })%>
|
||||
<h5><%=_Encoded("By") %> <%=Html.Encode(Model.CurrentTheme.Author) %></h5>
|
||||
|
||||
<p>
|
||||
<%=_Encoded("Version:") %> <%=Html.Encode(Model.CurrentTheme.Version) %><br />
|
||||
<%=Html.Encode(Model.CurrentTheme.Description) %><br />
|
||||
<%=Html.Encode(Model.CurrentTheme.HomePage) %><br />
|
||||
<%=Html.ActionLink(T("Install a new Theme").ToString(), "Install") %>
|
||||
<%=Html.Encode(Model.CurrentTheme.HomePage) %>
|
||||
</p>
|
||||
<%=Html.ActionLink(T("Install a new Theme").ToString(), "Install", null, new { @class = "button primaryAction" })%>
|
||||
|
||||
<% } %>
|
||||
<h2><%=_Encoded("Available Themes")%></h2>
|
||||
<ul class="templates">
|
||||
|
@@ -701,7 +701,7 @@ todo: (heskew) pull out into relevant modules where appropriate
|
||||
.templates p {
|
||||
overflow:hidden;
|
||||
}
|
||||
.templates img {
|
||||
.templates img, .themePreviewImage {
|
||||
border:1px solid #e8e8e8;
|
||||
height:200px;
|
||||
margin:.27em 0 .93em 0;
|
||||
@@ -712,6 +712,12 @@ todo: (heskew) pull out into relevant modules where appropriate
|
||||
height:70%;
|
||||
width:70%;
|
||||
}
|
||||
.themes #main h2 {
|
||||
margin:1em 0 0 0;
|
||||
}
|
||||
.themePreviewImage {
|
||||
height:300px;
|
||||
}
|
||||
|
||||
/* Rounded borders and other "works in some browsers" additions
|
||||
----------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user