mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 21:13: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 {
|
} else {
|
||||||
%><h3><%=_Encoded("Current Theme")%> - <%=Html.Encode(Model.CurrentTheme.DisplayName) %></h3>
|
%><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>
|
<h5><%=_Encoded("By") %> <%=Html.Encode(Model.CurrentTheme.Author) %></h5>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<%=_Encoded("Version:") %> <%=Html.Encode(Model.CurrentTheme.Version) %><br />
|
<%=_Encoded("Version:") %> <%=Html.Encode(Model.CurrentTheme.Version) %><br />
|
||||||
<%=Html.Encode(Model.CurrentTheme.Description) %><br />
|
<%=Html.Encode(Model.CurrentTheme.Description) %><br />
|
||||||
<%=Html.Encode(Model.CurrentTheme.HomePage) %><br />
|
<%=Html.Encode(Model.CurrentTheme.HomePage) %>
|
||||||
<%=Html.ActionLink(T("Install a new Theme").ToString(), "Install") %>
|
|
||||||
</p>
|
</p>
|
||||||
|
<%=Html.ActionLink(T("Install a new Theme").ToString(), "Install", null, new { @class = "button primaryAction" })%>
|
||||||
|
|
||||||
<% } %>
|
<% } %>
|
||||||
<h2><%=_Encoded("Available Themes")%></h2>
|
<h2><%=_Encoded("Available Themes")%></h2>
|
||||||
<ul class="templates">
|
<ul class="templates">
|
||||||
|
@@ -701,7 +701,7 @@ todo: (heskew) pull out into relevant modules where appropriate
|
|||||||
.templates p {
|
.templates p {
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
.templates img {
|
.templates img, .themePreviewImage {
|
||||||
border:1px solid #e8e8e8;
|
border:1px solid #e8e8e8;
|
||||||
height:200px;
|
height:200px;
|
||||||
margin:.27em 0 .93em 0;
|
margin:.27em 0 .93em 0;
|
||||||
@@ -712,6 +712,12 @@ todo: (heskew) pull out into relevant modules where appropriate
|
|||||||
height:70%;
|
height:70%;
|
||||||
width:70%;
|
width:70%;
|
||||||
}
|
}
|
||||||
|
.themes #main h2 {
|
||||||
|
margin:1em 0 0 0;
|
||||||
|
}
|
||||||
|
.themePreviewImage {
|
||||||
|
height:300px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Rounded borders and other "works in some browsers" additions
|
/* Rounded borders and other "works in some browsers" additions
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user