[PATCH] (help-manual) some layout work. Added bsi and tb logo

Wald Commits scm-commit at wald.intevation.org
Thu Sep 11 15:24:11 CEST 2014


# HG changeset patch
# User Emanuel Schuetze <emanuel at intevation.de>
# Date 1410441842 -7200
# Node ID d6dc1144895bd2ba1685df4cb2922e74308c7a4f
# Parent  a12e6172d82ce3f3986000a79048d2eb4ca3e5a4
(help-manual) some layout work. Added bsi and tb logo.

diff -r a12e6172d82c -r d6dc1144895b manuals/help-manual/_static/bsi-logo.png
Binary file manuals/help-manual/_static/bsi-logo.png has changed
diff -r a12e6172d82c -r d6dc1144895b manuals/help-manual/_static/extra-style.css
--- a/manuals/help-manual/_static/extra-style.css	Thu Sep 11 12:05:59 2014 +0200
+++ b/manuals/help-manual/_static/extra-style.css	Thu Sep 11 15:24:02 2014 +0200
@@ -11,4 +11,20 @@
     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;
+}
diff -r a12e6172d82c -r d6dc1144895b manuals/help-manual/_static/trustbridge-logo.png
Binary file manuals/help-manual/_static/trustbridge-logo.png has changed
diff -r a12e6172d82c -r d6dc1144895b manuals/help-manual/_templates/layout.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/manuals/help-manual/_templates/layout.html	Thu Sep 11 15:24:02 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 %}
diff -r a12e6172d82c -r d6dc1144895b manuals/help-manual/conf.py
--- a/manuals/help-manual/conf.py	Thu Sep 11 12:05:59 2014 +0200
+++ b/manuals/help-manual/conf.py	Thu Sep 11 15:24:02 2014 +0200
@@ -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
@@ -111,7 +111,7 @@
 html_title = 'TrustBridge-Hilfe'
 
 # A shorter title for the navigation bar.  Default is the same as html_title.
-html_short_title = 'Home'
+#html_short_title = 'Home'
 
 # The name of an image file (relative to this directory) to place at the top
 # of the sidebar.


More information about the Trustbridge-commits mailing list