mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Cleaned up the fallback theme's document and layout markup
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4044178
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html"%>
|
||||
<!DOCTYPE html>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html"
|
||||
%><!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title><%=Html.Title() %> - Safe Mode!</title>
|
||||
<% Html.RenderZone("metas"); %>
|
||||
<% Html.RenderZone("styles"); %>
|
||||
<% Html.RenderZone("scripts"); %>
|
||||
<title><%=Html.Title() %> - Safe Mode!</title><%
|
||||
Html.RenderZone("head", ":metas :styles :scripts"); %>
|
||||
</head>
|
||||
<body>
|
||||
<% Html.RenderZone("document-first"); %>
|
||||
<% Html.RenderBody(); %>
|
||||
<% Html.RenderZone("document-last"); %>
|
||||
<body><%
|
||||
Html.RenderZone("document-first");
|
||||
Html.RenderBody();
|
||||
Html.RenderZone("document-last"); %>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -1,15 +1,15 @@
|
||||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html" %>
|
||||
<% Html.RegisterStyle("site.css"); %>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html" %><%
|
||||
Html.RegisterStyle("site.css"); %>
|
||||
<div class="page">
|
||||
<div id="header">
|
||||
<% Html.RenderZone("header"); %>
|
||||
<% Html.RenderZone("menu"); %>
|
||||
</div>
|
||||
<div id="main">
|
||||
<% Html.RenderBody(); %>
|
||||
<div id="footer">
|
||||
<% Html.RenderZone("footer"); %>
|
||||
</div>
|
||||
<div id="header"><%
|
||||
Html.RenderZone("header");
|
||||
Html.RenderZone("menu");
|
||||
%></div>
|
||||
<div id="main"><%
|
||||
Html.RenderBody();
|
||||
%> <div id="footer"><%
|
||||
Html.RenderZone("footer");
|
||||
%></div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user