diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Scripts/base.js b/src/Orchard.Web/Modules/Orchard.Themes/Scripts/base.js
index 916f30533..80c3331fc 100644
--- a/src/Orchard.Web/Modules/Orchard.Themes/Scripts/base.js
+++ b/src/Orchard.Web/Modules/Orchard.Themes/Scripts/base.js
@@ -50,10 +50,10 @@ jQuery.fn.extend({
(function() {
$("form.inline.link").each(function() {
var _this = $(this);
- var link = $("");
+ var link = $("");
var button = _this.children("button").first();
link.text(button.text())
- .css("cursor", "pointer")
+ .addClass(button.attr("class"))
.click(function() { _this.submit(); return false; })
.unload(function() { _this = 0; });
_this.replaceWith(link);
diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx
index 163668ec2..618845880 100644
--- a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx
+++ b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx
@@ -27,33 +27,24 @@
<%=Html.Encode(theme.DisplayName) %>
<%=Html.Image(Html.ThemePath(theme, "/Theme.png"), Html.Encode(theme.DisplayName), null)%>
-
- <% using (Html.BeginFormAntiForgeryPost(Url.Action("Activate"), FormMethod.Post, new { @class = "inline" }))
- { %>
-
- <% } %>
- <% using (Html.BeginFormAntiForgeryPost(Url.Action("Preview"), FormMethod.Post, new { @class = "inline" }))
- { %>
-
- <% } %>
-
+ <% using (Html.BeginFormAntiForgeryPost(Url.Action("Activate"), FormMethod.Post, new { @class = "inline" })) { %>
+ <%=Html.Hidden("themeName", theme.ThemeName)%>
+
+ <% } %>
+ <% using (Html.BeginFormAntiForgeryPost(Url.Action("Preview"), FormMethod.Post, new { @class = "inline" })) { %>
+ <%=Html.Hidden("themeName", theme.ThemeName)%>
+
+ <% } %>
<%=_Encoded("By") %> <%=Html.Encode(theme.Author) %>
<%=_Encoded("Version:") %> <%=Html.Encode(theme.Version) %>
<%=Html.Encode(theme.Description) %>
<%=Html.Encode(theme.HomePage) %>
- <% using (Html.BeginFormAntiForgeryPost(Url.Action("Uninstall"), FormMethod.Post, new { @class = "inline" }))
- { %>
-
- <% } %>
-
+ <% using (Html.BeginFormAntiForgeryPost(Url.Action("Uninstall"), FormMethod.Post, new { @class = "inline link" })) { %>
+ <%=Html.Hidden("themeName", theme.ThemeName)%>
+
+ <% } %>
<% }
diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx
index 3c99b76eb..2bda1888a 100644
--- a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx
@@ -2,37 +2,68 @@
<%@ Import Namespace="Orchard.Mvc.Html"%>
<%@ Import Namespace="Orchard.Themes.ViewModels"%>
<% using(Html.BeginFormAntiForgeryPost(Url.Action("Preview", new{Controller="Admin", Area="Orchard.Themes"}), FormMethod.Post, new { @class = "inline" })) { %>
<% } %>
diff --git a/src/Orchard.Web/Themes/TheAdmin/Styles/site.css b/src/Orchard.Web/Themes/TheAdmin/Styles/site.css
index 4db79018b..af33ef011 100644
--- a/src/Orchard.Web/Themes/TheAdmin/Styles/site.css
+++ b/src/Orchard.Web/Themes/TheAdmin/Styles/site.css
@@ -731,8 +731,11 @@ todo: (heskew) pull out into relevant modules where appropriate
zoom:1;
*display: inline;
}
-.templates fieldset {
- margin:0 0 .933%;
+.templates .inline button {
+ font-size:1.2em;
+}
+.templates .wasFormInlineLink {
+ font-size:1.4em;
}
.templates p {
overflow:hidden;