Mercurial > trustbridge
changeset 1238:4a329513ee86
(help) Share _template directory with client and admin help.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Wed, 24 Sep 2014 15:52:08 +0200 (2014-09-24) |
parents | f6c59dc378e2 |
children | 5839d864239c |
files | doc/help/_templates/layout.html doc/help/_templates/searchbox.html doc/help/admin/_static/bsi-logo.png doc/help/admin/_static/extra-style.css doc/help/admin/_static/trustbridge-logo.png doc/help/admin/_templates/searchbox.html doc/help/admin/conf.py doc/help/admin/conf.py.in doc/help/client/_templates/layout.html doc/help/client/_templates/searchbox.html doc/help/client/conf.py doc/help/client/conf.py.in |
diffstat | 12 files changed, 70 insertions(+), 68 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/help/_templates/layout.html Wed Sep 24 15:52:08 2014 +0200 @@ -0,0 +1,17 @@ +{% extends '!layout.html' %} + +{%- block header %} + {%- if theme_showheader|tobool %} + <header id="pageheader"> + <a href="{{ pathto(master_doc) }} "><img src="_static/trustbridge-logo.png"><h1>{{ docstitle }}</h1></a> + </header> + {%- endif %} +{%- endblock %} + + +{% block footer %} + <footer id="pagefooter"> + © 2014, BSI | TrustBridge {{version}}<br> + <img src="_static/bsi-logo.png"> + </footer> +{% endblock %}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/help/_templates/searchbox.html Wed Sep 24 15:52:08 2014 +0200 @@ -0,0 +1,22 @@ +{# + basic/searchbox.html + ~~~~~~~~~~~~~~~~~~~~ + + Sphinx sidebar template: quick search box. + + :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +#} +{%- if pagename != "search" and builder != "singlehtml" %} +<div id="searchbox" style="display: none"> + <h3>Suche</h3> + <form class="search" action="{{ pathto('search') }}" method="get"> + <input type="text" name="q" /> + <input type="submit" value="{{ _('Go') }}" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> +<p></p> +<script type="text/javascript">$('#searchbox').show(0);</script> +{%- endif %}
--- a/doc/help/admin/_static/extra-style.css Wed Sep 24 15:47:45 2014 +0200 +++ b/doc/help/admin/_static/extra-style.css Wed Sep 24 15:52:08 2014 +0200 @@ -3,7 +3,31 @@ margin-bottom: 10px; padding: 4px; } +img { + vertical-align: top; +} .figure .caption { margin-top: 0px; margin-bottom: 20px; } +tt { + font-size: 1.1em; + background-color: transparent; +} +#pageheader img { + float: left; + margin-right: 10px; +} +#pageheader h1 { + margin: 5px; + padding: 15px; +} +#breadcrumbs { + display: none; +} +.related.top #rellinks { + margin-top: -25px; +} +#pagefooter { + padding-bottom: 0 !important; +}
--- a/doc/help/admin/_templates/searchbox.html Wed Sep 24 15:47:45 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -{# - basic/searchbox.html - ~~~~~~~~~~~~~~~~~~~~ - - Sphinx sidebar template: quick search box. - - :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. - :license: BSD, see LICENSE for details. -#} -{%- if pagename != "search" and builder != "singlehtml" %} -<div id="searchbox" style="display: none"> - <h3>Suche</h3> - <form class="search" action="{{ pathto('search') }}" method="get"> - <input type="text" name="q" /> - <input type="submit" value="{{ _('Go') }}" /> - <input type="hidden" name="check_keywords" value="yes" /> - <input type="hidden" name="area" value="default" /> - </form> -</div> -<p></p> -<script type="text/javascript">$('#searchbox').show(0);</script> -{%- endif %}
--- a/doc/help/admin/conf.py Wed Sep 24 15:47:45 2014 +0200 +++ b/doc/help/admin/conf.py Wed Sep 24 15:52:08 2014 +0200 @@ -28,7 +28,7 @@ #extensions = [''] # Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] +templates_path = ['../_templates'] # The suffix of source filenames. source_suffix = '.rst' @@ -41,7 +41,7 @@ # General information about the project. project = u'TrustBridge-Hilfe' -copyright = u'2014, BSI' +#copyright = u'' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the
--- a/doc/help/admin/conf.py.in Wed Sep 24 15:47:45 2014 +0200 +++ b/doc/help/admin/conf.py.in Wed Sep 24 15:52:08 2014 +0200 @@ -28,7 +28,7 @@ #extensions = [''] # Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] +templates_path = ['../_templates'] # The suffix of source filenames. source_suffix = '.rst' @@ -41,7 +41,7 @@ # General information about the project. project = u'TrustBridge-Hilfe' -copyright = u'2014, BSI' +#copyright = u'' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the
--- a/doc/help/client/_templates/layout.html Wed Sep 24 15:47:45 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -{% extends '!layout.html' %} - -{%- block header %} - {%- if theme_showheader|tobool %} - <header id="pageheader"> - <a href="{{ pathto(master_doc) }} "><img src="_static/trustbridge-logo.png"><h1>{{ docstitle }}</h1></a> - </header> - {%- endif %} -{%- endblock %} - - -{% block footer %} - <footer id="pagefooter"> - © 2014, BSI | TrustBridge {{version}}<br> - <img src="_static/bsi-logo.png"> - </footer> -{% endblock %}
--- a/doc/help/client/_templates/searchbox.html Wed Sep 24 15:47:45 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -{# - basic/searchbox.html - ~~~~~~~~~~~~~~~~~~~~ - - Sphinx sidebar template: quick search box. - - :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. - :license: BSD, see LICENSE for details. -#} -{%- if pagename != "search" and builder != "singlehtml" %} -<div id="searchbox" style="display: none"> - <h3>Suche</h3> - <form class="search" action="{{ pathto('search') }}" method="get"> - <input type="text" name="q" /> - <input type="submit" value="{{ _('Go') }}" /> - <input type="hidden" name="check_keywords" value="yes" /> - <input type="hidden" name="area" value="default" /> - </form> -</div> -<p></p> -<script type="text/javascript">$('#searchbox').show(0);</script> -{%- endif %}
--- a/doc/help/client/conf.py Wed Sep 24 15:47:45 2014 +0200 +++ b/doc/help/client/conf.py Wed Sep 24 15:52:08 2014 +0200 @@ -28,7 +28,7 @@ #extensions = [''] # Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] +templates_path = ['../_templates'] # The suffix of source filenames. source_suffix = '.rst'
--- a/doc/help/client/conf.py.in Wed Sep 24 15:47:45 2014 +0200 +++ b/doc/help/client/conf.py.in Wed Sep 24 15:52:08 2014 +0200 @@ -28,7 +28,7 @@ #extensions = [''] # Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] +templates_path = ['../_templates'] # The suffix of source filenames. source_suffix = '.rst' @@ -41,7 +41,7 @@ # General information about the project. project = u'TrustBridge-Hilfe' -copyright = u'2014, BSI' +#copyright = u'' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the