[extensions-web] Insert proper footer links.



commit 8de249db493773ba1829c94b1613ea589075f4a7
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Sep 28 16:37:53 2011 -0400

    Insert proper footer links.
    
    Thanks to vdepizzol, I have an easy access to the footer links:
    
    http://www.gnome.org/?render-footer-menu
    http://git.gnome.org/browse/gnome-web-www/commit/?id=350b69962ee92d3ac2a5c781317c9465edc17097

 sweettooth/static/css/template.css     |    4 +-
 sweettooth/templates/base.html         |    4 ++-
 sweettooth/templates/dummy_links.html  |   37 --------------------------------
 sweettooth/templates/footer_links.html |   34 +++++++++++++++++++++++++++++
 4 files changed, 39 insertions(+), 40 deletions(-)
---
diff --git a/sweettooth/static/css/template.css b/sweettooth/static/css/template.css
index f24a5ab..39e8ea7 100644
--- a/sweettooth/static/css/template.css
+++ b/sweettooth/static/css/template.css
@@ -321,7 +321,7 @@ a:visited {
 #footer .links {
     overflow: hidden;
 }
-#footer .links > ul > li {
+#footer .links > div > ul > li {
     float: left;
     margin: 0 40px 10px 0;
 }
@@ -344,7 +344,7 @@ a:visited {
     margin: 0;
     padding: 0;
 }
-#footer .links > ul > li > a {
+#footer .links > div > ul > li > a {
     font-weight: bold;
 }
 #footer .links a {
diff --git a/sweettooth/templates/base.html b/sweettooth/templates/base.html
index 2719792..0f27996 100644
--- a/sweettooth/templates/base.html
+++ b/sweettooth/templates/base.html
@@ -90,7 +90,9 @@ window._SW = function() {
 
     <div id="footer">
       <div class="maxwidth">
-        {% include "dummy_links.html" %}
+        <div class="grid_9 links">
+          {% include "footer_links.html" %}
+        </div>
         <div class="grid_9" id="footnotes">
           Copyright &copy; 2005&#8210;2011 <strong class="gnome_logo">The GNOME Project</strong><br>
           <small>Free to share and remix: <a href="http://creativecommons.org/licenses/by/3.0/";>Creative Commons CC-BY</a>. Optimised for standards. Hosted by <a href="http://www.canonical.com/";>Canonical</a>. Powered by <a href="http://www.djangoproject.com";>Django</a> and <a href="https://github.com/magcius/sweettooth";>SweetTooth</a></small>
diff --git a/sweettooth/templates/footer_links.html b/sweettooth/templates/footer_links.html
new file mode 100644
index 0000000..2906b41
--- /dev/null
+++ b/sweettooth/templates/footer_links.html
@@ -0,0 +1,34 @@
+<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 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-1052" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1052"><a href="http://foundation.gnome.org";>The GNOME Foundation</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>
+</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://library.gnome.org/misc/release-notes/3.0/";>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>



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