--HG--
branch : dev
This commit is contained in:
Louis DeJardin
2010-03-11 14:09:49 -08:00
49 changed files with 957 additions and 0 deletions

View File

@@ -239,6 +239,53 @@
<Content Include="Themes\Contoso\Views\ListOfComments.ascx" />
<Content Include="Themes\Contoso\Views\LogOn.ascx" />
<Content Include="Themes\Contoso\Views\User.ascx" />
<Content Include="Themes\Corporate\Content\Images\bkg.jpg" />
<Content Include="Themes\Corporate\Content\Images\consult-bkg.png" />
<Content Include="Themes\Corporate\Content\Images\content-bkg.png" />
<Content Include="Themes\Corporate\Content\Images\content-bottom.png" />
<Content Include="Themes\Corporate\Content\Images\content-top.png" />
<Content Include="Themes\Corporate\Content\Images\footer-bkg.jpg" />
<Content Include="Themes\Corporate\Content\Images\footer-bkg.png" />
<Content Include="Themes\Corporate\Content\Images\hm-divider.png" />
<Content Include="Themes\Corporate\Content\Images\hm-header.png" />
<Content Include="Themes\Corporate\Content\Images\icons\calendar.png" />
<Content Include="Themes\Corporate\Content\Images\icons\chart.png" />
<Content Include="Themes\Corporate\Content\Images\icons\envelope.png" />
<Content Include="Themes\Corporate\Content\Images\icons\lightbulb.png" />
<Content Include="Themes\Corporate\Content\Images\icons\seal.png" />
<Content Include="Themes\Corporate\Content\Images\jumping-people.jpg" />
<Content Include="Themes\Corporate\Content\Images\logo.png" />
<Content Include="Themes\Corporate\Content\Images\menu-left-over.png" />
<Content Include="Themes\Corporate\Content\Images\menu-left.png" />
<Content Include="Themes\Corporate\Content\Images\menu-right-over.png" />
<Content Include="Themes\Corporate\Content\Images\menu-right.png" />
<Content Include="Themes\Corporate\Content\Images\menu_bkg.jpg" />
<Content Include="Themes\Corporate\Scripts\easySlider.js" />
<Content Include="Themes\Corporate\Styles\site.css" />
<Content Include="Themes\Corporate\Theme.png" />
<Content Include="Themes\Corporate\Theme.txt" />
<Content Include="Themes\Corporate\Views\DisplayTemplates\Items\Blogs.Blog.ascx" />
<Content Include="Themes\Corporate\Views\DisplayTemplates\Items\Blogs.BlogPost.ascx" />
<Content Include="Themes\Corporate\Views\DisplayTemplates\Items\Blogs.BlogPost.ListByArchive.ascx" />
<Content Include="Themes\Corporate\Views\DisplayTemplates\Items\Pages.Page.ascx" />
<Content Include="Themes\Corporate\Views\DisplayTemplates\Parts\Blogs.BlogPost.List.ascx" />
<Content Include="Themes\Corporate\Views\DisplayTemplates\Parts\Comments.HasComments.ascx" />
<Content Include="Themes\Corporate\Views\DisplayTemplates\Parts\Pages.Page.Metadata.ascx" />
<Content Include="Themes\Corporate\Views\DisplayTemplates\Parts\Tags.ShowTags.ascx" />
<Content Include="Themes\Corporate\Views\Footer.ascx" />
<Content Include="Themes\Corporate\Views\Header.ascx" />
<Content Include="Themes\Corporate\Views\Layout.ascx" />
<Content Include="Themes\Corporate\Views\Layout.HomePage.ascx" />
<Content Include="Themes\Corporate\Views\ListOfComments.ascx" />
<Content Include="Themes\Corporate\Views\LogOn.ascx" />
<Content Include="Themes\Corporate\Views\User.ascx" />
<Content Include="Themes\Corporate\Zones\Highlights.html" />
<Content Include="Themes\Corporate\Zones\Home-Headline.html" />
<Content Include="Themes\Corporate\Zones\Home-Hero-Gallery.html" />
<Content Include="Themes\Corporate\Zones\Home-Hero.html" />
<Content Include="Themes\Corporate\Zones\Sidebar-w1.html" />
<Content Include="Themes\Corporate\Zones\Sidebar-w2.html" />
<Content Include="Themes\Corporate\Zones\Sidebar-w3.html" />
<Content Include="Themes\Green\Content\Images\bodyBackground.gif" />
<Content Include="Themes\Green\Content\Images\bodyBackground.png" />
<Content Include="Themes\Green\Content\Images\commentpointer.gif" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -0,0 +1,94 @@
/*
* Easy Slider - jQuery plugin
* written by Alen Grakalic
* http://cssglobe.com/post/3783/jquery-plugin-easy-image-or-content-slider
*
* Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* Built for jQuery library
* http://jquery.com
*
*/
/*
* markup example for $("#images").easySlider();
*
* <div id="images">
* <ul>
* <li><img src="images/01.jpg" alt="" /></li>
* <li><img src="images/02.jpg" alt="" /></li>
* <li><img src="images/03.jpg" alt="" /></li>
* <li><img src="images/04.jpg" alt="" /></li>
* <li><img src="images/05.jpg" alt="" /></li>
* </ul>
* </div>
*
*/
(function($) {
$.fn.easySlider = function(options){
// default configuration properties
var defaults = {
prevId: 'prevBtn',
prevText: 'Previous',
nextId: 'nextBtn',
nextText: 'Next',
orientation: '', // 'vertical' is optional;
speed: 800
};
var options = $.extend(defaults, options);
return this.each(function() {
obj = $(this);
var s = $("li", obj).length;
var w = obj.width();
var h = obj.height();
var ts = s-1;
var t = 0;
var vertical = (options.orientation == 'vertical');
$("ul", obj).css('width',s*w);
if(!vertical) $("li", obj).css('float','left');
$(obj).after('<span id="'+ options.prevId +'"><a href=\"javascript:void(0);\">'+ options.prevText +'</a></span> <span id="'+ options.nextId +'"><a href=\"javascript:void(0);\">'+ options.nextText +'</a></span>');
//$("a","#"+options.prevId).hide();
//$("a","#"+options.nextId).hide();
$("a","#"+options.nextId).click(function(){
animate("next");
//if (t>=ts) $(this).fadeOut();
$("a","#"+options.prevId).fadeIn();
});
$("a","#"+options.prevId).click(function(){
animate("prev");
//if (t<=0) $(this).fadeOut();
$("a","#"+options.nextId).fadeIn();
});
function animate(dir){
if(dir == "next"){
t = (t>=ts) ? ts : t+1;
} else {
t = (t<=0) ? 0 : t-1;
};
if(!vertical) {
p = (t*w*-1);
$("ul",obj).animate(
{ marginLeft: p },
options.speed
);
} else {
p = (t*h*-1);
$("ul",obj).animate(
{ marginTop: p },
options.speed
);
}
};
if(s>1) $("a","#"+options.nextId).fadeIn();
});
};
})(jQuery);

