From 3e07a70c6b05929148662286d81d22ea6225d5f0 Mon Sep 17 00:00:00 2001 From: jowall Date: Mon, 1 Mar 2010 15:56:10 -0800 Subject: [PATCH] Made "Install theme" link more prominent and made the current theme image smaller. --HG-- branch : dev --- src/Orchard.Web/Core/Themes/Views/Admin/Index.aspx | 9 +++++---- src/Orchard.Web/Themes/TheAdmin/Styles/site.css | 8 +++++++- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/Orchard.Web/Core/Themes/Views/Admin/Index.aspx b/src/Orchard.Web/Core/Themes/Views/Admin/Index.aspx index 36802991e..dbdf3db42 100644 --- a/src/Orchard.Web/Core/Themes/Views/Admin/Index.aspx +++ b/src/Orchard.Web/Core/Themes/Views/Admin/Index.aspx @@ -9,15 +9,16 @@ } else { %>

<%=_Encoded("Current Theme")%> - <%=Html.Encode(Model.CurrentTheme.DisplayName) %>

- <%=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" })%>
<%=_Encoded("By") %> <%=Html.Encode(Model.CurrentTheme.Author) %>

<%=_Encoded("Version:") %> <%=Html.Encode(Model.CurrentTheme.Version) %>
<%=Html.Encode(Model.CurrentTheme.Description) %>
- <%=Html.Encode(Model.CurrentTheme.HomePage) %>
- <%=Html.ActionLink(T("Install a new Theme").ToString(), "Install") %> -

+ <%=Html.Encode(Model.CurrentTheme.HomePage) %> +

+ <%=Html.ActionLink(T("Install a new Theme").ToString(), "Install", null, new { @class = "button primaryAction" })%> + <% } %>

<%=_Encoded("Available Themes")%>