mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Copying CmsPages' templates to Orchard.Web temporarily so pages can be viewed in the module's current state
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4044455
This commit is contained in:
@@ -166,6 +166,8 @@
|
||||
<Content Include="Themes\Orange\Theme.txt" />
|
||||
<Content Include="Themes\Orange\Views\layout.ascx" />
|
||||
<Content Include="Views\Shared\Messages.ascx" />
|
||||
<Content Include="Views\Templates\ThreeColumns.aspx" />
|
||||
<Content Include="Views\Templates\TwoColumns.aspx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
|
@@ -17,8 +17,8 @@ author: Jon
|
||||
<body>
|
||||
<div id="page">
|
||||
<div id="header">
|
||||
<% Html.Include("header"); %>
|
||||
<% Html.Include("Navigation"); %>
|
||||
<%-- <% Html.Include("header"); %>
|
||||
--%><%-- <% Html.Include("Navigation"); %>--%>
|
||||
</div>
|
||||
|
||||
<ul id="main">
|
||||
@@ -32,8 +32,8 @@ author: Jon
|
||||
<%= Html.IncludeZone("Right sidebar") %>
|
||||
</li>
|
||||
<li id="footer" class="clear">
|
||||
<% Html.Include("footer"); %>
|
||||
</li>
|
||||
<%-- <% Html.Include("footer"); %>
|
||||
--%> </li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
@@ -33,14 +33,14 @@ author: Jon
|
||||
|
||||
<div id="header">
|
||||
<div id="innerheader">
|
||||
<% Html.Include("header"); %>
|
||||
</div>
|
||||
<%--<% Html.Include("header"); %>
|
||||
--%></div>
|
||||
</div>
|
||||
|
||||
<div id="page">
|
||||
<div id="sideBar">
|
||||
<% Html.Include("Navigation"); %>
|
||||
<%= Html.IncludeZone("Right sidebar") %>
|
||||
<%--<% Html.Include("Navigation"); %>
|
||||
--%><%= Html.IncludeZone("Right sidebar") %>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
@@ -48,8 +48,8 @@ author: Jon
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<% Html.Include("footer"); %>
|
||||
</div>
|
||||
<%-- <% Html.Include("footer"); %>
|
||||
--%></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
41
src/Orchard.Web/Views/Templates/ThreeColumns.aspx
Normal file
41
src/Orchard.Web/Views/Templates/ThreeColumns.aspx
Normal file
@@ -0,0 +1,41 @@
|
||||
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Orchard.CmsPages.Models.PageRevision>" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html"%>
|
||||
<%@ Import Namespace="Orchard.CmsPages.Services.Templates"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<%--
|
||||
name: Three column layout
|
||||
description: This has a main content area and two sidebars.
|
||||
zones: Content, Left sidebar, Right sidebar
|
||||
author: Jon
|
||||
--%>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head id="Head1" runat="server">
|
||||
<title>ThreeColumns</title>
|
||||
<link href="<%=ResolveUrl("~/Content/Site.css") %>" rel="stylesheet" type="text/css" />
|
||||
<link href="<%=ResolveUrl("~/Content/Site3.css") %>" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="page">
|
||||
<div id="header">
|
||||
<%-- <% Html.Include("header"); %>
|
||||
--%><%-- <% Html.Include("Navigation"); %>--%>
|
||||
</div>
|
||||
|
||||
<ul id="main">
|
||||
<li id="sideBar1">
|
||||
<%= Html.IncludeZone("Left sidebar") %>
|
||||
</li>
|
||||
<li id="contentMain">
|
||||
<%= Html.IncludeZone("Content") %>
|
||||
</li>
|
||||
<li id="sideBar2">
|
||||
<%= Html.IncludeZone("Right sidebar") %>
|
||||
</li>
|
||||
<li id="footer" class="clear">
|
||||
<%-- <% Html.Include("footer"); %>
|
||||
--%> </li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
57
src/Orchard.Web/Views/Templates/TwoColumns.aspx
Normal file
57
src/Orchard.Web/Views/Templates/TwoColumns.aspx
Normal file
@@ -0,0 +1,57 @@
|
||||
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Orchard.CmsPages.Models.PageRevision>" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html" %>
|
||||
<%@ Import Namespace="Orchard.CmsPages.Services.Templates" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<%--
|
||||
name: Two column layout
|
||||
description: This has a main content area and a sidebar on the right.
|
||||
zones: Content, Right sidebar
|
||||
author: Jon
|
||||
--%>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title>TwoColumns</title>
|
||||
<link href="<%=ResolveUrl("~/Content/Site2.css") %>" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<%--<body>
|
||||
<div class="page">
|
||||
<div id="header">
|
||||
<% Html.Include("header"); %>
|
||||
</div>
|
||||
<div id="main">
|
||||
<%= Html.IncludeZone("Content") %>
|
||||
<%= Html.IncludeZone("Right sidebar") %>
|
||||
<div id="footer">
|
||||
<% Html.Include("footer"); %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>--%>
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<div id="header">
|
||||
<div id="innerheader">
|
||||
<%--<% Html.Include("header"); %>
|
||||
--%></div>
|
||||
</div>
|
||||
|
||||
<div id="page">
|
||||
<div id="sideBar">
|
||||
<%--<% Html.Include("Navigation"); %>
|
||||
--%><%= Html.IncludeZone("Right sidebar") %>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
<%= Html.IncludeZone("Content") %>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<%-- <% Html.Include("footer"); %>
|
||||
--%></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Reference in New Issue
Block a user