You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2009/02/02 21:28:34 UTC

svn commit: r740095 - in /httpcomponents/httpcore/trunk/src/docbkx/resources: css/hc-tutorial.css images/ images/asf_logo_wide.gif images/hc_logo.png xsl/html_chunk.xsl

Author: olegk
Date: Mon Feb  2 20:28:33 2009
New Revision: 740095

URL: http://svn.apache.org/viewvc?rev=740095&view=rev
Log:
Added ASF and HC logos to the HttpCore tutorial in html format

Added:
    httpcomponents/httpcore/trunk/src/docbkx/resources/images/
    httpcomponents/httpcore/trunk/src/docbkx/resources/images/asf_logo_wide.gif   (with props)
    httpcomponents/httpcore/trunk/src/docbkx/resources/images/hc_logo.png   (with props)
Modified:
    httpcomponents/httpcore/trunk/src/docbkx/resources/css/hc-tutorial.css
    httpcomponents/httpcore/trunk/src/docbkx/resources/xsl/html_chunk.xsl

Modified: httpcomponents/httpcore/trunk/src/docbkx/resources/css/hc-tutorial.css
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/src/docbkx/resources/css/hc-tutorial.css?rev=740095&r1=740094&r2=740095&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/src/docbkx/resources/css/hc-tutorial.css (original)
+++ httpcomponents/httpcore/trunk/src/docbkx/resources/css/hc-tutorial.css Mon Feb  2 20:28:33 2009
@@ -279,3 +279,35 @@
     .programlisting * .lineannotation * {
     color: blue;
 }
+
+.bannerLeft, .bannerRight {
+  font-size: xx-large;
+  font-weight: bold;
+}
+
+.bannerLeft img, .bannerRight img {
+  margin: 0px;
+}
+
+.bannerLeft img {
+  float:left;
+  text-shadow: #7CFC00;
+}
+
+.bannerRight img {
+  float:right;
+  text-shadow: #7CFC00;
+}
+
+.banner {
+  padding: 0px;
+}
+
+.banner img {
+  border: none;
+}
+
+.clear  {
+  clear:both;
+  visibility: hidden;
+}
\ No newline at end of file

Added: httpcomponents/httpcore/trunk/src/docbkx/resources/images/asf_logo_wide.gif
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/src/docbkx/resources/images/asf_logo_wide.gif?rev=740095&view=auto
==============================================================================
Binary file - no diff available.

Propchange: httpcomponents/httpcore/trunk/src/docbkx/resources/images/asf_logo_wide.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: httpcomponents/httpcore/trunk/src/docbkx/resources/images/hc_logo.png
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/src/docbkx/resources/images/hc_logo.png?rev=740095&view=auto
==============================================================================
Binary file - no diff available.

Propchange: httpcomponents/httpcore/trunk/src/docbkx/resources/images/hc_logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: httpcomponents/httpcore/trunk/src/docbkx/resources/xsl/html_chunk.xsl
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/src/docbkx/resources/xsl/html_chunk.xsl?rev=740095&r1=740094&r2=740095&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/src/docbkx/resources/xsl/html_chunk.xsl (original)
+++ httpcomponents/httpcore/trunk/src/docbkx/resources/xsl/html_chunk.xsl Mon Feb  2 20:28:33 2009
@@ -94,4 +94,20 @@
             <xsl:apply-templates mode="titlepage.mode"/>
         </div>
     </xsl:template>
+    <!--###################################################
+                     Headers and Footers
+    ################################################### -->
+    <xsl:template name="user.header.navigation">
+        <div class="banner">
+            <a class="bannerLeft" href="http://www.apache.org/"
+               title="Apache Software Foundation">
+                <img style="border:none;" src="images/asf_logo_wide.gif"/>
+            </a>
+            <a class="bannerRight" href="http://hc.apache.org/httpcomponents-core/"
+               title="Apache HttpComponents Core">
+                <img style="border:none;" src="images/hc_logo.png"/>
+            </a>
+            <div class="clear"/>
+        </div>
+    </xsl:template>
 </xsl:stylesheet>