mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00

--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042906
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<PageShowViewModel>" %>
|
|
|
|
<%@ Import Namespace="Orchard.Sandbox.ViewModels" %>
|
|
<%@ Import Namespace="Orchard.Mvc.Html" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>TwoColumns</title>
|
|
<link href="<%=ResolveUrl("~/Content/Site2.css") %>" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
<div id="innerheader">
|
|
<% Html.Include("header"); %>
|
|
</div>
|
|
</div>
|
|
<div id="page">
|
|
<div id="sideBar">
|
|
<% Html.Include("Navigation"); %>
|
|
</div>
|
|
<div id="main">
|
|
<% Html.RenderPartial("Messages", Model.Messages); %>
|
|
<h1><%=Html.Encode(Model.Page.Record.Name) %></h1>
|
|
<%foreach (var display in Model.ItemView.Displays) { %>
|
|
<%=Html.DisplayFor(m=>display.Model, display.TemplateName, display.Prefix) %>
|
|
<%} %>
|
|
<p>
|
|
<%=Html.ActionLink("Edit this page", "edit", new{Model.Page.ContentItem.Id}, new{}) %>, <%=Html.ActionLink("Return to list", "index") %></p>
|
|
</div>
|
|
<div id="footer">
|
|
<% Html.Include("footer"); %>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|