[ARVADOS] updated: 1.3.0-1991-g195843671
Git user
git at public.arvados.org
Fri Dec 13 05:06:22 UTC 2019
Summary of changes:
doc/_includes/_navbar_top.liquid | 21 ++++++++++++++++++++-
doc/_layouts/default.html.liquid | 10 ++++++----
2 files changed, 26 insertions(+), 5 deletions(-)
via 195843671127671da9e3ddbc5d3a9fe44d15daba (commit)
from a961c5502ecb3f6dd47f1fc317b379a591b6947e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 195843671127671da9e3ddbc5d3a9fe44d15daba
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Fri Dec 13 00:06:00 2019 -0500
15572: Add hypothes.is annotations to docs
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/doc/_includes/_navbar_top.liquid b/doc/_includes/_navbar_top.liquid
index 39c70471a..c69a2efbe 100644
--- a/doc/_includes/_navbar_top.liquid
+++ b/doc/_includes/_navbar_top.liquid
@@ -36,7 +36,7 @@ SPDX-License-Identifier: CC-BY-SA-3.0
<li><a href="https://arvados.org" style="padding-left: 2em">arvados.org »</a></li>
</ul>
- <div class="pull-right" style="padding-top: 6px">
+ <div class="pull-right" style="padding-top: 6px; padding-right: 25px">
<form method="get" action="https://www.google.com/search">
<div class="input-group" style="width: 220px">
<input type="text" class="form-control" name="q" placeholder="search">
@@ -48,5 +48,24 @@ SPDX-License-Identifier: CC-BY-SA-3.0
</form>
</div>
</div>
+
+ <div class="alert alert-block alert-info" style="display: none;" id="annotate-notify">
+ <div style="margin-top: -26px; font-size: 12pt">Hey! You can use the annotation sidebar from <a href="https://hypothes.is">hypothes.is</a> to make public comments and private notes
+ <span style="font-size: 32pt">→</span></div>
+ <button type="button" class="close" onclick="dismissAnnotateNotify()">Got it</button>
+ </div>
+
+ <script>
+ function dismissAnnotateNotify() {
+ window.sessionStorage.setItem("dismiss-annotate-notify", "true");
+ $('#annotate-notify').attr('style', "display: none;");
+ }
+ if (window.sessionStorage.getItem("dismiss-annotate-notify") === "true") {
+ dismissAnnotateNotify();
+ } else {
+ $('#annotate-notify').attr('style', "display: inline-block;");
+ }
+ </script>
+
</div>
</div>
diff --git a/doc/_layouts/default.html.liquid b/doc/_layouts/default.html.liquid
index 7c6d36ec4..74b1a072a 100644
--- a/doc/_layouts/default.html.liquid
+++ b/doc/_layouts/default.html.liquid
@@ -22,6 +22,8 @@ SPDX-License-Identifier: CC-BY-SA-3.0
<link href="{{ site.baseurl }}/css/carousel-override.css" rel="stylesheet">
<link href="{{ site.baseurl }}/css/button-override.css" rel="stylesheet">
<link href="{{ site.baseurl }}/css/images.css" rel="stylesheet">
+ <script src="{{ site.baseurl }}/js/jquery.min.js"></script>
+ <script src="https://hypothes.is/embed.js" async></script>
<style>
html {
height:100%;
@@ -67,6 +69,8 @@ SPDX-License-Identifier: CC-BY-SA-3.0
padding-top: 61px;
margin-top: -61px;
}
+
+ #annotate-notify { position: fixed; right: 40px; top: 3px; }
</style>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
@@ -81,7 +85,8 @@ SPDX-License-Identifier: CC-BY-SA-3.0
{{ content }}
{% else %}
- <div class="container-fluid">
+ <div class="container-fluid" style="padding-right: 30px">
+
<div class="row">
{% include 'navbar_left' %}
<div class="col-sm-9">
@@ -95,8 +100,6 @@ SPDX-License-Identifier: CC-BY-SA-3.0
</div>
{% endif %}
- <script src="{{ site.baseurl }}/js/jquery.min.js"></script>
- <script src="{{ site.baseurl }}/js/bootstrap.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
@@ -119,6 +122,5 @@ Code samples in this documentation are licensed under the
</p>
{% endif %}
-
</body>
</html>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list