mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Classic Dark theme
--HG-- branch : dev
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
@@ -145,6 +145,8 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Config\Sample.Host.config" />
|
||||
<Content Include="Themes\ClassicDark\Views\Footer.cshtml" />
|
||||
<Content Include="Themes\ClassicDark\Views\Layout.cshtml" />
|
||||
<None Include="Themes\TheAdmin\Styles\images\icons.psd" />
|
||||
<Content Include="Themes\ClassicDark\Content\Images\bodyBackgroundgrey.gif" />
|
||||
<Content Include="Themes\ClassicDark\Content\Images\sidebarBackground.gif" />
|
||||
@@ -152,15 +154,6 @@
|
||||
<Content Include="Themes\ClassicDark\Styles\site.css" />
|
||||
<Content Include="Themes\ClassicDark\Theme.png" />
|
||||
<Content Include="Themes\ClassicDark\Theme.txt" />
|
||||
<Content Include="Themes\ClassicDark\Views\DisplayTemplates\Items\Blogs.Blog.ascx" />
|
||||
<Content Include="Themes\ClassicDark\Views\DisplayTemplates\Items\Blogs.Blog.Summary.ascx" />
|
||||
<Content Include="Themes\ClassicDark\Views\DisplayTemplates\Items\Blogs.BlogPost.ascx" />
|
||||
<Content Include="Themes\ClassicDark\Views\DisplayTemplates\Items\Blogs.BlogPost.Summary.ascx" />
|
||||
<Content Include="Themes\ClassicDark\Views\DisplayTemplates\Parts\Blogs.BlogPost.Metadata.ascx" />
|
||||
<Content Include="Themes\ClassicDark\Views\DisplayTemplates\Parts\Common.Metadata.ascx" />
|
||||
<Content Include="Themes\ClassicDark\Views\Footer.ascx" />
|
||||
<Content Include="Themes\ClassicDark\Views\Layout.ascx" />
|
||||
<Content Include="Themes\ClassicDark\Views\ZoneTest.ascx" />
|
||||
<Content Include="Themes\ClassicDark\Zones\Sidebar.html" />
|
||||
<Content Include="Themes\Classic\Content\Images\sidebarBackground.gif" />
|
||||
<Content Include="Themes\Classic\Zones\Sidebar.html" />
|
||||
|
@@ -15,17 +15,19 @@ ul.blogs p {
|
||||
}
|
||||
|
||||
.postsummary {
|
||||
padding: 0 0 4px 0;
|
||||
border-bottom:1px dotted #474747;
|
||||
}
|
||||
|
||||
.meta {
|
||||
font-size:1.5em;
|
||||
font-style:italic;
|
||||
color:#999;
|
||||
}
|
||||
|
||||
.tagCloud {
|
||||
font-style:italic;
|
||||
font-size:120%;
|
||||
font-size:1.8em;
|
||||
}
|
||||
|
||||
.tagCloud li {
|
||||
@@ -39,5 +41,14 @@ ul.blogs p {
|
||||
}
|
||||
|
||||
ul.archiveMonthList li {
|
||||
font-size:1.5em;
|
||||
padding:8px;
|
||||
}
|
||||
|
||||
.comment span {
|
||||
font-size:1.4em;
|
||||
}
|
||||
|
||||
.text p {
|
||||
margin:0 0 1.4em 0;
|
||||
}
|
@@ -19,43 +19,38 @@ abbr,acronym { border:0;}
|
||||
html {height: 100%;}
|
||||
|
||||
body {
|
||||
font: normal 90% "Georgia", Times New Roman, Times, serif;
|
||||
font: normal 62.5% "Georgia", Times New Roman, Times, serif; /* 62.5% sets font to 10px */
|
||||
height: 100%;
|
||||
text-align:left;
|
||||
color:#dedede;
|
||||
/*background:#515457 url(../Content/Images/bodyBackgroundgrey.gif) repeat-x scroll left top;*/
|
||||
background:#0c0c0c;
|
||||
}
|
||||
|
||||
/* ---------- Headings and defaults ---------- */
|
||||
|
||||
h1,h2,h3,h4,h5,h6,legend {font-weight:normal; font-style: normal; margin:12px 0 4px 0; color:#f2f8ef;}
|
||||
h1,h2,h3,h4,h5,h6,legend {font-weight:normal; font-style: normal; margin:.2em 0;}
|
||||
|
||||
h1 {font-size: 180%;}
|
||||
h2 {font-size: 160%;}
|
||||
h3 {font-size: 145%;}
|
||||
h4 {font-size: 130%;}
|
||||
h5 {font-size: 120%;}
|
||||
h6 {font-size: 105%;}
|
||||
h1 { font-size:2.6em; } /* 26px */
|
||||
h2 { font-size:2.4em; } /* 24px */
|
||||
h3 { font-size:2.2em; } /* 22px */
|
||||
h4 { font-size:2.0em; } /* 20px */
|
||||
h5 { font-size:1.8em; } /* 18px */
|
||||
h6 { font-size:1.6em; } /* 16px */
|
||||
|
||||
h1.sitename {border-bottom:none;}
|
||||
|
||||
p {line-height:24px; margin:12px 0 32px 0;}
|
||||
p.small {line-height:24px; font-size:85%;}
|
||||
p {font-size:1.4em; line-height:2em; margin:1.2em 0 1.2em 0;}
|
||||
p.small {font-size:1.2em;}
|
||||
|
||||
a {color:#ccdcce; text-decoration:underline;} /* unvisited link */
|
||||
a:active {color: #ccdcce;} /* selected link */
|
||||
a:visited {color: #ccdcce;} /* visited link */
|
||||
a:hover {color: #99ff66;} /* mouse over link */
|
||||
|
||||
#content a:hover, #sidebar a:hover {text-decoration:underline;}
|
||||
|
||||
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a,legend a {
|
||||
text-decoration:none;
|
||||
color:#f2f8ef;
|
||||
}
|
||||
|
||||
ul.square {list-style:square; list-style-position:inside; line-height:24px; margin:0 0 0 12px;}
|
||||
ol.decimal {list-style:decimal; list-style-position:inside; line-height:24px; margin:0 0 0 12px;}
|
||||
ul.square {font-size:1.4em; list-style:square; list-style-position:inside; line-height:2em; margin:0 0 0 1.2em;}
|
||||
ol.decimal {font-size:1.4em; list-style:decimal; list-style-position:inside; line-height:2em; margin:0 0 0 1.2em;}
|
||||
|
||||
|
||||
/* Forms
|
||||
@@ -65,72 +60,52 @@ input[type="text"], #CommentText, #password, #confirmPassword {
|
||||
border:1px solid #cacec6;
|
||||
background:#DEDEDE;
|
||||
display: block;
|
||||
padding:2px;
|
||||
padding:3px;
|
||||
width:90%;
|
||||
}
|
||||
|
||||
fieldset div {margin:16px 0 0 0}
|
||||
}
|
||||
form.search {
|
||||
margin-bottom:2em;
|
||||
}
|
||||
.search input[type=text] {
|
||||
display:inline;
|
||||
width:17em;
|
||||
}
|
||||
fieldset div {margin:1.6em 0 0 0}
|
||||
|
||||
legend {
|
||||
font-size: 110%;
|
||||
font-size: 1.8em;
|
||||
border:none;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 1.4em;
|
||||
display: block;
|
||||
margin:0 0 2px 0;
|
||||
font-style:normal;
|
||||
margin:0 0 .1em 0;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
margin:2px 0 20px 10px;
|
||||
margin:.2em 0 2em 1em;
|
||||
}
|
||||
|
||||
input[type="submit"], input[type="button"], .button {
|
||||
font: normal 90% "Georgia", Times New Roman, Times, serif;
|
||||
font: normal 1.4em "Georgia", Times New Roman, Times, serif;
|
||||
color:#474747;
|
||||
padding:2px 14px;
|
||||
display: block;
|
||||
margin:2px 0 20px 0;
|
||||
margin:.2em 0 2em 0;
|
||||
font-weight:600;
|
||||
}
|
||||
|
||||
.forcheckbox {
|
||||
margin:0 0 0 4px;
|
||||
margin:0 0 0 .4em;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
/* Search
|
||||
----------------------------------------------------------*/
|
||||
|
||||
.search
|
||||
{
|
||||
margin: 0 0 14px 0;
|
||||
}
|
||||
|
||||
.search fieldset
|
||||
{
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.search input
|
||||
{
|
||||
width: auto;
|
||||
float: left;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.search button
|
||||
{
|
||||
float: left;
|
||||
margin: 0 0 0 4px;
|
||||
}
|
||||
|
||||
|
||||
/* Tables
|
||||
----------------------------------------------------------*/
|
||||
table {
|
||||
background:#fff;
|
||||
font:1.2em Verdana, Geneva, Tahoma, sans-serif;
|
||||
background:#1d2025;
|
||||
border:1px solid #f1f1f1;
|
||||
border-collapse:collapse;
|
||||
width:100%;
|
||||
@@ -142,7 +117,6 @@ table thead, table th {
|
||||
}
|
||||
|
||||
table th {
|
||||
font:70% Verdana, Geneva, Tahoma, sans-serif;
|
||||
background-color:#69625e;
|
||||
color:#f1f1f1;
|
||||
}
|
||||
@@ -166,7 +140,7 @@ table tbody {
|
||||
|
||||
|
||||
th, td {
|
||||
font:70% Verdana, Geneva, Tahoma, sans-serif;
|
||||
font:1em Verdana, Geneva, Tahoma, sans-serif;
|
||||
padding:6px
|
||||
}
|
||||
|
||||
@@ -185,23 +159,24 @@ td.even {
|
||||
}
|
||||
|
||||
#header {
|
||||
border:1px dotted #474747;
|
||||
border:1px solid #474747;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
margin:3px 0 3px 0;
|
||||
margin:.3em 0 .3em 0;
|
||||
}
|
||||
|
||||
#header h1 {
|
||||
font-size:240%;
|
||||
font-size:3.2em;
|
||||
border:0;
|
||||
margin:12px 18px;
|
||||
margin:0 0 0 .8em;
|
||||
padding:10px 0;
|
||||
float:left;
|
||||
}
|
||||
|
||||
|
||||
#logindisplay {
|
||||
font:80%;
|
||||
margin:12px auto;
|
||||
.user-display {
|
||||
font-size:1.4em;
|
||||
margin:1em auto;
|
||||
text-align:right;
|
||||
width: 930px;
|
||||
}
|
||||
@@ -209,13 +184,13 @@ td.even {
|
||||
#wrapper {
|
||||
width:985px;
|
||||
display:block;
|
||||
margin:0em auto;
|
||||
margin:0px auto 10px auto;
|
||||
background:#1d2025;
|
||||
border:1px solid #333;
|
||||
}
|
||||
|
||||
#main {
|
||||
margin:0 0 0 27px;
|
||||
margin:0 0 0 2.7em;
|
||||
width:930px;
|
||||
background:url(../Content/Images/sidebarBackground.gif) no-repeat right top #1d2025;
|
||||
}
|
||||
@@ -223,36 +198,32 @@ td.even {
|
||||
|
||||
#content {
|
||||
float:left;
|
||||
margin:26px 0 0 27px;
|
||||
margin:2.6em 0 0 2.7em;
|
||||
width:520px;
|
||||
min-height:555px;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
float:right;
|
||||
margin:28px 0 0 0;
|
||||
margin:2.8em 0 0 0;
|
||||
width:325px;
|
||||
}
|
||||
|
||||
#sidebar h3 {
|
||||
border-bottom:1px dotted #474747;
|
||||
font-size: 130%;
|
||||
font-size: 2.0em;
|
||||
}
|
||||
|
||||
#footercontainer {
|
||||
clear:both;
|
||||
border-top:2px solid #474747;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
width:930px;
|
||||
margin:18px 0 6px 0;
|
||||
margin:1.8em 0 .6em 0;
|
||||
}
|
||||
|
||||
#footer {
|
||||
border-top:1px dotted #474747;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
margin:3px 0;
|
||||
margin-top:.3em;
|
||||
}
|
||||
|
||||
#footer a{
|
||||
@@ -265,7 +236,7 @@ td.even {
|
||||
.menucontainer {
|
||||
display:block;
|
||||
float:right;
|
||||
margin:18px 0;
|
||||
margin-top:1.3em;
|
||||
}
|
||||
|
||||
.menucontainer ul, #footer ul {
|
||||
@@ -273,14 +244,13 @@ td.even {
|
||||
}
|
||||
|
||||
.menucontainer ul li {
|
||||
margin:8px 0 0 0;
|
||||
margin:.8em 0 0 0;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.menucontainer ul li a
|
||||
{
|
||||
color:#A8B934;
|
||||
margin:0 18px 0 18px;
|
||||
.menucontainer ul li a {
|
||||
font-size:1.4em;
|
||||
margin:0 1.8em 0 1.8em;
|
||||
display:block;
|
||||
text-decoration:none;
|
||||
text-transform:uppercase;
|
||||
@@ -291,24 +261,20 @@ td.even {
|
||||
color:#99ff66;
|
||||
}
|
||||
|
||||
#footer .menucontainer {
|
||||
font-size:80%;
|
||||
margin:0px;
|
||||
}
|
||||
|
||||
#footer .menucontainer ul li {
|
||||
margin:12px 0;
|
||||
margin:1.2em 0;
|
||||
}
|
||||
|
||||
/* Confirmations, Messages and the like
|
||||
----------------------------------------------------------*/
|
||||
.message, .validation-summary-errors {
|
||||
margin:10px 0 4px 0;
|
||||
font-size:1.4em;
|
||||
margin:1em 0 .4em 0;
|
||||
padding:4px;
|
||||
}
|
||||
span.message {
|
||||
display:block;
|
||||
margin:4px 0 4px 4px;
|
||||
margin:.4em 0 .4em .4em;
|
||||
}
|
||||
.message a {
|
||||
font-weight:bold;
|
||||
@@ -339,12 +305,37 @@ span.message {
|
||||
background:#eee;
|
||||
border:1px dashed #D2D6C6;
|
||||
color:#7a7a7a;
|
||||
margin:20px 0 14px 0;
|
||||
margin:2em 0 1.4em 0;
|
||||
}
|
||||
.debug.message:before {
|
||||
content:"DEBUG » ";
|
||||
}
|
||||
|
||||
/* Localization
|
||||
-------------------------------------------------------------- */
|
||||
.content-localization .content-localizations h4 {
|
||||
margin: 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
.content-localization .content-localizations ul {
|
||||
overflow: auto;
|
||||
}
|
||||
.content-localization .content-localizations li {
|
||||
border-bottom: 1px;
|
||||
margin:0 0 0 .4em;
|
||||
padding: .2em .4em;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
.content-localization .content-localizations li:hover {
|
||||
background-color: #000;
|
||||
border-color: #99ff66;
|
||||
}
|
||||
.content-localization .content-localizations li a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.content-localization .content-localizations li a:hover, .content-localization .content-localizations li a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
/* ---------- Tags and Comments ---------- */
|
||||
.tags, .comment {
|
||||
font-style:italic;
|
||||
@@ -361,29 +352,3 @@ span.message {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* Localization
|
||||
-------------------------------------------------------------- */
|
||||
.content-localization .content-localizations h4 {
|
||||
margin: 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
.content-localization .content-localizations ul {
|
||||
overflow: auto;
|
||||
}
|
||||
.content-localization .content-localizations li {
|
||||
font-size: 1.0em !important;
|
||||
border-bottom: 1px;
|
||||
margin: 0 0 0 4px;
|
||||
padding: 2px 6px;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
.content-localization .content-localizations li:hover {
|
||||
background-color: #000;
|
||||
border-color: #99ff66;
|
||||
}
|
||||
.content-localization .content-localizations li a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.content-localization .content-localizations li a:hover, .content-localization .content-localizations li a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
@@ -1,8 +0,0 @@
|
||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<ContentItemViewModel<BlogPart>>" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
||||
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
||||
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
||||
|
||||
<h3><%: Html.Link(Model.Item.Name, Url.Blog(Model.Item.Slug)) %></h3>
|
||||
<div class="blog meta"><a href="<%: Url.Blog(Model.Item.Slug) %>"><%: T.Plural("1 post", "{0} posts", Model.Item.PostCount)%></a></div>
|
||||
<div class="blogdescription"><p><%: Model.Item.Description %></p></div>
|
@@ -1,9 +0,0 @@
|
||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<ContentItemViewModel<BlogPart>>" %>
|
||||
<%@ Import Namespace="Orchard.UI.Resources"%>
|
||||
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
||||
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
||||
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
||||
<h1><%: Html.TitleForPage(Model.Item.Name) %></h1>
|
||||
<% RegisterLink(new LinkEntry { Rel = "wlwmanifest", Type = "application/wlwmanifest+xml", Href = Url.BlogLiveWriterManifest(Model.Item.Slug) });%>
|
||||
<% RegisterLink(new LinkEntry { Rel = "EditURI", Type = "application/rsd+xml", Title = "RSD", Href = Url.BlogRsd(Model.Item.Slug) });%>
|
||||
<% Html.Zone("primary", ":manage");%>
|
@@ -1,11 +0,0 @@
|
||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<ContentItemViewModel<BlogPart>>" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
||||
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
||||
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
||||
<%@ Import Namespace="Orchard.Core.Common.Extensions" %>
|
||||
<%Model.Zones.AddRenderPartial("zonetest", "ZoneTest", Model); %>
|
||||
<h2><%: Html.Link(Model.Item.Title, Url.BlogPost(Model.Item)) %></h2>
|
||||
<div class="meta"><%: Html.PublishedState(Model.Item, T) %> | <%Html.Zone("meta");%></div>
|
||||
<div class="postsummary">
|
||||
<% Html.Zone("primary"); %>
|
||||
</div>
|
@@ -1,14 +0,0 @@
|
||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<ContentItemViewModel<BlogPart>>" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
||||
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
||||
<h1><%: Html.TitleForPage(Model.Item.Title)%></h1>
|
||||
<%-- Sorry, Jon. I need to figure out how we can make this markup possible with the recent metadata/manage split.
|
||||
We can still do it this way but there's isn't yet a story for UI conditional on permissions.
|
||||
What I have in this template is as close as I can get at the moment. --%>
|
||||
<%--<div class="metadata">
|
||||
<% if (Model.Item.Creator != null) {
|
||||
%><div class="posted"><%: T("Posted by {0} {1}", Model.Item.Creator.UserName, Html.PublishedWhen(Model.Item)) %><% -- | <a href="<%: Url.BlogPostEdit(Model.Item.Blog.Slug, Model.Item.Id) %>" class="ibutton edit"><%: T("Edit") %></a>-- %></div><%
|
||||
} %>
|
||||
</div>
|
||||
--%>
|
||||
<% Html.Zone("primary"); %>
|
@@ -1,7 +0,0 @@
|
||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<BlogPart>" %>
|
||||
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
||||
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
||||
<%@ Import Namespace="Orchard.Core.Common.Extensions" %><%
|
||||
if (Model.Creator != null) {
|
||||
%><%: T("Posted by {0} {1}", Model.Creator.UserName, Html.PublishedWhen(Model, T)) %><%
|
||||
} %>
|
@@ -1,5 +0,0 @@
|
||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Core.Common.ViewModels.CommonMetadataViewModel>" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
||||
<%--<div class="metadata">
|
||||
<div class="posted"><%: T("Published by {0}", Model.Creator != null ? Model.Creator.UserName : T("nobody(?)"))%></div>
|
||||
</div>--%>
|
@@ -1,10 +0,0 @@
|
||||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
|
||||
|
||||
<div id="footercontainer">
|
||||
<div id="footer">
|
||||
<div class="menucontainer">
|
||||
<% Html.Include("menu"); %>
|
||||
</div>
|
||||
<div class="clearBoth"></div>
|
||||
</div>
|
||||
</div>
|
8
src/Orchard.Web/Themes/ClassicDark/Views/Footer.cshtml
Normal file
8
src/Orchard.Web/Themes/ClassicDark/Views/Footer.cshtml
Normal file
@@ -0,0 +1,8 @@
|
||||
<div id="footercontainer">
|
||||
<div id="footer">
|
||||
<div class="menucontainer">
|
||||
@Display(Model.Navigation)
|
||||
</div>
|
||||
<div class="clearBoth"></div>
|
||||
</div>
|
||||
</div>
|
@@ -1,40 +0,0 @@
|
||||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<BaseViewModel>" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.ViewModels" %>
|
||||
<%@ Import Namespace="Orchard.UI.Resources" %>
|
||||
<%
|
||||
// todo: this is verbose because this view does not inherit from an Orchard base view and so does not
|
||||
// benefit from Style.Require().
|
||||
Html.Resolve<IResourceManager>().Require(new RequireSettings { Type = "stylesheet", Name = "ClassicDark" });
|
||||
Html.Resolve<IResourceManager>().Require(new RequireSettings { Type = "stylesheet", Name = "ClassicDark_Blog" });
|
||||
%>
|
||||
|
||||
<%-- todo:(nheskew) this will need to be a generated menu --%>
|
||||
|
||||
<div id="wrapper">
|
||||
<%--HTML.Include will render a div with an id="logindisplay" --%>
|
||||
<% Html.Include("User"); %>
|
||||
|
||||
<%--Top Navigation and branding--%>
|
||||
<div id="headercontainer">
|
||||
<div id="header">
|
||||
<h1><%: Html.SiteName() %></h1>
|
||||
<div class="menucontainer">
|
||||
<% Html.Include("menu"); %>
|
||||
</div>
|
||||
<div class="clearBoth"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
<div id="content">
|
||||
<%--Main Content--%>
|
||||
<%Html.ZoneBody("content");%>
|
||||
</div>
|
||||
<div id="sidebar">
|
||||
<% Html.Zone("search");
|
||||
Html.Zone("sidebar");%>
|
||||
</div>
|
||||
<%-- End Content --%>
|
||||
<% Html.Include("Footer"); %>
|
||||
</div>
|
||||
</div>
|
34
src/Orchard.Web/Themes/ClassicDark/Views/Layout.cshtml
Normal file
34
src/Orchard.Web/Themes/ClassicDark/Views/Layout.cshtml
Normal file
@@ -0,0 +1,34 @@
|
||||
@using Orchard.UI.Resources
|
||||
@{
|
||||
Style.Require("ClassicDark");
|
||||
Style.Require("ClassicDark_Blog");
|
||||
}
|
||||
<div id="wrapper">
|
||||
@// HTML.Include will render a div with a class="user-display"
|
||||
@// Can use this -> {Html.Include("User");}
|
||||
@// or the following. At least they appear to do the same thing currently. The first is a standard Html.Include, the second "displays the (New) User shape"
|
||||
@Display.User()
|
||||
@// Top Navigation and branding
|
||||
<div id="headercontainer">
|
||||
<div id="header">
|
||||
<h1>@WorkContext.CurrentSite.SiteName</h1>
|
||||
<div class="menucontainer">
|
||||
@Display(Model.Navigation)
|
||||
</div>
|
||||
<div class="clearBoth"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
<div id="content">
|
||||
@// Main Content
|
||||
@Display(Model.Content)
|
||||
</div>
|
||||
<div id="sidebar">
|
||||
@Display(Model.search)
|
||||
@Display(Model.sidebar)
|
||||
</div>
|
||||
@// End Content
|
||||
@Display.Footer(Navigation:Model.Navigation)
|
||||
</div>
|
||||
</div>
|
@@ -1,3 +0,0 @@
|
||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<ContentItemViewModel<BlogPart>>" %>
|
||||
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
||||
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
Reference in New Issue
Block a user