Skip to content

Commit c901cb9

Browse files
authored
Adding bottom navigation bar in documentation (#220)
adding bottom navigation bar
1 parent e97e092 commit c901cb9

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

mathics_django/web/templates/doc/base_help.html

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,23 @@ <h1>{{ title }}{% if title_operator %} (<code>{{ title_operator }}</code>){% end
2121

2222
{% block content %}
2323
{% endblock %}
24+
{% if prev or next %}
25+
<div style="width:100%;height:10px;border:1px;margin:10px;">
26+
</div>
27+
<div style="margin-top:20px; display: flex; justify-content: space-around">
28+
{% endif %}
29+
{% if prev %}
30+
<div>
31+
<span >&larr;</span> {{ prev|link:ajax }}
32+
</div>
33+
{% endif %}
34+
{% if next %}
35+
<div>
36+
<span >&rarr;</span> {{ next|link:ajax }}
37+
</div>
38+
{% endif %}
39+
{% if prev or next %}
40+
</div>
41+
{% endif %}
2442
</div>
25-
{% endblock %}
43+
{% endblock %}

0 commit comments

Comments
 (0)