| 172 |
ashish |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
2 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
|
4 |
xmlns:py="http://genshi.edgewall.org/"
|
|
|
5 |
xmlns:xi="http://www.w3.org/2001/XInclude" py:strip="">
|
|
|
6 |
<xi:include href="header.html" />
|
|
|
7 |
<xi:include href="sidebars.html" />
|
|
|
8 |
<xi:include href="footer.html" />
|
|
|
9 |
<head py:match="head" py:attrs="select('@*')">
|
|
|
10 |
<meta content="text/html; charset=UTF-8" http-equiv="content-type"
|
|
|
11 |
py:replace="''" />
|
|
|
12 |
<title py:replace="''">Your title goes here</title>
|
|
|
13 |
<meta py:replace="select('*')" />
|
|
|
14 |
<link rel="stylesheet" type="text/css" media="screen"
|
|
|
15 |
href="${tg.url('/css/style.css')}" />
|
|
|
16 |
</head>
|
|
|
17 |
|
|
|
18 |
<body py:match="body" py:attrs="select('@*')">
|
|
|
19 |
${header()}
|
|
|
20 |
<ul id="mainmenu">
|
|
|
21 |
<li class="first"><a href="${tg.url('/')}"
|
|
|
22 |
class="${('', 'active')[defined('page') and page==page=='index']}">Welcome</a></li>
|
|
|
23 |
<li><a href="${tg.url('/about')}"
|
|
|
24 |
class="${('', 'active')[defined('page') and page==page=='about']}">About</a></li>
|
|
|
25 |
<li py:if="tg.auth_stack_enabled"><a href="${tg.url('/auth')}"
|
|
|
26 |
class="${('', 'active')[defined('page') and page==page=='auth']}">Authentication</a></li>
|
|
|
27 |
<li><a href="http://groups.google.com/group/turbogears">Contact</a></li>
|
|
|
28 |
<span py:if="tg.auth_stack_enabled" py:strip="True">
|
|
|
29 |
<li py:if="not request.identity" id="login" class="loginlogout"><a
|
|
|
30 |
href="${tg.url('/login')}">Login</a></li>
|
|
|
31 |
<li py:if="request.identity" id="login" class="loginlogout"><a
|
|
|
32 |
href="${tg.url('/logout_handler')}">Logout</a></li>
|
|
|
33 |
<li py:if="request.identity" id="admin" class="loginlogout"><a
|
|
|
34 |
href="${tg.url('/admin')}">Admin</a></li>
|
|
|
35 |
</span>
|
|
|
36 |
</ul>
|
|
|
37 |
<div id="content"><py:if test="defined('page')">
|
|
|
38 |
<div class="currentpage">Now Viewing: <span py:replace="page" />
|
|
|
39 |
</div>
|
|
|
40 |
</py:if> <py:with vars="flash=tg.flash_obj.render('flash', use_js=False)">
|
|
|
41 |
<div py:if="flash" py:content="XML(flash)" />
|
|
|
42 |
</py:with>
|
|
|
43 |
<div py:replace="select('*|text()')" />
|
|
|
44 |
<!-- End of content --> ${footer()}</div>
|
|
|
45 |
</body>
|
|
|
46 |
</html>
|