Merge pull request #345 from maxim-belkin/margin0
[rnaseq-cwl-training.git] / _includes / episode_navbar.html
1 {% comment %}
2 For some reason, the relative_root_path seems out of scope in this file, so we
3 need to re-assign it here
4 {% endcomment %}
5
6 {% include base_path.html %}
7
8 {% comment %}
9   Navigation bar for an episode.
10 {% endcomment %}
11
12 <div class="row">
13   <div class="col-xs-1">
14     <h3 class="text-left">
15       {% if page.previous.url %}
16       <a href="{{ relative_root_path }}{{ page.previous.url }}"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span><span class="sr-only">previous episode</span></a>
17       {% else %}
18       <a href="{{ relative_root_path }}/"><span class="glyphicon glyphicon-menu-up" aria-hidden="true"></span><span class="sr-only">lesson home</span></a>
19       {% endif %}
20     </h3>
21   </div>
22   <div class="col-xs-10">
23     {% if include.episode_navbar_title %}
24     <h3 class="maintitle"><a href="{{ relative_root_path }}/">{{ site.title }}</a></h3>
25     {% endif %}
26   </div>
27   <div class="col-xs-1">
28     <h3 class="text-right">
29       {% if page.next.url %}
30       <a href="{{ relative_root_path }}{{ page.next.url }}"><span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span><span class="sr-only">next episode</span></a>
31       {% else %}
32       <a href="{{ relative_root_path }}/"><span class="glyphicon glyphicon-menu-up" aria-hidden="true"></span><span class="sr-only">lesson home</span></a>
33       {% endif %}
34     </h3>
35   </div>
36 </div>