- Adding Green theme back and adding it to the Orchard.Web project.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4044668
This commit is contained in:
suhacan
2009-12-28 18:47:21 +00:00
parent 8d3bb1eb70
commit 6bdf6a154d
16 changed files with 426 additions and 0 deletions

View File

@@ -177,7 +177,22 @@
<Content Include="Views\Templates\TwoColumns.aspx" />
</ItemGroup>
<ItemGroup>
<None Include="Themes\Green\Content\Images\Thumbs.db" />
<None Include="Themes\TheAdmin\Styles\images\icons.psd" />
<Content Include="Themes\Green\Content\Images\bodyBackground.gif" />
<Content Include="Themes\Green\Content\Images\bodyBackground.png" />
<Content Include="Themes\Green\Content\Images\logo.gif" />
<Content Include="Themes\Green\Content\Images\logo.png" />
<Content Include="Themes\Green\Content\Images\tabLeftOff.gif" />
<Content Include="Themes\Green\Content\Images\tabLeftOn.gif" />
<Content Include="Themes\Green\Content\Images\tabRightOff.gif" />
<Content Include="Themes\Green\Content\Images\tabRightOn.gif" />
<Content Include="Themes\Green\Styles\site.css" />
<Content Include="Themes\Green\Theme.gif" />
<Content Include="Themes\Green\Theme.txt" />
<Content Include="Themes\Green\Views\footer.ascx" />
<Content Include="Themes\Green\Views\layout.ascx" />
<Content Include="Themes\Green\Views\menu.ascx" />
<Content Include="Themes\Web.config" />
</ItemGroup>
<ItemGroup>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -0,0 +1,6 @@
name: Super Green
author: Jon Wall
description: This is the Green theme. It uses the YUI grid system for layout.
version: 1.0
tags: green, YUI
homepage: http://www.orchardproject.net

View File

@@ -0,0 +1,38 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%--
--%>
<div id="ft" role="contentinfo">
<div id="innerft" class="yui-g">
<div class="yui-u first">
<h5>About AdventureWorks</h5>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam nec nisi vel eros ornare auctor. Aenean vitae nulla. Sed in velit sit amet metus sollicitudin porttitor. Fusce non tortor. Nunc ornare imperdiet mauris. Nulla facilisi. In hac habitasse platea dictumst. Praesent pellentesque iaculis orci. Ut imperdiet dolor non turpis. In hac habitasse platea dictumst. <a href="#">More...</a>
</p>
</div>
<div class="yui-g">
<div class="yui-u first">
<h5>Need Help?</h5>
<ul class="bullet">
<li><a href="#">Lorem ipsum</a></li>
<li><a href="#">Lorem ipsum</a></li>
<li><a href="#">Lorem ipsum</a></li>
<li><a href="#">Lorem ipsum</a></li>
<li>Lorem ipsum</li>
</ul>
</div>
<div class="yui-u">
<h5>Company Info</h5>
<ul class="bullet">
<li><a href="#">Lorem ipsum</a></li>
<li><a href="#">Lorem ipsum</a></li>
<li><a href="#">Lorem ipsum</a></li>
<li><a href="#">Lorem ipsum</a></li>
<li><a href="#">Lorem ipsum</a></li>
</ul>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,46 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<BaseViewModel>" %>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<%Html.RegisterStyle("site.css");%>
<div id="doc4" class="yui-t6">
<% Html.Zone("header"); Html.Zone("menu"); %>
<div id="hd" role="banner">
<div class="yui-g" id="branding">
<div class="yui-u first">
<h1><a href="/" title="Go to Home"><span class="displayText">AdventureWorks</span></a></h1>
</div>
<div class="yui-u">
<div id="logIn">
<%-- todo:(nheskew) this will need to all go in the header zone (user widget) --%>
<% Html.Include("user"); %>
</div>
</div>
</div>
<%--Top Navigation--%>
<%-- todo:(nheskew) this will need to be a generated menu --%>
<% Html.Include("menu"); %>
</div>
<%-- Begin Page Content --%>
<div id="bd" role="main">
<div id="yui-main">
<div id="mainColumn" class="yui-b">
<div class="yui-g coreWidget">
<%--Main Content--%>
<%Html.ZoneBody("content");%>
</div>
</div>
</div>
<div id="subColumn1" class="yui-b">
<%--Start widgets--%>
This was our old widget zone
</div>
</div>
<%-- End Content --%>
<%Html.Zone("footer");%>
<% Html.Include("footer"); %>
</div>

View File

@@ -0,0 +1,9 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<div id="menucontainer" role="navigation" class="yui-g">
<ul id="menu">
<li><%= Html.ActionLink("Home", "Index", "Home", new {Area = ""}, new {})%></li>
<li><%= Html.ActionLink("About", "About", "Home", new {Area = ""}, new {})%></li>
<li><%= Html.ActionLink("Blogs", "List", "Blog", new {Area = "Orchard.Blogs"}, new {})%></li>
<li><%= Html.ActionLink("Admin", "List", new {Area = "Orchard.Blogs", Controller = "BlogAdmin"})%></li>
</ul>
</div>