]> git.ipfire.org Git - ipfire.org.git/commitdiff
Define "heading" XML tag to set as HTML-anchor
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Feb 2009 22:28:14 +0000 (23:28 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Feb 2009 22:28:14 +0000 (23:28 +0100)
www/data/development.xml
www/ipfire.py
www/style.css

index 053e63417d75f7315668b6305e655d6e04e8d7ca..2eec96f15697e3d6bad8a8cb2b3686867e008c28 100644 (file)
                        <Content lang="en"><![CDATA[
                                <ul class="links">
                                        <li class="first"><a href="#git">git</a></li>
-                                       <li><a href="#source">sourcecode</a></li>
+                                       <li><a href="#source-code">sourcecode</a></li>
                                        <li><a href="#bugtracker">bugtracker</a></li>
-                                       <li><a href="#nightly">nighty builds</a></li>
+                                       <li><a href="#nightly-builds">nighty builds</a></li>
                                </ul>
                                ]]></Content>
                        <Content lang="de"><![CDATA[
                                <ul class="links">
                                        <li class="first"><a href="#git">Git</a></li>
-                                       <li><a href="#source">Sourcecode</a></li>
+                                       <li><a href="#source-code">Sourcecode</a></li>
                                        <li><a href="#bugtracker">Bugtracker</a></li>
-                                       <li><a href="#nightly">Nighty-Builds</a></li>
+                                       <li><a href="#nightly-builds">Nighty-Builds</a></li>
                                </ul>
                                ]]></Content>
                        
@@ -54,7 +54,7 @@
                                ]]></Content>
                </Paragraph>
                <Paragraph>
-                       <Heading>Git</Heading>
+                       <Heading>git</Heading>
                        <Content lang="en"><![CDATA[
                                        Our source code repository is managed by
                                        <a href="http://git.or.cz" target="_blank">git</a>.
@@ -73,7 +73,7 @@
                                ]]></Content>
                </Paragraph>
                <Paragraph>
-                       <Heading>Source-Code</Heading>
+                       <Heading>source-code</Heading>
                        <Content lang="en"><![CDATA[
                                                The source code tarballs of the in ipfire used tools are on
                                                <a href="http://source.ipfire.org/" target="_target">http://source.ipfire.org/</a>.<br />
@@ -88,7 +88,7 @@
                                ]]></Content>
                </Paragraph>
                <Paragraph>
-                       <Heading>Bugtracker</Heading>
+                       <Heading>bugtracker</Heading>
                        <Content lang="en"><![CDATA[
                                        We manage all issues in our <a href="http://bugtracker.ipfire.org" target="_blank">bugtracker</a>.<br />
                                        It is important for development to create detailed bug reports that
                                ]]></Content>
                </Paragraph>
                <Paragraph>
-                       <Heading>Nightly-Builds</Heading>
+                       <Heading>nightly-builds</Heading>
                        <Content lang="en"><![CDATA[
                                        Compiled development versions for testing purposes
                                        will be built (automatically).<br />
index 1e8b537600c9ca766622cfe617cf38276bda3189..12d207cf34584bcf7a536bc421eb3a2cd92a48ba 100755 (executable)
@@ -70,7 +70,7 @@ class Body(SItem):
                for paragraph in self.paragraphs:
                        for heading in paragraph.childs("Heading"):
                                if heading.attr("lang") in (self.lang, ""):
-                                       self.write("<h3>" + heading.text() + "</h3>")   
+                                       self.write('<h3>' + heading.text() + '</h3><a name="' + heading.text() +'"></a>')
                        for content in paragraph.childs("Content"):
                                if content.attr("lang") in (self.lang, ""):
                                        if content.attr("raw"):
index 6393e5a547bd75057cbffd9bd1d854262617934d..2df997345aaaf5673145f253ddd681f44845adf6 100644 (file)
@@ -17,7 +17,7 @@ width: 90% !important;
 
 div.fixed
 {
-width: 965px !important;
+width: 970px !important;
 margin: 0;
 }
 
@@ -382,13 +382,13 @@ table {
   width: 980px;
 }
 #sh-tl {
-  background: url(ipfire3/sh-tl.png) right bottom;
+  background: url(ipfire3/sh-tl.png) no-repeat right bottom;
 }
 #sh-top {
   background: url(ipfire3/sh-top.png) repeat-x bottom;
 }
 #sh-tr {
-  background: url(ipfire3/sh-tr.png) left bottom;
+  background: url(ipfire3/sh-tr.png) no-repeat left bottom;
 }
 #sh-lft {
   background: url(ipfire3/sh-lft.png) repeat-y right;
@@ -397,13 +397,13 @@ table {
   background: url(ipfire3/sh-rgt.png) repeat-y left;
 }
 #sh-bl {
-  background: url(ipfire3/sh-bl.png) right top;
+  background: url(ipfire3/sh-bl.png) no-repeat right top;
 }
 #sh-btn {
   background: url(ipfire3/sh-btn.png) repeat-x top;
 }
 #sh-br {
-  background: url(ipfire3/sh-br.png) left top;
+  background: url(ipfire3/sh-br.png) no-repeat left top;
 }
 #no-sh {
 /*  background: url(ipfire3/sh-br.png) left top; */
@@ -411,8 +411,8 @@ background-color: #f5f5f5;
 padding: 1.5em;
 }
 #sh-tl, #sh-top, #sh-tr, #sh-lft, #sh-rgt, #sh-bl, #sh-btn, #sh-br {
-  width: 12px;
-  height: 12px;
+  width: 16px;
+  height: 16px;
   padding: 0px;
   border-width: 0px;
   border-style: none;