mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Beginning to rework the Admin markup/CSS
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041476
This commit is contained in:
@@ -3,21 +3,21 @@
|
||||
<%@ Import Namespace="Orchard.Mvc.Html" %>
|
||||
<% Html.Include("Header"); %>
|
||||
<div class="yui-g">
|
||||
<h2><%=T("Edit Page")%></h2>
|
||||
<p class="bottomSpacer"><%=T("about setting up a page")%></p>
|
||||
<h2><%=_Encoded("Edit Page")%></h2>
|
||||
<p class="bottomSpacer"><%=_Encoded("about setting up a page")%></p>
|
||||
<%=Html.ValidationSummary() %>
|
||||
</div>
|
||||
<div class="yui-gc">
|
||||
<%using (Html.BeginForm()) {%>
|
||||
<div class="yui-u first">
|
||||
<h3><%= T("Page Content") %></h3>
|
||||
<h3><%=_Encoded("Page Content") %></h3>
|
||||
<ol>
|
||||
<%=Html.EditorFor(m => m.Revision.Title, "inputTextLarge")%>
|
||||
<%=Html.EditorFor(m => m.Revision.Slug, "inputTextPermalink")%>
|
||||
|
||||
<%foreach (ContentItem content in Model.Revision.Contents) {%>
|
||||
<label for="<%="Revision.Contents[" + content.ZoneName + "].Content" %>">
|
||||
<%=T("Zone Name")%>: <%= content.ZoneName %></label>
|
||||
<%=_Encoded("Zone Name")%>: <%= content.ZoneName %></label>
|
||||
<%if (Model.Template != null && Model.Template.Zones.Contains(content.ZoneName) == false) {%>
|
||||
<div class="warning">These contents are assigned to a zone that does not exist in the current template. Please delete it or copy it to another zone.</div>
|
||||
<%}%>
|
||||
@@ -36,7 +36,7 @@
|
||||
</ol>
|
||||
</div>
|
||||
<div class="yui-u sideBar">
|
||||
<h3><%=T("Publish Settings") %></h3>
|
||||
<h3><%=_Encoded("Publish Settings")%></h3>
|
||||
<fieldset>
|
||||
<ol class="formList">
|
||||
<li><label for="Command_PublishNow"><%=Html.RadioButton("Command", "PublishNow", new { id = "Command_PublishNow" })%> Publish Now</label></li>
|
||||
|
||||
@@ -16,7 +16,7 @@ string SplitDateTime(DateTime dt)
|
||||
string.Format("{0:t}", dt);
|
||||
}
|
||||
</script>
|
||||
<% Html.Include("Header"); %>
|
||||
<% Html.Include("Head"); %>
|
||||
<% Html.BeginForm(); %>
|
||||
<div class="yui-g">
|
||||
<h2>
|
||||
@@ -124,4 +124,4 @@ string SplitDateTime(DateTime dt)
|
||||
<%=Html.ActionLink("Add a page", "Create", new {}, new {@class="floatRight bottomSpacer"}) %>
|
||||
</div>
|
||||
<% Html.EndForm(); %>
|
||||
<% Html.Include("Footer"); %>
|
||||
<% Html.Include("Foot"); %>
|
||||
Reference in New Issue
Block a user