]> Shamusworld >> Repos - ardour-manual-diverged/blob - source/_layouts/bootstrap.html
6e03156e1371829767d1ad3645926dfda9e40cba
[ardour-manual-diverged] / source / _layouts / bootstrap.html
1 ---
2 bootstrap_path: /bootstrap-2.2.2
3 page_title: The Ardour Manual
4 ---
5
6 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
8 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
9       
10     <head>
11         <title>{{page.page_title}}</title>
12
13         <meta name="viewport" content="width=device-width, initial-scale=1.0" />
14         <link href="{{page.bootstrap_path}}/css/bootstrap.min.css" rel="stylesheet" />
15         <link href="{{page.bootstrap_path}}/css/bootstrap-responsive.min.css" rel="stylesheet" />
16
17         <link href="/css/app.css" rel="stylesheet" />
18
19         <link href='http://fonts.googleapis.com/css?family=Junge' rel='stylesheet' type='text/css' />
20     </head>
21     <body>
22
23         <!--
24     <div class="navbar">
25         <div class="navbar-inner">
26             <div class="container">
27  
28               <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
29                 <span class="icon-bar"></span>
30                 <span class="icon-bar"></span>
31                 <span class="icon-bar"></span>
32               </a>
33  
34                 <a class="brand" href="#">The Ardour Manual</a>
35  
36                 <div class="nav-collapse collapse">
37                 </div>
38  
39             </div>
40         </div>
41     </div>
42     -->
43
44     <div class="container-fluid">
45         <div class="row-fluid">
46             <div id="tree">
47                 <div id="tree-inner">
48                     <h1 class="title"><a href="/"><img src="/images/logo.png" alt="The Ardour Manual" /></a></h1>
49                     {% tree %}
50                 </div>
51             </div>
52             <div class="span12" id="content">
53                 <div id="search" class="gcse-search">
54                 </div>
55                 <div id="content-main">
56                     <h1 class="title">{{ page.title }}</h1>
57                     {{ content }}
58                 </div>
59             </div>
60         </div>
61     </div>
62
63     <script type="text/javascript">
64
65         if (navigator.userAgent.match(/Mac/)) {
66             var e = document.getElementsByTagName('body')[0];
67             e.className += ' mac';
68         }
69
70         var tree = document.getElementById('tree'),
71             anchors = document.getElementsByTagName('a'),
72             name = '/' + document.location.pathname.split('/')[1] + '/',
73             offset;
74
75         for (var i = 0; i &lt; anchors.length; i++) { 
76             if (anchors[i].getAttribute('name') === name) { 
77                 offset = anchors[i].offsetTop;
78                 break;
79             } 
80         }
81
82         if (tree &amp;&amp; offset) {
83             tree.scrollTop = offset - 10;
84         }
85
86     </script>
87
88     <script type="text/javascript">
89         (function() {
90           var cx = '011950134405426689607:2lg2y9xgf3a';
91           var gcse = document.createElement('script'); gcse.type = 'text/javascript';
92           gcse.async = true;
93           gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
94               '//www.google.com/cse/cse.js?cx=' + cx;
95           var s = document.getElementsByTagName('script')[0];
96           s.parentNode.insertBefore(gcse, s);
97         })();
98     </script>
99   
100     </body>
101 </html>