From 1741fc1e0c04a6876139f3e03773b151dd8cf421 Mon Sep 17 00:00:00 2001 From: jowall Date: Thu, 4 Mar 2010 12:18:38 -0800 Subject: [PATCH] Updated the layout of the edit media page in the admin. --HG-- branch : dev --- .../Orchard.Media/Views/Admin/EditMedia.aspx | 30 ++++++++++++++----- .../Themes/Green/Views/Layout.HomePage.ascx | 1 - .../Themes/TheAdmin/Styles/site.css | 10 +++---- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/EditMedia.aspx b/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/EditMedia.aspx index 53a003a97..c3727fbc7 100644 --- a/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/EditMedia.aspx +++ b/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/EditMedia.aspx @@ -17,16 +17,32 @@ <%using (Html.BeginFormAntiForgeryPost()) { %> <%= Html.ValidationSummary() %>
-

<%=_Encoded("About this media")%>

-
+
+ " class="previewImage" alt="<%=Html.Encode(Model.Caption) %>" /> +
+
+ <%-- todo: make these real (including markup) --%> +
+ + + + + +
+
+ + ", ResolveUrl("~/Media/" + Model.RelativePath + "/" + Model.Name), 500, 375, Model.Caption)%>" /> + <%=_Encoded("Copy this html to add this image to your site.") %> +
+
- +
- + <%=_Encoded("This will be used for the image alt tag.")%> @@ -39,11 +55,11 @@ <%--" />--%>
-
+ <%--

<%=_Encoded("Preview")%>

" class="previewImage" alt="<%=Html.Encode(Model.Caption) %>" />
    - <%-- todo: make these real (including markup) --%> + <%-- todo: make these real (including markup)
  • @@ -53,6 +69,6 @@ <%=_Encoded("Copy this html to add this image to your site.") %>

-
+
--%> <% } %> \ No newline at end of file diff --git a/src/Orchard.Web/Themes/Green/Views/Layout.HomePage.ascx b/src/Orchard.Web/Themes/Green/Views/Layout.HomePage.ascx index 0115d6f84..6015190d5 100644 --- a/src/Orchard.Web/Themes/Green/Views/Layout.HomePage.ascx +++ b/src/Orchard.Web/Themes/Green/Views/Layout.HomePage.ascx @@ -41,6 +41,5 @@ <%-- End Content --%> - <%Html.Zone("footer");%> <% Html.Include("Footer"); %> diff --git a/src/Orchard.Web/Themes/TheAdmin/Styles/site.css b/src/Orchard.Web/Themes/TheAdmin/Styles/site.css index 488e5e807..665774b69 100644 --- a/src/Orchard.Web/Themes/TheAdmin/Styles/site.css +++ b/src/Orchard.Web/Themes/TheAdmin/Styles/site.css @@ -357,12 +357,12 @@ fieldset.bulk.actions { } legend { font-size:1.6em; - font-weight:600; font-weight:bold; } label { display: block; - color:#1d1b1b; + color:#4c4c4c; + font-weight:bold; } label.forcheckbox { display:inline; @@ -425,7 +425,7 @@ fieldset { border-bottom:1px solid #eaeaea; padding:1em; } -.settings fieldset div, .settings .button { +.orchard-media fieldset div, .settings fieldset div, .orchard-media .button, .settings .button { margin:1em 0 .5em 1em; } .settings legend { @@ -713,8 +713,8 @@ todo: (heskew) pull out into relevant modules where appropriate } .previewImage { border:1px solid #525e50; - height:70%; - width:70%; + height:50%; + width:50%; } .themes #main h2 { margin:1em 0 0 0;