Changeset 84ed773 for gutenbach-web/master.html
- Timestamp:
- Feb 23, 2009, 4:26:36 PM (16 years ago)
- Branches:
- master, debian, mac, no-cups, web
- Children:
- 77aa4c8
- Parents:
- 973dd91
- git-author:
- Edward Z. Yang <edwardzyang@…> (02/23/09 16:26:36)
- git-committer:
- Edward Z. Yang <edwardzyang@…> (02/23/09 16:26:36)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gutenbach-web/master.html
r973dd91 r84ed773 6 6 py:strip=""> 7 7 <xi:include href="header.html" /> 8 <xi:include href="sidebars.html" />9 8 <xi:include href="footer.html" /> 10 9 <head py:match="head" py:attrs="select('@*')"> … … 20 19 <li class="first"><a href="${tg.url('/')}" class="${('', 'active')[defined('page') and page==page=='index']}">Welcome</a></li> 21 20 <li><a href="${tg.url('/about')}" class="${('', 'active')[defined('page') and page==page=='about']}">About</a></li> 22 <li py:if="tg.auth_stack_enabled"><a href="${tg.url('/auth')}" class="${('', 'active')[defined('page') and page==page=='auth']}">Authentication</a></li>23 21 <li><a href="http://groups.google.com/group/turbogears">Contact</a></li> 24 <span py:if="tg.auth_stack_enabled" py:strip="True">25 <li py:if="not request.identity" id="login" class="loginlogout"><a href="${tg.url('/login')}">Login</a></li>26 <li py:if="request.identity" id="login" class="loginlogout"><a href="${tg.url('/logout_handler')}">Logout</a></li>27 <li py:if="request.identity" id="admin" class="loginlogout"><a href="${tg.url('/admin')}">Admin</a></li>28 </span>29 22 </ul> 30 23 <div id="content"> 31 <py:if test="defined('page')">32 <div class="currentpage">33 Now Viewing: <span py:replace="page"/>34 </div>35 </py:if>36 24 <py:with vars="flash=tg.flash_obj.render('flash', use_js=False)"> 37 25 <div py:if="flash" py:content="XML(flash)" />
Note: See TracChangeset
for help on using the changeset viewer.