[libvirt] [PATCH v2 06/19] docs: add footer to all pages

Daniel P. Berrange berrange at redhat.com
Tue Nov 8 11:50:17 UTC 2016


Add a footer to all pages containing a blurb about the
code of conduct, and links to various communication
channels / social media / user self-help sites.

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 docs/libvirt.css | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 docs/page.xsl    | 22 ++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/docs/libvirt.css b/docs/libvirt.css
index dfa7b58..b06407c 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -502,3 +502,49 @@ br.clear {
     clear: both;
     border: 0px;
 }
+
+#footer {
+    clear: both;
+    border-top: 3px solid rgb(60, 133, 124);
+    margin-top: 2em;
+    padding: 1em;
+    background: rgb(0, 95, 97);
+    color: rgb(255, 255, 255);
+}
+
+#footer a {
+    color: inherit;
+    text-decoration: none;
+}
+
+#footer a:hover {
+    color: rgb(255, 230, 0);
+}
+
+#conduct {
+    float: right;
+    text-align: right;
+    font-size: smaller;
+    margin-right: 3em;
+}
+
+#conduct a {
+    text-decoration: underline;
+}
+
+#contact, #community {
+    float: left;
+    padding: 0px;
+    margin-left: 3em;
+}
+
+#footer h3 {
+    margin:0px;
+    font-size: 1em;
+}
+
+#footer ul {
+    list-style: none;
+    margin: 0px;
+    font-size: smaller;
+}
diff --git a/docs/page.xsl b/docs/page.xsl
index e3b8d5b..9dd3a98 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -170,6 +170,28 @@
             </form>
           </div>
         </div>
+        <div id="footer">
+          <div id="contact">
+            <h3>Contact</h3>
+            <ul>
+              <li><a href="contact.html#email">email</a></li>
+              <li><a href="contact.html#irc">irc</a></li>
+            </ul>
+          </div>
+          <div id="community">
+            <h3>Community</h3>
+            <ul>
+              <li><a href="https://twitter.com/hashtag/libvirt">twitter</a></li>
+              <li><a href="https://plus.google.com/communities/109522598353007505282">google+</a></li>
+              <li><a href="http://stackoverflow.com/questions/tagged/libvirt">stackoverflow</a></li>
+              <li><a href="http://serverfault.com/questions/tagged/libvirt">serverfault</a></li>
+            </ul>
+          </div>
+          <div id="conduct">
+            Participants in the libvirt project agree to abide by <a href="governance.html#codeofconduct">the project code of conduct</a>
+          </div>
+          <br class="clear"/>
+        </div>
       </body>
     </html>
   </xsl:template>
-- 
2.9.3




More information about the libvir-list mailing list