15572: Add hypothes.is annotations to docs
[arvados.git] / doc / _layouts / default.html.liquid
1 {% comment %}
2 Copyright (C) The Arvados Authors. All rights reserved.
3
4 SPDX-License-Identifier: CC-BY-SA-3.0
5 {% endcomment %}
6
7 <!DOCTYPE html>
8 <html>
9   <head>
10     <meta charset="utf-8">
11     <title>{% unless page.title == "Arvados | Documentation" %} Arvados {% if page.navmenu %}| {{ page.navmenu }} {% endif %} | {% endunless %}{{ page.title }}</title>
12     <meta name="viewport" content="width=device-width, initial-scale=1.0">
13     <meta name="description" content="">
14     <meta name="author" content="">
15     <link rel="icon" href="{{ site.baseurl }}/images/favicon.ico" type="image/x-icon">
16     <link rel="shortcut icon" href="{{ site.baseurl }}/images/favicon.ico" type="image/x-icon">
17     <link href="{{ site.baseurl }}/css/bootstrap.css" rel="stylesheet">
18     <link href="{{ site.baseurl }}/css/nav-list.css" rel="stylesheet">
19     <link href="{{ site.baseurl }}/css/badges.css" rel="stylesheet">
20     <link href="{{ site.baseurl }}/css/code.css" rel="stylesheet">
21     <link href="{{ site.baseurl }}/css/font-awesome.css" rel="stylesheet">
22     <link href="{{ site.baseurl }}/css/carousel-override.css" rel="stylesheet">
23     <link href="{{ site.baseurl }}/css/button-override.css" rel="stylesheet">
24     <link href="{{ site.baseurl }}/css/images.css" rel="stylesheet">
25     <script src="{{ site.baseurl }}/js/jquery.min.js"></script>
26     <script src="https://hypothes.is/embed.js" async></script>
27     <style>
28       html {
29       height:100%;
30       }
31       body {
32       padding-top: 61px;
33       height: 90%; /* If calc() is not supported */
34       height: calc(100% - 46px); /* Sets the body full height minus the padding for the menu bar */
35       }
36       @media (max-width: 979px) {
37       div.frontpagehero {
38       margin-left: -20px;
39       margin-right: -20px;
40       padding-left: 20px;
41       }
42       }
43       .sidebar-nav {
44         padding: 9px 0;
45       }
46       .section-block {
47       background: #eeeeee;
48       padding: 1em;
49       -webkit-border-radius: 12px;
50       -moz-border-radius: 12px;
51       border-radius: 12px;
52       margin: 0 2em;
53       }
54       .row-fluid :first-child .section-block {
55       margin-left: 0;
56       }
57       .row-fluid :last-child .section-block {
58       margin-right: 0;
59       }
60       .rarr {
61       font-size: 1.5em;
62       }
63       .darr {
64       font-size: 4em;
65       text-align: center;
66       margin-bottom: 1em;
67       }
68       :target {
69       padding-top: 61px;
70       margin-top: -61px;
71       }
72
73       #annotate-notify { position: fixed; right: 40px; top: 3px;  }
74     </style>
75
76     <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
77     <!--[if lt IE 9]>
78         <script src="../assets/js/html5shiv.js"></script>
79         <![endif]-->
80   </head>
81   <body class="nopad">
82     {% include 'navbar_top' %}
83
84     {% if page.navsection == 'top' or page.no_nav_left %}
85     {{ content }}
86     {% else %}
87
88     <div class="container-fluid" style="padding-right: 30px">
89
90       <div class="row">
91         {% include 'navbar_left' %}
92         <div class="col-sm-9">
93           <h1>{{ page.title }}</h1>
94           {{ content }}
95           {% include 'webring' %}
96         </div>
97       </div>
98
99       <div style="height: 2em"></div>
100
101     </div>
102     {% endif %}
103     <script>
104   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
105   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
106   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
107   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
108
109   ga('create', 'UA-40055979-1', 'arvados.org');
110   ga('send', 'pageview');
111
112     </script>
113
114 {% if page.no_nav_left %}
115 {% else %}
116 <p style="text-align: center"><small>
117 The content of this documentation is licensed under the
118 <a href="{{ site.baseurl }}/user/copying/by-sa-3.0.html">Creative
119   Commons Attribution-Share Alike 3.0 United States</a> licence.<br>
120 Code samples in this documentation are licensed under the
121 <a href="{{ site.baseurl }}/user/copying/LICENSE-2.0.html">Apache License, Version 2.0.</a></small>
122 </p>
123 {% endif %}
124
125   </body>
126 </html>