View File

@@ -0,0 +1,403 @@
/*========= SETUP =========*/
/*- Reset -*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
/*- Clear Fix -*/
.group:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
/*========= General Typography =========*/
/* Default font settings.
The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body {
font-size: 75%;
color: #67747a;
background: #fff;
font-family: Tahoma, "Helvetica Neue", Arial, Helvetica, sans-serif;
}
/* Headings
-------------------------------------------------------------- */
h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 1.3em; margin-bottom: 0.75em; color: #444d51; }
h3 { font-size: 1.2em; line-height: 1; margin-bottom: 1em; color: #444d51; }
h4 { font-size: 1.1em; line-height: 1.25; margin-bottom: 1.25em; color: #444d51; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; color: #444d51; }
h6 { font-size: 1em; font-weight: bold; }
h1 img, h2 img, h3 img,
h4 img, h5 img, h6 img {
margin: 0;
}
/* Text elements
-------------------------------------------------------------- */
p { margin: 0 0 1.5em; line-height: 175%; }
p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
a:focus,
a:hover { color: #85b35c; }
a { color: #5f97af; text-decoration: none; }
blockquote { margin: 1.5em; color: #666; font-style: italic; }
strong { font-weight: bold; }
em,dfn { font-style: italic; }
dfn { font-weight: bold; }
sup, sub { line-height: 0; }
abbr,
acronym { border-bottom: 1px dotted #666; }
address { margin: 0 0 1.5em; font-style: italic; }
del { color:#666; }
pre { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
/* Lists
-------------------------------------------------------------- */
li ul,
li ol { margin:0 1.5em; }
ul, ol { margin: 0 1.5em 1.5em 1.5em; }
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dd { margin-left: 1.5em;}
/* Tables
-------------------------------------------------------------- */
table { margin-bottom: 1.4em; width:100%; }
th { font-weight: bold; }
thead th { background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td { background: #e5ecf9; }
tfoot { font-style: italic; }
caption { background: #eee; }
/* Misc classes
-------------------------------------------------------------- */
.small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide { display: none; }
.quiet { color: #666; }
.loud { color: #000; }
.highlight { background:#ff0; }
.added { background:#060; color: #fff; }
.removed { background:#900; color: #fff; }
.first { margin-left:0; padding-left:0; }
.last { margin-right:0; padding-right:0; }
.top { margin-top:0; padding-top:0; }
.bottom { margin-bottom:0; padding-bottom:0; }
/*========= FORMS =========*/
/* --------------------------------------------------------------
forms.css
* Sets up some default styling for forms
* Gives you classes to enhance your forms
Usage:
* For text fields, use class .title or .text
-------------------------------------------------------------- */
label { font-weight: normal; }
fieldset { padding:0em; margin: 0 0 0em 0; border: 0px solid #ccc; }
legend { font-weight: bold; font-size:1.2em; }
/* Form fields
-------------------------------------------------------------- */
input[type=text],
input.text, input.title,
textarea, select {
background-color:#fff;
border:1px solid #bbb;
}
input[type=text]:focus,
input.text:focus, input.title:focus,
textarea:focus, select:focus {
border-color:#a5cc7a;
background-color: #fbfff7;
}
input[type=text],
input.text, input.title,
textarea, select {
margin:0.5em 0;
}
input.text,
input.title { width: 300px; padding:5px; }
input.title { font-size:1.5em; }
textarea { width: 390px; height: 250px; padding:5px; }
input[type=checkbox], input[type=radio],
input.checkbox, input.radio {
position:relative; top:.25em;
}
/* TODO: Causes form rendering issues with theme preview, had to add line-height: normal */
form.inline { line-height: normal; }
form.inline p { margin-bottom:0; }
/*- Login Control -*/
.login-form { border: solid 1px #e2e2e2; padding: 20px; font-size: 1.2em; font-weight: normal; }
.login-form div { padding: 5px 0px 5px 0px; }
.login-form input[type=submit] { margin: 5px 0px 5px 0px; }
.validation-summary-errors { padding: 20px 20px 0px 20px; border: solid 1px #fff54f; background-color: #fffcca; margin-bottom: 20px; }
.edit-form { display: none; }
.static_text_div { border: dashed 1px #CCCCCC; display:block; color: inherit; }
.static_text_div:hover { border: dashed 1px red; color: inherit; }
/* Success, notice and error boxes
-------------------------------------------------------------- */
.error,
.notice,
.success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
.error { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notice { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.success { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error a { color: #8a1f11; }
.notice a { color: #514721; }
.success a { color: #264409; }
/*========= GENERAL =========*/
/* html, body {background-color: #434343; } */
html, body {background-color: #FFFFFF; }
#shell { /* background-image: url(../Content/Images/bkg.jpg); background-repeat: repeat-x; color: #555549; width: 100%; */}
#container { width: 953px; margin: 0px auto 0px auto; }
/*========= HEADER =========*/
#header {width: 100%; background-color: #434343; height:50px;}
.header {width: 100%; }
/*- Brand
?*
.brand { width: 962px; }
.brand .title { padding: 20px 0px 15px 0px; font-size: 1.6em; font-family: Segoe UI, Segoe, Arial, Sans-Serif; color:#4c5c64; float: left; }-*/
/*- Page Navigation -*/
#nav { position: relative; width: 953px; height: 152px; background: url(../Content/Images/menu_bkg.jpg) repeat-x; }
#nav .menu { position: absolute; bottom: 0px; right: 0px; list-style:none; padding: 0px; margin: 0px; }
#nav .menu li { float: left; height: 37px; margin: 0px 0px 0px 2px; background: url(../Content/Images/menu-left.png) no-repeat; }
#nav .menu li:hover {background: url(../Content/Images/menu-left-over.png) no-repeat;}
#nav .menu li a {display: block; height: 28px; color: #FFFFFF; background: url(../Content/Images/menu-right.png) no-repeat right top; font-size: 108%; padding: 9px 20px 0px 20px; text-decoration: none; }
#nav .menu li a:hover {background: url(../Content/Images/menu-right-over.png) no-repeat right top; color: #000000;}
/*- Admin Navigation - */
.admin-bar { width: 100%; background-color: #434343; height:50px; }
.admin { float: right; margin: 0px; padding: 25px 0px 0px 0px; }
.admin li { float:left; list-style: none; padding: 0px 0px 5px 20px; }
.admin li a {}
/*========= Footer =========*/
#footer { width: 100%; background-color: #434343; background-image: url(../Content/Images/footer-bkg.jpg); background-repeat: repeat-x; color:#6a6a6a; font-size: 77%; }
#footer #footer-content { width: 953px; margin: 0px auto 0px auto; height: 100px;}
/*========= Home =========*/
#hm-image { float: left; width: 251px; margin: 27px 0px 0px 45px; }
#hm-content {position: relative; float: left; width: 546px; height: 310px; padding: 0px 20px 0px 30px; margin: 40px 0px 0px 10px; background: url(../Content/Images/hm-divider.png) no-repeat -25px 150px; }
#hm-content #hm-header { }
#hm-content #hm-message { line-height: 150%; margin: 15px 0px 0px 0px; }
#hm-content ul { margin: 50px 0px 0px 0px; position: absolute; bottom: 15px; left: 30px; list-style: none; padding: none; }
#hm-content ul li { float: left; margin: 0px 28px 0px 0px;}
#hm-content ul li a { display: block;}
.main-box { }
.main-box .top { }
.main-box .content { background: url(../Content/Images/content-bkg.png) repeat-y; }
.main-box .bottom { }
/*========= Page =========*/
.content-container { background: transparent url('../Content/Images/content-bottom.png') no-repeat left bottom; padding: 0px 0px 0px 0px; }
.content { position: relative; background: transparent url('../Content/Images/content-top.png') no-repeat left top; padding: 20px 0px 20px 0px; }
.content-items { width: 882px; padding: 20px 40px 0px 40px; background: transparent url('../Content/Images/content-bkg.png') repeat-y left top; }
.content-items .item { width: 421px; float: left; }
.content-items .item:first-child {margin: 0px 40px 0px 0px; }
.content-items h1 { font-size: 1.3em; margin-bottom: 0.75em; color: #444d51; }
/*- Content Pages -*/
.content .page-title { display: none; }
.sub .page-title { display: block; background: transparent url('../Content/Images/sub-header.png') no-repeat left top; width: 962px; height: 48px; position: absolute; top: 1px; left: 1px; color: #ffffff; font-size: 2em; text-shadow: 0px -1px 0px #5f8b9e; padding: 15px 0px 15px 40px; }
.content-items .main { float: left; width: 574px; margin: 0px 60px 20px 0px; padding: 50px 0px 0px 0px; }
.content-items .sidebar { float: left; width: 232px; padding: 45px 0px 0px 0px; }
.content-items .side-block { float: left; width: 232px; border-bottom: solid 1px #e2e2e2; padding: 20px 0px 0px 0px; }
.content-items .archives { float: left; width: 232px; border-bottom: solid 1px #e2e2e2; padding: 20px 0px 0px 0px; }
.content-items .archives .archiveMonthList { padding: 20px 0px 20px 0px; list-style: none; }
/*- Highlight Area -*/
.hightlights { width: 882px; padding: 40px 40px 0px 40px; }
.hightlights .one { float: left; width: 266px; margin-right: 40px; }
.hightlights .two { float: left; width: 266px; margin-right: 40px; }
.hightlights .three { float: left; width: 266px; }
.hightlights h3 { margin: 0px 0px 0.75em 0px; }
.hightlights img { float: left; padding: 0px 0px 0px 0px; }
/*========= BLOGS =========*/
.blogPosts, .taggedPosts { margin: 0px; padding: 0px; }
.blogPosts li, .taggedPosts li { padding: 30px 0px 0px 0px; list-style: none; border-top: solid 1px #e2e2e2; }
.blogdescription { font-size: 1.3em; line-height: 150%; color: #6da8c0; }
#comments { padding-top: 20px; border-top: dashed 1px #d8d8d8; padding-bottom: 10px; margin-top: 30px; }
.comments { position: relative; padding: 0px 0px 20px 0px; margin: 0px; clear: both; }
.comments li { display: block; position: relative; list-style: none; background-color: #fbfff7; border: solid 1px #ebf4e3; border-bottom-color: #d5ebbd; border-right-color: #d5ebbd; padding: 20px 20px 0px 20px; margin: 0px 0px 50px 0px; }
.comments .commentauthor {position: absolute; bottom: -27px; left: 20px; color: #a5cc7a; background: transparent url('../Content/Images/comment-arrow.png') no-repeat 20px 0px; padding: 15px 0px 0px 0px; }
.comment-form { border: solid 1px #d8d8d8; padding: 20px; }
.comment-form h2 { border-bottom: dashed 1px #d8d8d8; padding-bottom: 10px; }
.comment-form .who {}
.comment-form .who label { float: left; text-align: right; width: 50px; padding: 12px 10px 0px 0px; }
.comment-form .what { padding: 10px 0px 0px 60px;}
.comment-form .what label[for=CommentText] { float: none; display:block; }
.comment-form .what input[type=submit] { margin: 10px 0px; }
.posted { margin: 0px 0px 10px 0px; color: #999999; }
.tags span { display: block; float: left; padding: 3px 10px 5px 0px; }
.tags a { display: block; float: left; padding: 3px 5px 5px 5px; background-color: #d7e6ed; color: #95a5ac; text-shadow: 1px 1px 0px #FFF; -moz-border-radius: 5px;
-webkit-border-radius: 5px; margin: 0px 10px 0px 0px; }
.tags a:hover { display: block; float: left; padding: 3px 5px 5px 5px; background-color: #a5cc7a; color: #668b3e; text-shadow: 1px 1px 0px #c8e6a6; -moz-border-radius: 5px;
-webkit-border-radius: 5px; margin: 0px 10px 0px 0px; }
/*- Archive List -*/
.archive-trail { padding: 0px 0px 20px 0px; }
/*- Tag Cloud */
.tagCloud { list-style: none; margin: 20px 0px 0px 0px; }
.tagCloud li { display: block; float: left; padding: 3px 10px 5px 0px; }
.tagCloud a { display: block; float: left; padding: 3px 5px 5px 5px; background-color: #d7e6ed; color: #95a5ac; text-shadow: 1px 1px 0px #FFF; -moz-border-radius: 5px;
-webkit-border-radius: 5px; margin: 0px 10px 0px 0px; }
.tagCloud a:hover { display: block; float: left; padding: 3px 5px 5px 5px; background-color: #a5cc7a; color: #668b3e; text-shadow: 1px 1px 0px #c8e6a6; -moz-border-radius: 5px;
-webkit-border-radius: 5px; margin: 0px 10px 0px 0px; }
/*========= PLUGINS =========*/
/*- Easy Slider -*/
#slider ul, #slider li {
margin:0;
padding:0;
list-style:none;
}
#slider, #slider li {
/*
define width and height of container element and list item (slide)
list items must be the same size as the slider area
*/
width:471px;
height:319px;
overflow:hidden;
}
span#prevBtn a { display: block; width: 29px; height: 29px; position: absolute; top: 135px; left: -40px; background: transparent url('../Content/Images/nav-arrow-left.png') no-repeat; }
span#nextBtn a { display: block; width: 29px; height: 29px; position: absolute; top: 135px; left: 485px; background: transparent url('../Content/Images/nav-arrow-right.png') no-repeat; }
/* // Easy Slider */
/*
.manage {
position: absolute;
width: 100%;
height: 100%;
}
.manage a {
display: block;
width: 100%;
height: 100%;
background-color: Yellow;
}
*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -0,0 +1,6 @@
name: Corporate
author: Michael Dorian Bach
description: A simple and neutral business theme for a variety of industries.
version: 1.0
tags: business, cms, simple, classic, medical, finance, legal, corporate
homepage: http://www.orchardproject.net

View File

@@ -0,0 +1,13 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<ContentItemViewModel<Blog>>" %>
<%@ Import Namespace="Orchard.Security"%>
<%@ Import Namespace="Orchard.UI.Resources"%>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
<%@ Import Namespace="Orchard.Blogs.Models"%>
<%-- todo: (heskew) selectively display to those who have access --%>
<h1 class="page-title"><%=Html.TitleForPage(Model.Item.Name) %></h1>
<% Html.RegisterLink(new LinkEntry { Rel = "wlwmanifest", Type = "application/wlwmanifest+xml", Href = Url.BlogLiveWriterManifest(Model.Item.Slug) });%>
<% Html.RegisterLink(new LinkEntry { Rel = "EditURI", Type = "application/rsd+xml", Title = "RSD", Href = Url.BlogRsd(Model.Item.Slug) });%>
<% Html.Zone("primary"); %>

View File

@@ -0,0 +1,14 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<BlogPostArchiveViewModel>" %>
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
<%@ Import Namespace="Orchard.Blogs.ViewModels"%>
<h1 class="page-title"><%=Html.TitleForPage(T("Archives").ToString(), Model.ArchiveData.Year.ToString(), Model.ArchiveData.Month > 0 ? new DateTime(Model.ArchiveData.Year, Model.ArchiveData.Month, 1).ToString("MMMM") : null, Model.ArchiveData.Day > 0 ? Model.ArchiveData.Day.ToString() : null)%></h1>
<div class="archive-trail">
<%=T("Archives").ToString()
%> / <%=Html.Link(Model.ArchiveData.Year.ToString(), Url.BlogArchiveYear(Model.Blog.Slug, Model.ArchiveData.Year))
%><%=Model.ArchiveData.Month > 0 ? string.Format(" / {0}", Html.Link(Model.ArchiveData.ToDateTime().ToString("MMMM"), Url.BlogArchiveMonth(Model.Blog.Slug, Model.ArchiveData.Year, Model.ArchiveData.Month))) : ""
%><%=Model.ArchiveData.Day > 0 ? string.Format(" / {0}", Html.Link(Model.ArchiveData.Day.ToString(), Url.BlogArchiveDay(Model.Blog.Slug, Model.ArchiveData.Year, Model.ArchiveData.Month, Model.ArchiveData.Day))) : ""
%>
</div>
<%=Html.UnorderedList(Model.BlogPosts, (c, i) => Html.DisplayForItem(c).ToHtmlString(), "blogPosts contentItems")%>

View File

@@ -0,0 +1,6 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<ContentItemViewModel<BlogPost>>" %>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
<%@ Import Namespace="Orchard.Blogs.Models"%>
<h1 class="page-title"><%=Html.TitleForPage(Model.Item.Title)%></h1>
<% Html.Zone("primary"); %>

View File

@@ -0,0 +1,16 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<ContentItemViewModel<Orchard.Pages.Models.Page>>" %>
<%@ Import Namespace="Orchard.Security"%>
<%@ Import Namespace="Orchard.Mvc.Html"%>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<div class="page-title"><%=Html.TitleForPage(Model.Item.Title)%></div>
<% if (Html.Resolve<IAuthenticationService>().GetAuthenticatedUser() != null){ %>
<%} %>
<% Html.Zone("primary");
Html.ZonesAny(); %>
<% if (Html.Resolve<IAuthenticationService>().GetAuthenticatedUser() != null){ %>
</a>
<%} %>

View File

@@ -0,0 +1,6 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<IEnumerable<ContentItemViewModel<BlogPost>>>" %>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<%@ Import Namespace="Orchard.Blogs.Models"%>
<%=Html.UnorderedList(Model, (bp, i) => Html.DisplayForItem(bp).ToHtmlString(), "blogPosts contentItems") %>
<% if (Model.Count() < 1) { %><p><%=_Encoded("There are no posts for this blog.") %></p><% } %>

View File

@@ -0,0 +1,7 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<BlogPost>" %>
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
<%@ Import Namespace="Orchard.Blogs.Models"%>
<%
if (Model.Creator != null) {
%><%=_Encoded(" | Posted by {0} {1}", Model.Creator.UserName, Html.PublishedWhen(Model)) %><%
} %>

View File

@@ -0,0 +1,61 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<HasComments>" %>
<%@ Import Namespace="Orchard.Comments"%>
<%@ Import Namespace="Orchard.Security" %>
<%@ Import Namespace="Orchard.Comments.Models" %>
<%-- todo: clean up this template - waaay too much going on in here :/ --%><%
if (Model.Comments.Count > 0) { %>
<h2 id="comments"><%=_Encoded("{0} Comment{1}", Model.Comments.Count, Model.Comments.Count == 1 ? "" : "s")%></h2>
<% Html.RenderPartial("ListOfComments", Model.Comments);
}
if (Model.CommentsActive == false) {
if (Model.Comments.Count > 0) { %>
<p><%=_Encoded("Comments have been disabled for this content.") %></p><%
}
}
else if(!Request.IsAuthenticated && !AuthorizedFor(Permissions.AddComment)) { %>
<h2 id="addacomment"><%=_Encoded("Add a Comment") %></h2>
<p class="info message"><%=T("You must {0} to comment.", Html.ActionLink(T("log on").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = string.Format("{0}#addacomment", Context.Request.RawUrl) }))%></p><%
}
else { %>
<% using (Html.BeginForm("Create", "Comment", new { area = "Orchard.Comments" }, FormMethod.Post, new { @class = "comment-form" })) { %>
<%=Html.ValidationSummary() %>
<h2 id="addacomment"><%=_Encoded("Add a Comment") %></h2><%
if (!Request.IsAuthenticated) { %>
<fieldset class="who">
<div>
<label for="Name"><%=_Encoded("Name") %></label>
<input id="Name" class="text" name="Name" type="text" />
</div>
<div>
<label for="Email"><%=_Encoded("Email") %></label>
<input id="Email" class="text" name="Email" type="text" />
</div>
<div>
<label for="SiteName"><%=_Encoded("Url") %></label>
<input id="SiteName" class="text" name="SiteName" type="text" />
</div>
</fieldset><%
}
else {
var currentUser = Html.Resolve<IAuthenticationService>().GetAuthenticatedUser();
%>
<%=Html.Hidden("Name", currentUser.UserName ?? "")%>
<%=Html.Hidden("Email", currentUser.Email ?? "")%><%
}%>
<fieldset class="what">
<div>
<label for="CommentText"><% if (Request.IsAuthenticated) { %><%=T("Hi, {0}!", Html.Encode(Page.User.Identity.Name)) %><br /><% } %><%=_Encoded("Comment") %></label>
<textarea id="CommentText" rows="10" cols="30" name="CommentText"></textarea>
</div>
<div>
<input type="submit" class="button" value="<%=_Encoded("Submit Comment") %>" />
<%=Html.Hidden("CommentedOn", Model.ContentItem.Id) %>
<%=Html.Hidden("ReturnUrl", Context.Request.Url) %>
<%=Html.AntiForgeryTokenOrchard() %>
</div>
</fieldset><%
}
} %>

View File

@@ -0,0 +1,5 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Pages.Models.Page>" %>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<%--<div class="metadata">
<div class="posted"><%=_Encoded("Published by {0}", Model.Creator != null ? Model.Creator.UserName : T("nobody(?)"))%></div>
</div>--%>

View File

@@ -0,0 +1,8 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<HasTags>" %>
<%@ Import Namespace="Orchard.Tags.Models" %>
<% if (Model.CurrentTags.Count > 0) { %>
<p class="tags group">
<span><%=_Encoded("Tags:") %></span>
<%=string.Join("", Model.CurrentTags.Select(t => Html.ActionLink(Html.Encode(t.TagName), "Search", "Home", new { area = "Orchard.Tags", tagName = t.TagName }, new { }).ToHtmlString()).ToArray())%>
</p><%
} %>

View File

@@ -0,0 +1,19 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<BaseViewModel>" %>
<%@ Import Namespace="Orchard.Mvc.ViewModels" %>
<div id="footer">
<div id="footer-content">
<div id="footernav">
<div>
&copy;2010 <%= Html.Encode(Html.SiteName()) %>. All rights reserved.</div>
</div>
<div id="disclaimer">
*Actual results will vary based on individual situations and negotiations. Success
in our program is highly dependent on your ability to save a specified amount consistently
each month. At program completion if your total debt reduction is less than 3 times
the Service Fees you have paid to us, we will refund a portion of those Service
fees. The amount of the refund will be calculated so that the amount of Service
Fees we retain is equal to only 1/3 of your total Debt Reduction. Please keep in
mind that Retainer Fees are generally non-refundable.
</div>
</div>
</div>

View File

@@ -0,0 +1,2 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>

View File

@@ -0,0 +1,69 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<BaseViewModel>" %>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<%
Html.RegisterStyle("site.css");
Model.Zones.AddRenderPartial("header", "Header", Model);
Model.Zones.AddRenderPartial("menu", "Menu", Model);
Model.Zones.AddRenderPartial("footer", "Footer", Model);
%>
<div class="admin-bar group">
<% Html.Include("User"); %>
</div>
<div class="header group">
<!-- Main Menu -->
<div id="nav">
<div class="brand group">
<div class="title">
<%=Html.Encode(Html.SiteName()) %></div>
</div>
<% Html.Zone("menu"); %>
</div>
</div>
<div id="shell">
<div id="container">
<div id="content">
<!-- Home Hero -->
<div class="main-box">
<div class="top">
<img src="/Themes/Corporate/Content/Images/content-top.png" /></div>
<div class="content group">
<% Html.Zone("home-hero-gallery"); %>
<% Html.Zone("home-hero"); %>
</div>
<div class="bottom">
<img src="/Themes/Corporate/Content/Images/content-bottom.png" /></div>
</div>
<!-- Main Content Area -->
<div class="content-container">
<div class="content">
<div class="content-items group">
<div class="item">
<% Html.ZoneBody("content"); %>
</div>
<div class="item">
<% Html.Zone("home-headline"); %>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- (Optional) Highlights Area -->
<% Html.Zone("highlights"); %>
<!-- Footer -->
<% Html.Zone("footer"); %>

View File

@@ -0,0 +1,51 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<BaseViewModel>" %>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<%
Html.RegisterStyle("site.css");
Model.Zones.AddRenderPartial("header", "Header", Model);
Model.Zones.AddRenderPartial("menu", "Menu", Model);
Model.Zones.AddRenderPartial("footer", "Footer", Model);
%>
<div id="container">
<!-- Header -->
<% Html.Zone("header"); %>
<!-- Main Menu -->
<div id="nav">
<% Html.Zone("menu"); %>
</div>
<!-- Main Content Area -->
<div class="content-container">
<div class="content sub">
<div class="content-items group">
<div class="main">
<% Html.ZoneBody("content"); %>
</div>
<div class="sidebar">
<!-- START Blog Sidebars -->
<%Html.Zone("sidebar");%>
<!-- END Blog Sidebars -->
<div class="side-block">
<% Html.Zone("sidebar-w1"); %>
</div>
<div class="side-block">
<% Html.Zone("sidebar-w2"); %>
</div>
<div class="side-block">
<% Html.Zone("sidebar-w3"); %>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<% Html.Zone("footer"); %>

View File

@@ -0,0 +1,17 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<IEnumerable<Comment>>" %>
<%@ Import Namespace="Orchard.Comments.Models"%>
<ul class="comments"><%
foreach (var comment in Model) { %>
<li>
<div class="comment">
<p><%=Html.Encode(comment.Record.CommentText) %></p>
</div>
<div class="commentauthor">
<span class="who"><%=Html.LinkOrDefault(Html.Encode(comment.Record.UserName), Html.Encode(comment.Record.SiteName), new { rel = "nofollow" })%></span>&nbsp;<span>said <%=Html.Link(Html.DateTimeRelative(comment.Record.CommentDateUtc.GetValueOrDefault()), "#")%></span>
</div>
</li><%
} %>
</ul>

View File

@@ -0,0 +1,27 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<LogOnViewModel>" %>
<%@ Import Namespace="Orchard.Users.ViewModels"%>
<h1 class="page-title"><%=Html.TitleForPage(Model.Title)%></h1>
<p><%=_Encoded("Please enter your username and password.")%> <%= Html.ActionLink("Register", "Register")%><%=_Encoded(" if you don't have an account.")%></p>
<%= Html.ValidationSummary(T("Login was unsuccessful. Please correct the errors and try again.").ToString())%>
<%
using (Html.BeginFormAntiForgeryPost(Url.Action("LogOn", new {ReturnUrl = Request.QueryString["ReturnUrl"]}))) { %>
<fieldset class="login-form">
<legend><%=_Encoded("Account Information")%></legend>
<div class="group">
<label for="username"><%=_Encoded("Username:")%></label>
<%= Html.TextBox("username")%>
<%= Html.ValidationMessage("username")%>
</div>
<div class="group">
<label for="password"><%=_Encoded("Password:")%></label>
<%= Html.Password("password")%>
<%= Html.ValidationMessage("password")%>
</div>
<div class="group">
<%= Html.CheckBox("rememberMe")%><label class="forcheckbox" for="rememberMe"><%=_Encoded("Remember me?")%></label>
</div>
<input type="submit" value="<%=_Encoded("Log On") %>" />
</fieldset><%
} %><%
using (this.Capture("end-of-page-scripts")) { %><script type="text/javascript">$("#username").closest("form").helpfullyFocus();</script><% } %>

View File

@@ -0,0 +1,13 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<object>" %>
<ul class="admin group">
<% if (Request.IsAuthenticated)
{ %>
<li><%=_Encoded("Welcome")%> <%=Html.Encode(Page.User.Identity.Name) %></li>
<li><%=Html.ActionLink(T("Log Off").ToString(), "LogOff", new { Controller = "Account", Area = "Orchard.Users" })%></li>
<li><%= Html.ActionLink("Admin", "Index", new {Area = "Dashboard", Controller = "Admin"})%></li>
<% }
else
{ %>
<li><%=Html.ActionLink(T("Login").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = Context.Request.RawUrl })%></li>
<% } %>
</ul>

View File

@@ -0,0 +1,27 @@
<div class="hightlights group">
<div class="one">
<h3>
MVC Area One</h3>
<p>
Perfect place to talk about your company. Contoso is a fictious company that provides
technology sevices to a varierty of sectors.
</p>
</div>
<div class="two">
<h3>
MVC Area Two</h3>
<p>
We are saying free shipping on all software today! Yup this is a good place to put
this.
</p>
</div>
<div class="three">
<img src="/Themes/Contoso/Content/Images/icon-location.png" />
<p>
1 Microsoft Way<br />
Redmond, WA 98444<br />
United States<br />
Tel: 222-333-444<br />
FAX: 222-333-444<br /> </p>
</div>
</div>

View File

@@ -0,0 +1,2 @@
<h2>Another Headline</h2>
<p>This is another area for you to modify to your needs. You can feature another product or service, give an introduction to your company, highlight product or service testimonials and more. All it takes is modifying this MVC area in your admin. </p>

View File

@@ -0,0 +1,2 @@
 <div id="hm-image">
<img src="/Themes/Corporate/Content/Images/jumping-people.jpg" /></div>

View File

@@ -0,0 +1,22 @@
<div id="hm-content" class="group">
<div id="hm-message">
Sed tortor tellus, congue eu, imperdiet sed, vehicula at, libero. Vestibulum aliquet
leo sagittis pede. Vivamus lobortis. Sed sit amet quam facilisis dolor congue imperdiet.
Quisque magna. Pellentesque mauris mauris, suscipit in, condimentum sit amet, posuere
a, neque. Vestibulum neque turpis, vehicula ut, feugiat non, laoreet in, dui. Donec
eleifend leo sit amet lorem. Phasellus odio purus, egestas at, iaculis et, consectetuer
vitae, dolor.
</div>
<ul id="hm-icons">
<li><a href="#" id="calendar" title="12 to 36 Month Program">
<img src="/Themes/Corporate/Content/Images/icons/calendar.png" /></a></li>
<li><a href="#" id="chart" title="Lower Debt as low as 50%;">
<img src="/Themes/Corporate/Content/Images/icons/chart.png" /></a></li>
<li><a href="#" id="seal" title="Money Back Guarantee">
<img src="/Themes/Corporate/Content/Images/icons/seal.png" /></a></li>
<li><a href="#" id="lightbulb" title="The Smart Alternative">
<img src="/Themes/Corporate/Content/Images/icons/lightbulb.png" /></a></li>
<li><a href="#" id="envelope" title="One Simple Monthly Payment">
<img src="/Themes/Corporate/Content/Images/icons/envelope.png" /></a></li>
</ul>
</div>

View File

@@ -0,0 +1,6 @@
<h3>
MVC Area One</h3>
<p>
Perfect place to talk about your company. Contoso is a fictious company that provides
technology sevices to a varierty of sectors.
</p>

View File

@@ -0,0 +1,6 @@
<h3>
MVC Area Two</h3>
<p>
We are saying free shipping on all software today! Yup this is a good place to put
this.
</p>

View File

@@ -0,0 +1,8 @@
<h3>Contact Us</h3>
<p>
1 Microsoft Way<br />
Redmond, WA 98444<br />
United States<br />
<br />
Tel: 111-222-333-444<br />
Fax: 555-444-333-999</p>