forked from OrchardCMS/OrchardDoc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_SiteLayout.cshtml
142 lines (139 loc) · 6.33 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
@{
var isDoc = Request.FilePath.IndexOf("/Documentation/") != -1;
}
<!DOCTYPE html>
<html lang="ru-RU" ng-app>
<head>
<meta charset="utf-8" />
<title>@Page.Title</title>
<link href="@Href("~/Styles/Site.css")" rel="stylesheet" />
<link href="http://orchardproject.ru/themes/orchardproject.net/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<script>(function(d){d.className="dyn"+d.className.substring(6,d.className.length);})(document.documentElement);</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-54782611-1']);
_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>
<div id="wrapper">
<div id="branding">
<div class="zone zone-branding">
<h1 id="branding"><a href="/" class="displayText"></a></h1>
</div>
</div>
<div id="navMain" style="clear:both;">
<div class="zone zone-navigation">
<nav>
<ul class="menu menu-main-menu">
<li class="first">
<a href="http://orchardproject.ru/" class="">Главная</a>
</li>
<li>
<a href="http://orchardproject.ru/downloads" class="">Загрузка</a>
</li>
<li class="On">
<a href="http://docs.orchardproject.ru" class="current ">Документация</a>
</li>
<li>
<a href="http://orchardproject.ru/tutorial" class="">Уроки</a>
</li>
<li>
<a href="http://orchardproject.ru/localization" class="">Переводы</a>
</li>
<li>
<a href="http://gallery.orchardproject.net/" class="external-link">Галерея</a>
</li>
<li>
<a href="http://orchardproject.ru/forum" class="">Форум</a>
</li>
<li>
<a href="http://orchardproject.ru/about-orchard" class="">О проекте</a>
</li>
<li class="last">
<a href="http://orchardproject.ru/contacts" class="">Контакты</a>
</li>
</ul>
</nav>
</div>
</div>
<div id="ContainerDiv">
<div id="SidebarDiv">
<div id="SidebarContentDiv">
<h2>Поиск</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>
<h2>Авторы</h2>
<a href="/Contributors" title="Contributors">Авторы</a>
</div>
</div>
@if (isDoc) {
<h2>Table of Contents</h2>
<nav class="TocContainer"><ol></ol></nav>
<div id="SidebarFooterDiv">
<ul>
<li><a href="@Page.EditUrl">Редактировать</a></li>
<li><a href="@Page.IssuesUrl">Сообщить об ошибке</a></li>
</ul>
</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>© OrchardProject.ru, 2014-2015 г.</li>
</ul>
</div>
</div>
</footer>
</div>
</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>
<!-- Yandex.Metrika counter -->
<script type="text/javascript">// <![CDATA[
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter26123058 = new Ya.Metrika({id:26123058,
webvisor:true,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
// ]]></script>
<noscript><div><img src="//mc.yandex.ru/watch/26123058" style="position:absolute; left:-9999px;" alt="" /></div></noscript><!-- /Yandex.Metrika counter -->
</body>
</html>