- 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:
skewed
2009-11-23 22:59:54 +00:00
parent e66ecece0d
commit 3c31807245
12 changed files with 437 additions and 77 deletions
@@ -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,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>
@@ -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"> &laquo; How to write a permalink. &raquo; </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)
{