summaryrefslogtreecommitdiffstats
path: root/opnfv-theme/sphinx_opnfv_theme/relations.html
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-03-28 10:27:51 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-04-20 11:05:50 -0700
commitbd331b2451a17eaf5ed8f6fc8aa89f0499031c28 (patch)
tree3bcf69b472c8b4af97ce8842e49ec12049b750b2 /opnfv-theme/sphinx_opnfv_theme/relations.html
parentb66a62102b39654b389f5cd186d7468f43b97522 (diff)
Update OPNFV Sphinx Theme
When the theme was initially created I was under the assumption the directory the theme lives under needs to match the name. This does not seem to be the case and in fact seems to cause issues with correctly importing and using the theme. Includes formatting updates to the README and linting. Change-Id: I67c834bfe9dc99252159394ecbf136d9a264e0a8 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'opnfv-theme/sphinx_opnfv_theme/relations.html')
-rw-r--r--opnfv-theme/sphinx_opnfv_theme/relations.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/opnfv-theme/sphinx_opnfv_theme/relations.html b/opnfv-theme/sphinx_opnfv_theme/relations.html
new file mode 100644
index 000000000..5bad0b562
--- /dev/null
+++ b/opnfv-theme/sphinx_opnfv_theme/relations.html
@@ -0,0 +1,15 @@
+<center>
+<div class="btn-group" role="group" aria-label="...">
+ {% if prev %}
+ <a class="btn btn-default" href="{{ prev.link|e }}">Prev Page</a>
+ {% else %}
+ <button type="button" class="btn btn-default disabled">Prev Page</button>
+ {% endif %}
+
+ {% if next %}
+ <a class="btn btn-default" href="{{ next.link|e }}">Next Page</a>
+ {% else %}
+ <button type="button" class="btn btn-default disabled">Next Page</button>
+ {% endif %}
+</div>
+</center> \ No newline at end of file