Some initial work on admin view cleanup.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041367
This commit is contained in:
skewed
2009-11-19 09:28:45 +00:00
parent 0a329de071
commit 8863709314
25 changed files with 83 additions and 313 deletions
@@ -3,15 +3,7 @@
<%@ Import Namespace="Orchard.Utility"%>
<%@ Import Namespace="Orchard.CmsPages.Services.Templates"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title>Index2</title>
<% Html.Include("Head"); %>
</head>
<body>
<% Html.Include("Header"); %>
<% Html.Include("Header"); %>
<div class="yui-u">
<h2 class="separator">Delete pages</h2>
<p class="bottomSpacer">
@@ -42,6 +34,4 @@
}%>
<%}/*EndForm*/%>
</div>
<% Html.Include("Footer"); %>
</body>
</html>
<% Html.Include("Footer"); %>
@@ -3,15 +3,7 @@
<%@ Import Namespace="Orchard.Utility"%>
<%@ Import Namespace="Orchard.CmsPages.Services.Templates"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title>Index2</title>
<% Html.Include("Head"); %>
</head>
<body>
<% Html.Include("Header"); %>
<% Html.Include("Header"); %>
<%using (Html.BeginForm()) { %>
<div class="yui-u">
<h2 class="separator">Publish later</h2>
@@ -41,6 +33,4 @@
}%>
</div>
<%}/*EndForm*/%>
<% Html.Include("Footer"); %>
</body>
</html>
<% Html.Include("Footer"); %>
@@ -1,15 +1,7 @@
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Orchard.CmsPages.ViewModels.ChooseTemplateViewModel>" %>
<%@ Import Namespace="Orchard.CmsPages.Services.Templates"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title>Index2</title>
<% Html.Include("Head"); %>
</head>
<body>
<% Html.Include("Header"); %>
<% Html.Include("Header"); %>
<div class="yui-u">
<h2 class="separator">Change Template</h2>
<p class="bottomSpacer">
@@ -46,6 +38,4 @@
<%}/*EndForm*/%>
</div>
<% Html.Include("Footer"); %>
</body>
</html>
<% Html.Include("Footer"); %>
@@ -1,14 +1,6 @@
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Orchard.CmsPages.ViewModels.PageCreateViewModel>" %>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title>Index2</title>
<% Html.Include("Head"); %>
</head>
<body>
<% Html.Include("Header"); %>
<% Html.Include("Header"); %>
<div class="yui-u">
<h2 class="separator">Add a Page</h2>
<p class="bottomSpacer">
@@ -20,6 +12,4 @@
<%= Html.EditorForModel() %>
<%}/*EndForm*/%>
</div>
<% Html.Include("Footer"); %>
</body>
</html>
<% Html.Include("Footer"); %>
@@ -1,25 +1,7 @@
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<Orchard.CmsPages.ViewModels.PageEditViewModel>" %>
<%@ Import Namespace="Orchard.CmsPages.Models"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title>Index2</title>
<% Html.Include("Head"); %>
<script type="text/javascript" src="<%=ResolveUrl("~/Packages/TinyMce/Scripts/tiny_mce.js") %>"></script>
<script type="text/javascript">
tinyMCE.init({
theme: "advanced",
mode: "textareas",
plugins: "fullscreen,autoresize",
theme_advanced_toolbar_location: "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons3_add : "fullscreen"
});</script>
</head>
<body>
<% Html.Include("Header"); %>
<% Html.Include("Header"); %>
<div class="yui-g">
<h2><%=T("Edit Page")%></h2>
<p class="bottomSpacer"><%=T("about setting up a page")%></p>
@@ -72,7 +54,4 @@
</div>
<%}/*EndForm*/%>
</div>
<% Html.Include("Footer"); %>
</body>
</html>
<% Html.Include("Footer"); %>
@@ -1,14 +1,6 @@
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<System.Collections.Generic.IEnumerable<Orchard.CmsPages.Models.Page>>" %>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title>Index2</title>
<% Html.Include("Head"); %>
</head>
<body>
<% Html.Include("Header"); %>
<% Html.Include("Header"); %>
<div class="yui-g">
<h2>
Export</h2>
@@ -25,6 +17,4 @@
<%} %></ol>
</li><%} %></ol>
</div>
<% Html.Include("Footer"); %>
</body>
</html>
<% Html.Include("Footer"); %>
@@ -2,7 +2,7 @@
<%@ Import Namespace="Orchard.Utility"%>
<%@ Import Namespace="Orchard.CmsPages.ViewModels"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<%-- todo: (nheskew) not this --%>
<script runat="server">
public string DefaultText(string valueText, string defaultText)
{
@@ -16,15 +16,7 @@ string SplitDateTime(DateTime dt)
string.Format("{0:t}", dt);
}
</script>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title>Index2</title>
<% Html.Include("Head"); %>
</head>
<body>
<% Html.Include("Header"); %>
<% Html.Include("Header"); %>
<% Html.BeginForm(); %>
<div class="yui-g">
<h2>
@@ -132,6 +124,4 @@ string SplitDateTime(DateTime dt)
<%=Html.ActionLink("Add a page", "Create", new {}, new {@class="floatRight bottomSpacer"}) %>
</div>
<% Html.EndForm(); %>
<% Html.Include("Footer"); %>
</body>
</html>
<% Html.Include("Footer"); %>