forked from OrchardCMS/OrchardDoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_SiteLayout.cshtml
88 lines (88 loc) · 4.2 KB
/
_SiteLayout.cshtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
@{
var isDoc = Request.FilePath.IndexOf("/Documentation/") != -1;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@Page.Title</title>
<link href="@Href("~/Styles/Site.css")" rel="stylesheet" />
<link href="http://orchardproject.net/themes/orchardproject.net/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<script>(function(d){d.className="dyn "+d.className.substring(7,d.length);})(document.documentElement);</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20757794-1']);
_gaq.push(['_setDomainName', 'orchardproject.net']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<header id="HeaderDiv">
<div id="branding">
<h1><a href="http://orchardproject.net/"><span class="displayText">Orchard Documentation</span></a></h1>
</div>
<nav id="navMain">
<ul>
<li><a href="http://orchardproject.net/">Home</a></li>
<li><a href="http://orchardproject.net/download">Download</a></li>
<li class="On"><a href="http://docs.orchardproject.net/">Documentation</a></li>
<li><a href="http://orchardproject.net/gallery">Gallery</a></li>
<li><a href="http://orchardproject.net/localize">Translate</a></li>
<li><a href="http://orchardproject.net/contribution">Contribute</a></li>
<li><a href="http://orchardproject.net/discussions">Discussions and Help</a></li>
<li><a href="http://orchardproject.net/about">About Us</a></li>
</ul>
</nav>
</header>
<div id="ContainerDiv">
<div id="SidebarDiv">
<div id="SidebarContentDiv">
<h2>Search</h2>
<form action="@Href("Search.cshtml")" method="GET">
<input class="txtsearchbox" type="text" name="q" value="@Request.QueryString["q"]"/><button type="submit" class="searchButton" title="Search">»</button>
</form>
</div>
@if (isDoc) {
<h2>Table of Contents</h2>
<nav class="TocContainer"><ol></ol></nav>
<div id="SidebarFooterDiv">
<a href="@Page.EditUrl">Edit this page</a>
</div>
}
</div>
<article id="MainDiv">
<div id="MainHeaderDiv">
</div>
<div id="PageInternalHeaderDiv">
</div>
<a id="PageTop"></a>
<div id="PageHeaderDiv">
<h1 class="pagetitle">@Page.DocumentTitle</h1>
</div>
<div id="PageContentDiv">
@RenderBody()
</div>
</article>
<footer id="MainFooterDiv">
<div id="siteInfo">
<div id="siteInfoContent">
<ul>
<li><a href="http://orchardproject.net">Home</a></li>
<li><a href="mailto:ofeedbk@microsoft.com">Contact Us</a></li>
<li><a href="http://orchardproject.net/about">About Us</a></li>
<li><a href="http://orchardproject.net/TermsOfUse">Terms Of Use</a></li>
<li><a href="http://orchardproject.net/PrivacyStatement">Privacy Statement</a></li>
</ul>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.min.js"></script>
<script type="text/javascript" src="@Href("~/Scripts/toc.js")"></script>
</body>
</html>