diff options
author | Luke Macken <lmacken@redhat.com> | 2008-07-07 13:25:43 -0400 |
---|---|---|
committer | Luke Macken <lmacken@redhat.com> | 2008-07-07 13:25:43 -0400 |
commit | 853537067d6f9a4e87d16aa5a494a2a9c17ccfd7 (patch) | |
tree | a25b75f63b57ecf73e0566963e36e8edec514dd9 | |
parent | 40d4492f812fd40081bdab2d1fcbda58c884b6ca (diff) | |
download | manas-853537067d6f9a4e87d16aa5a494a2a9c17ccfd7.tar.gz manas-853537067d6f9a4e87d16aa5a494a2a9c17ccfd7.tar.xz manas-853537067d6f9a4e87d16aa5a494a2a9c17ccfd7.zip |
Clean up our header, footer, and sidebars
-rw-r--r-- | manas/templates/footer.html | 19 | ||||
-rw-r--r-- | manas/templates/header.html | 20 | ||||
-rw-r--r-- | manas/templates/sidebars.html | 43 |
3 files changed, 32 insertions, 50 deletions
diff --git a/manas/templates/footer.html b/manas/templates/footer.html index 17486b5..3537ef3 100644 --- a/manas/templates/footer.html +++ b/manas/templates/footer.html @@ -1,15 +1,8 @@ -<html xmlns:py="http://genshi.edgewall.org/" - xmlns:xi="http://www.w3.org/2001/XInclude" - py:strip=""> +<html xmlns:py="http://genshi.edgewall.org/" py:strip=""> <py:def function="footer"> -<div id="footer"> - <div class="flogo"> - <img src="/images/under_the_hood_blue.png" alt="TurboGears" /> - </div> - <div class="foottext"> - <p>TurboGears is a open source front-to-back web development - framework written in Python. Copyright (c) 2005-2008 </p> - </div> +<div id="footer" class="footer"> + <br/> + <img src="/images/under_the_hood_blue.png" alt="TurboGears" /> </div> -</py:def> -</html>
\ No newline at end of file +</py:def> +</html> diff --git a/manas/templates/header.html b/manas/templates/header.html index 6d533be..bb72cd9 100644 --- a/manas/templates/header.html +++ b/manas/templates/header.html @@ -1,17 +1,7 @@ -<html xmlns:py="http://genshi.edgewall.org/" - xmlns:xi="http://www.w3.org/2001/XInclude" - py:strip=""> +<html xmlns:py="http://genshi.edgewall.org/" py:strip=""> <py:def function="header"> - <div id="header"> - <div class="alogo"> - <img src="/images/logo.png" alt="TG2!"/> - </div> - <div class="headtext"> - Welcome to TurboGears 2 - </div> - <div class="currentpage"> - Now Viewing: <span py:replace="page"/> - </div> + <div id="header" class="head"> + Manas </div> -</py:def> -</html>
\ No newline at end of file +</py:def> +</html> diff --git a/manas/templates/sidebars.html b/manas/templates/sidebars.html index cde5deb..9084c47 100644 --- a/manas/templates/sidebars.html +++ b/manas/templates/sidebars.html @@ -1,33 +1,32 @@ -<html xmlns:py="http://genshi.edgewall.org/" - xmlns:xi="http://www.w3.org/2001/XInclude" - py:strip=""> +<html xmlns:py="http://genshi.edgewall.org/" py:strip=""> -<py:def function="sidebar_top"> - <div id="sb_top" class="sidebar"> - <h2>Get Started with TG2</h2> - <ul class="links"> +<py:def function="sidebar_left"> + <div id="col1" class="col"> + <ul> + <!-- <li py:choose=""> <span py:when="page=='index'"><a href="/about">About this page</a> A quick guide to this TG2 site </span> <span py:otherwise=""><a href="/">Home</a> Back to your Quickstart Home page </span> </li> - <li><a href="http://www.turbogears.org/2.0/docs/">TG2 Documents</a> - Read everything in the Getting Started section</li> - <li><a href="http://docs.turbogears.org/1.0">TG1 docs</a> (still useful, although a lot has changed for TG2) </li> - <li><a href="http://groups.google.com/group/turbogears"> Join the TG Mail List</a> for general TG use/topics </li> + --> + <li><a href="#" onclick="$('#main').load('/new')">Add a new idea</a></li> + <!-- + <li><a href="#" onclick="$.get('/new', function(html){ + console.log(html); + $(html).find('script').appendTo('head'); + $('#content').html($(html).find('#content')); + });">New idea</a></li> + --> + <li><a href="#" onclick="$('#main').load('/ideas')">View Ideas</a></li> </ul> </div> -</py:def> +</py:def> -<py:def function="sidebar_bottom"> - <div id="sb_bottom" class="sidebar"> - <h2>Developing TG2</h2> - <ul class="links"> - <li><a href="http://docs.turbogears.org/2.0/RoughDocs/">TG2 Documents</a> A work in progress</li> - <li><a href="http://trac.turbogears.org/query?milestone=2.0&order=priority">TG2 Trac tickets</a> What's happening now in TG2 dev</li> - <li><a href="http://trac.turbogears.org/timeline">TG Dev timeline</a> (recent ticket updates, svn checkins, wiki changes)</li> - <li><a href="http://trac.turbogears.org/browser">TG2 Trac repository</a> TG2 is in /trunk</li> - <li><a href="http://groups.google.com/group/turbogears-trunk"> Join the TG-Trunk Mail List</a> just for TG2 discuss/dev </li> - </ul> +<py:def function="sidebar_right"> + <div id="col3" class="col"> + <?python import pylons ?> + ${pylons.g.latest_ideas()} </div> -</py:def> +</py:def> </html> |