mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
- More Admin UI work (CMSPages). The meat of each page still needs a little work otherwise things are shaping up nicely
- Adding searchreplace TinyMCE plugin --HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041966
This commit is contained in:
@@ -2,15 +2,14 @@
|
||||
<%@ Import Namespace="Orchard.CmsPages.Models"%>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html" %>
|
||||
<% Html.Include("Head"); %>
|
||||
<div class="yui-g">
|
||||
<h2><%=_Encoded("Edit Page")%></h2>
|
||||
<p class="bottomSpacer"><%=_Encoded("about setting up a page")%></p>
|
||||
<%=Html.ValidationSummary() %>
|
||||
</div>
|
||||
<div class="yui-gc">
|
||||
<h2><%=_Encoded("Edit Page")%></h2>
|
||||
<p class="bottomSpacer"><%=_Encoded("about setting up a page")%></p>
|
||||
<%=Html.ValidationSummary() %>
|
||||
<div class="sections">
|
||||
<%using (Html.BeginForm()) {%>
|
||||
<div class="yui-u first">
|
||||
<div class="primary">
|
||||
<h3><%=_Encoded("Page Content") %></h3>
|
||||
<%-- todo: (heskew) change the editors to be self-contained (fieldset > editor) --%>
|
||||
<ol>
|
||||
<%=Html.EditorFor(m => m.Revision.Title, "inputTextLarge")%>
|
||||
<%=Html.EditorFor(m => m.Revision.Slug, "inputTextPermalink")%>
|
||||
@@ -35,7 +34,7 @@
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="yui-u sideBar">
|
||||
<div class="secondary">
|
||||
<h3><%=_Encoded("Publish Settings")%></h3>
|
||||
<fieldset>
|
||||
<ol class="formList">
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<string>" %>
|
||||
<li>
|
||||
<%=Html.LabelForModel() %>
|
||||
<%=Html.TextBox("",Model,new{@class="inputText inputTextLarge"}) %>
|
||||
<%=Html.TextBox("",Model,new{@class="text large"}) %>
|
||||
<%=Html.ValidationMessage("","*")%>
|
||||
</li>
|
||||
|
||||
+1
-2
@@ -7,8 +7,7 @@ Permalink:
|
||||
</label>
|
||||
<span class="floatLeft">
|
||||
<%--<input id="permalink" class="inputText floatLeft roundCorners" type="text" name="permalink"/>--%>
|
||||
<%=Html.TextBox("", Model, new { @class = "inputText floatLeft" })%>
|
||||
<p class="helperText smallText clearLayout">How to write a permalink.</p>
|
||||
<%=Html.TextBox("", Model, new { @class = "text" })%> <span class="helperText smallText clearLayout"> « How to write a permalink. » </span>
|
||||
</span>
|
||||
</li>
|
||||
<div class="clearLayout" />
|
||||
@@ -2,7 +2,7 @@
|
||||
<%@ Import Namespace="Orchard.Utility"%>
|
||||
<%@ Import Namespace="Orchard.CmsPages.ViewModels"%>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html" %>
|
||||
<%-- todo: (nheskew) not this --%>
|
||||
<%-- todo: (heskew) not this --%>
|
||||
<script runat="server">
|
||||
public string DefaultText(string valueText, string defaultText)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user