root / trunk / Pithos.Network / Resources / Focco.cshtml @ 1caef52e
History | View | Annotate | Download (1.3 kB)
1 |
<!DOCTYPE html /> |
---|---|
2 |
|
3 |
<html> |
4 |
<head> |
5 |
<title>@Title</title> |
6 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
7 |
<link href="@(PathToCss)" rel="stylesheet" media="all" type="text/css" /> |
8 |
<script src="prettify.js" type="text/javascript"></script> |
9 |
</head> |
10 |
<body onload="prettyPrint()"> |
11 |
<div id="container"> |
12 |
<div id="background"></div> |
13 |
@if (@Sources.Length > 1) { |
14 |
<div id="jump_to"> |
15 |
Jump To … |
16 |
<div id="jump_wrapper"> |
17 |
<div id="jump_page"> |
18 |
@for (var i = 0; i < Sources.Length; i++) { |
19 |
<a class="source" href="@GetSourcePath(Sources[i])"> |
20 |
@Sources[i].Substring(2) |
21 |
</a> |
22 |
} |
23 |
</div> |
24 |
</div> |
25 |
</div> |
26 |
} |
27 |
<table cellpadding="0" cellspacing="0"> |
28 |
<thead> |
29 |
<tr> |
30 |
<th class="docs"> |
31 |
<h1>@Title</h1> |
32 |
</th> |
33 |
<th class="code"></th> |
34 |
</tr> |
35 |
</thead> |
36 |
<tbody> |
37 |
@for (var i = 0; i < Sections.Length; i++) { |
38 |
<tr id="section_@(i + 1)"> |
39 |
<td class="docs"> |
40 |
<div class="pilwrap"> |
41 |
<a class="pilcrow" href="#section_@(i + 1)">¶</a> |
42 |
</div> |
43 |
@Sections[i].DocsHtml |
44 |
</td> |
45 |
<td class="code"> |
46 |
<pre><code class='prettyprint'>@Sections[i].CodeHtml</code></pre> |
47 |
</td> |
48 |
</tr> |
49 |
} |
50 |
</tbody> |
51 |
</table> |
52 |
</div> |
53 |
</body> |
54 |
</html> |