comparison examples/turbogears/genshitest/templates/master.html @ 500:0742f421caba experimental-inline

Merged revisions 487-603 via svnmerge from http://svn.edgewall.org/repos/genshi/trunk
author cmlenz
date Fri, 01 Jun 2007 17:21:47 +0000
parents b8932429dbd0
children
comparison
equal deleted inserted replaced
499:869b7885a516 500:0742f421caba
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" 3 <html xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:xi="http://www.w3.org/2001/XInclude"
3 xmlns:py="http://genshi.edgewall.org/" 5 xmlns:py="http://genshi.edgewall.org/"
4 xmlns:xi="http://www.w3.org/2001/XInclude"
5 py:strip=""> 6 py:strip="">
7 <xi:include href="sitetemplate.html"><xi:fallback/></xi:include>
6 8
7 <xi:include href="sitetemplate.html"><xi:fallback/></xi:include> 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 <style type="text/css">
15 #pageLogin { font-size: 10px; font-family: verdana; text-align: right; }
16 </style>
17 </head>
8 18
9 <head py:match="head" py:attrs="select('@*')"> 19 <body py:match="body" py:attrs="select('@*')">
10 <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/> 20 <div id="pageLogin"
11 <title py:replace="''">Your title goes here</title> 21 py:if="tg.config('identity.on', False) and not value_of('logging_in')"
12 <meta py:replace="select('*')"/> 22 py:choose="">
13 <style type="text/css"> 23 <span py:when="tg.identity.anonymous">
14 #pageLogin 24 <a href="/login">Login</a>
15 { 25 </span>
16 font-size: 10px; 26 <span py:otherwise="">
17 font-family: verdana; 27 Welcome ${tg.identity.user.display_name}.
18 text-align: right; 28 <a href="/logout">Logout</a>
19 } 29 </span>
20 </style>
21 </head>
22
23 <body py:match="body" py:attrs="select('@*')">
24 <div py:if="tg.config('identity.on',False) and not logging_in"
25 id="pageLogin"
26 py:choose="">
27 <span py:when="tg.identity.anonymous">
28 <a href="/login">Login</a>
29 </span>
30 <span py:otherwise="">
31 Welcome ${tg.identity.user.display_name}.
32 <a href="/logout">Logout</a>
33 </span>
34 </div> 30 </div>
35
36 <div py:if="tg_flash" class="flash" py:content="tg_flash"></div> 31 <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>
37 32 <div py:replace="select('*|text()')" />
38 <div py:replace="select('*|text()')"/>
39
40 <p align="center"><img src="/static/images/tg_under_the_hood.png" alt="TurboGears under the hood"/></p> 33 <p align="center"><img src="/static/images/tg_under_the_hood.png" alt="TurboGears under the hood"/></p>
41 </body> 34 </body>
42 35
43 </html> 36 </html>
Copyright (C) 2012-2017 Edgewall Software