diff options
Diffstat (limited to 'docs/_templates')
| -rw-r--r-- | docs/_templates/layout.html | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 8b093fd1..8020a1b6 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -10,6 +10,13 @@ {%- block relbar2 %}{% endblock %} +{%- block rootrellink %} + {# Perhaps override the relbar() macro to place this on the right side of the link list? #} + <li class="right"{% if not rellinks %} style="margin-right: 10px"{% endif %}> + <a href="javascript:;" title="settings" accesskey="S" onclick="openModal(settings);">settings</a>{{ reldelim2 }}</li> + {{ super() }} +{% endblock %} + {% block header %} {{ super() }} {% if pagename == 'index' %} @@ -17,6 +24,17 @@ {% endif %} {% endblock %} +{%- block content %} + <div id="settings" class="modal" style="display: none;" onclick="if (event.target == this){ closeModal(settings); }"> + <div class="modal-content"> + <span class="close" onclick="closeModal(settings);" title="Close">×</span> + <h1>Settings</h1> + <!-- TODO: ADD OPTIONS HERE --> + </div> + </div> + {{ super() }} +{% endblock %} + {%- block footer %} <div class="footer"> @@ -37,4 +55,4 @@ } </script> {%- endif %} -{%- endblock %} +{%- endblock %}
\ No newline at end of file |