summaryrefslogtreecommitdiffstats
path: root/doc/_templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/_templates/page.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/_templates/page.html b/doc/_templates/page.html
new file mode 100644
index 00000000..cfcf309b
--- /dev/null
+++ b/doc/_templates/page.html
@@ -0,0 +1,21 @@
+{% extends "!page.html" %}
+{% block body %}
+
+<div id="dev-warning" class="admonition note" style="display:none;">
+ <p class="first admonition-title">Notice</p>
+ <p class="last">This document is for a development version of Ceph.</p>
+</div>
+
+<div id="eol-warning" class="admonition warning" style="display:none;">
+ <p class="first admonition-title">Warning</p>
+ <p class="last">This document is for an unsupported version of Ceph.</p>
+</div>
+
+{%- if edit_on_github_url %}
+ <div id="docubetter" align="right" style="display:none; padding: 15px; font-weight: bold;">
+ <a id="edit-on-github" href="{{ edit_on_github_url }}" rel="nofollow">{{ _('Edit on GitHub')}}</a> | <a href="https://pad.ceph.com/p/Report_Documentation_Bugs">Report a Documentation Bug</a>
+ </div>
+{%- endif %}
+
+ {{ super() }}
+{% endblock %}