Made "Install theme" link more prominent and made the current theme image smaller.

--HG--
branch : dev
This commit is contained in:
jowall
2010-03-01 15:56:10 -08:00
parent ea6f2546fe
commit 3e07a70c6b
2 changed files with 12 additions and 5 deletions

View File

@@ -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">

View File

@@ -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
----------------------------------------------------------