]> Shamusworld >> Repos - ardour-manual/blob - page-template.txt
Regrouped all the session properties in one page (as for the Preferences)
[ardour-manual] / page-template.txt
1 <!doctype html>
2 <html lang="en">
3
4 <head>
5         <title>{{page.page_title}}</title>
6         <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
7         <meta name="description" content="The Ardour Manual">
8         <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
10         <link href="{{page.bootstrap_path}}/css/bootstrap.min.css" rel="stylesheet">
11         <link href="/css/app.css" rel="stylesheet">
12 {% if page.style %}
13         <link href="/css/{{page.style}}.css" rel="stylesheet">
14 {% endif %}
15 </head>
16
17 <body>
18         <div class="container-fluid">
19                 <div class="row-fluid">
20                         <div id="tree">
21
22                                 <h1><a href="/"><img class="img-responsive" src="/images/logo.png" alt="The Ardour Manual" /></a></h1>
23
24                                 <form id="custom-search-form" class="navbar-form" method="post" action="https://duckduckgo.com">
25                                         <div class="input-group">
26                                                 <input type="text" class="form-control" placeholder="Search &hellip;" name="q">
27                                                 <span class="input-group-btn">
28                                                         <button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button>
29                                                         <button class="btn btn-default" type="button" onclick="window.location.href='/ardourmanual.html'"><span class="glyphicon glyphicon-book" aria-hidden="true"></span></button>
30                                                 </span>
31                                         </div>
32                                         <input type="hidden" name="sites" value="manual.ardour.org"><!-- domain -->
33                                         <input type="hidden" name="kh" value="1"> <!--HTTPS on/off -->
34                                         <input type="hidden" name="kl" value="wt-wt"> <!--region wt-wt = no region/worldwide -->
35                                         <input type="hidden" name="kg" value="p"> <!--get [g] vs post [p] -->
36                                         <input type="hidden" name="k7" value="w"> <!-- background colour -->
37                                         <input type="hidden" name="kj" value="#212a30"> <!-- results page header colour -->
38                                         <input type="hidden" name="kx" value="#59acd4"> <!-- URLs colour -->
39                                         <input type="hidden" name="k1" value="-1"> <!-- adverts on/off -->
40                                         <input type="hidden" name="k9" value="#59acd4"> <!-- links colour -->
41                                         <input type="hidden" name="kaa" value="#2d586c"> <!-- visited links colour -->
42                                         <input type="hidden" name="kae" value="#cc0000"> <!-- theme [changes result titles] colour -->
43                                         <input type="hidden" name="ka" value="junge"> <!-- link font -->
44                                         <input type="hidden" name="kt" value="junge"> <!-- text font -->
45                                 </form>
46
47                                 {% tree %}
48
49                         </div> <!-- tree -->
50
51                         <div class="span12" id="content">
52
53                                 {% breadcrumbs %}
54                                 {% githubedit %}
55
56                                 <h1 class="title">{{ page.title }}</h1>
57
58                                 {{ content }}
59
60                                 <div class="clear"></div>
61
62                                 {% prevnext %}
63
64                         </div> <!-- content -->
65                 </div> <!-- row-fluid -->
66         </div> <!-- container-fluid -->
67
68
69         <script type="text/javascript">
70                 // I'll go to hell for this
71                 var isA = function(regex) { return navigator.userAgent.match(regex) };
72                 var isAbout = function(regex) { return document.getElementsByTagName('h1')[1].textContent.match(regex) };
73
74                 if ( (isA(/Mac/) || isAbout(/OS X/)) && (!isAbout(/Linux/)) ) {
75                         var e = document.getElementsByTagName('body')[0];
76                         e.className += ' mac';  // class magic for Cmd vs. Ctrl keys.
77                 }
78         </script>
79
80 </body>
81 </html>