[mhonarc] add standard footer



commit 44dd49b1c68b1878122f94969457e4e893a150ce
Author: Olav Vitters <olav vitters nl>
Date:   Tue Feb 12 23:14:41 2013 +0100

    add standard footer

 archive.py |  142 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 142 insertions(+), 0 deletions(-)
---
diff --git a/archive.py b/archive.py
index ada54fe..4bf23e1 100755
--- a/archive.py
+++ b/archive.py
@@ -228,6 +228,13 @@ class Archiver:
                 dirs[a_dir] = a_dir
 
             with open(os.path.join(path, 'index.html'), 'w') as fp:
+                fp.write('''
+        <table border=3>
+          <tr><td>Archive</td>
+          <td>View by:</td>
+          <td>Downloadable version</td></tr>''')
+
+
                 for a_dir in sorted(dirs, key=dirs.get):
                     # XXX - write header 
                     for fmt in ("%s.txt", "%s.txt.gz"):
@@ -250,6 +257,141 @@ class Archiver:
     <td><A href="%s">%s</a></td>
     </tr>''' % (a_dir, a_dir, a_dir, a_dir, mboxfile, human_size(mboxsize)))
 
+                fp.write('''
+  </table>
+  </div> <!-- end of div.body -->
+
+  <div id="footer_community"></div>
+
+  <div id="footer_grass"></div>
+
+  <div id="footer">
+    <div class="container_12" id="container_12">
+      <div class="links grid_9">
+        <div class="menu-footer-container">
+          <ul id="menu-footer" class="menu">
+            <li id="menu-item-1048" class=
+            "menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-1048">
+            <a href="/">The GNOME Project</a>
+
+              <ul class="sub-menu">
+                <li id="menu-item-1049" class=
+                "menu-item menu-item-type-post_type menu-item-object-page menu-item-1049">
+                <a href="http://www.gnome.org/about/";>About Us</a></li>
+
+                <li id="menu-item-1050" class=
+                "menu-item menu-item-type-post_type menu-item-object-page menu-item-1050">
+                <a href="http://www.gnome.org/get-involved/";>Get Involved</a></li>
+
+                <li id="menu-item-1051" class=
+                "menu-item menu-item-type-post_type menu-item-object-page menu-item-1051">
+                <a href="http://www.gnome.org/teams/";>Teams</a></li>
+
+                <li id="menu-item-1053" class=
+                "menu-item menu-item-type-post_type menu-item-object-page menu-item-1053">
+                <a href="http://www.gnome.org/support-gnome/";>Support GNOME</a></li>
+
+                <li id="menu-item-1054" class=
+                "menu-item menu-item-type-post_type menu-item-object-page menu-item-1054">
+                <a href="http://www.gnome.org/contact/";>Contact Us</a></li>
+
+                <li id="menu-item-2246" class=
+                "menu-item menu-item-type-post_type menu-item-object-page menu-item-2246">
+                <a href="http://www.gnome.org/foundation/";>The GNOME Foundation</a></li>
+              </ul>
+            </li>
+
+            <li id="menu-item-1047" class=
+            "menu-item menu-item-type-custom menu-item-object-custom menu-item-1047">
+              <a href="#">Resources</a>
+
+              <ul class="sub-menu">
+                <li id="menu-item-1055" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1055">
+                <a href="http://developer.gnome.org";>Developer Center</a></li>
+
+                <li id="menu-item-1056" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1056">
+                <a href="http://library.gnome.org";>Documentation</a></li>
+
+                <li id="menu-item-1057" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1057">
+                <a href="http://live.gnome.org";>Wiki</a></li>
+
+                <li id="menu-item-1058" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1058">
+                <a href="http://mail.gnome.org/mailman/listinfo";>Mailing Lists</a></li>
+
+                <li id="menu-item-1059" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1059">
+                <a href="http://live.gnome.org/GnomeIrcChannels";>IRC Channels</a></li>
+
+                <li id="menu-item-1060" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1060">
+                <a href="https://bugzilla.gnome.org/";>Bug Tracker</a></li>
+
+                <li id="menu-item-1061" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1061">
+                <a href="http://git.gnome.org/browse/";>Development Code</a></li>
+
+                <li id="menu-item-1062" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1062">
+                <a href="http://live.gnome.org/Jhbuild";>Build Tool</a></li>
+              </ul>
+            </li>
+
+            <li id="menu-item-1046" class=
+            "menu-item menu-item-type-custom menu-item-object-custom menu-item-1046">
+              <a href="/news">News</a>
+
+              <ul class="sub-menu">
+                <li id="menu-item-1063" class=
+                "menu-item menu-item-type-post_type menu-item-object-page menu-item-1063">
+                <a href="http://www.gnome.org/press/";>Press Releases</a></li>
+
+                <li id="menu-item-1064" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1064">
+                <a href="http://www.gnome.org/start/stable";>Latest Release</a></li>
+
+                <li id="menu-item-1065" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1065">
+                <a href="http://planet.gnome.org";>Planet GNOME</a></li>
+
+                <li id="menu-item-1066" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1066">
+                <a href="http://gnomejournal.org";>GNOME Journal</a></li>
+
+                <li id="menu-item-1067" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1067">
+                <a href="http://news.gnome.org";>Development News</a></li>
+
+                <li id="menu-item-1068" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1068">
+                <a href="http://identi.ca/gnome";>Identi.ca</a></li>
+
+                <li id="menu-item-1069" class=
+                "menu-item menu-item-type-custom menu-item-object-custom menu-item-1069">
+                <a href="http://twitter.com/gnome";>Twitter</a></li>
+              </ul>
+            </li>
+          </ul>
+        </div>
+      </div>
+
+      <div id="footnotes" class="grid_9">
+       <p> Copyright &copy; 2005 - 2012 <a href="http://www.gnome.org/";><strong>The GNOME Project</strong></a>.<br />
+       <small><a href="http://validator.w3.org/check/referer";>Optimised</a> for <a href=
+        "http://www.w3.org/";>standards</a>. Hosted by <a href=
+        "http://www.redhat.com/";>Red Hat</a>.
+        Powered by <a href="http://www.list.org/";>MailMan</a></small></p>
+      </div>
+    </div>
+  </div>
+
+  </div> <!-- end of div.body -->
+</body>
+</html>''')
+
 
 def mkdate(datestr):
     #return time.strptime(datestr, '%Y-%m-%d')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]