Mercurial > genshi > mirror
annotate examples/turbogears/genshitest/templates/master.html @ 441:2755b06148b3 trunk
Fix undefined error in TurboGears example app, and some cleanup.
author | cmlenz |
---|---|
date | Wed, 11 Apr 2007 11:02:02 +0000 |
parents | cf4a125b44a1 |
children |
rev | line source |
---|---|
441
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
4
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
3 <html xmlns="http://www.w3.org/1999/xhtml" |
441
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
4 xmlns:xi="http://www.w3.org/2001/XInclude" |
230 | 5 xmlns:py="http://genshi.edgewall.org/" |
4
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
6 py:strip=""> |
441
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
7 <xi:include href="sitetemplate.html"><xi:fallback/></xi:include> |
4
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
8 |
441
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
9 <head py:match="head" py:attrs="select('@*')"> |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
10 <meta content="text/html; charset=UTF-8" http-equiv="content-type" |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
11 py:replace="''" /> |
4
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
12 <title py:replace="''">Your title goes here</title> |
441
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
13 <meta py:replace="select('*')" /> |
4
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
14 <style type="text/css"> |
441
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
15 #pageLogin { font-size: 10px; font-family: verdana; text-align: right; } |
4
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
16 </style> |
441
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
17 </head> |
4
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
18 |
441
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
19 <body py:match="body" py:attrs="select('@*')"> |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
20 <div id="pageLogin" |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
21 py:if="tg.config('identity.on', False) and not value_of('logging_in')" |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
22 py:choose=""> |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
23 <span py:when="tg.identity.anonymous"> |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
24 <a href="/login">Login</a> |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
25 </span> |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
26 <span py:otherwise=""> |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
27 Welcome ${tg.identity.user.display_name}. |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
28 <a href="/logout">Logout</a> |
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
29 </span> |
4
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
30 </div> |
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
31 <div py:if="tg_flash" class="flash" py:content="tg_flash"></div> |
441
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
32 <div py:replace="select('*|text()')" /> |
4
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
33 <p align="center"><img src="/static/images/tg_under_the_hood.png" alt="TurboGears under the hood"/></p> |
441
2755b06148b3
Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents:
247
diff
changeset
|
34 </body> |
4
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
35 |
49364e784c47
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff
changeset
|
36 </html> |