annotate examples/turbogears/genshitest/templates/master.html @ 441:9d3f275953b5

Fix undefined error in TurboGears example app, and some cleanup.
author cmlenz
date Wed, 11 Apr 2007 11:02:02 +0000
parents b8932429dbd0
children
rev   line source
441
9d3f275953b5 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"
9d3f275953b5 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
f8612f05af99 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
9d3f275953b5 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
24757b771651 Renamed Markup to Genshi in repository.
cmlenz
parents: 110
diff changeset
5 xmlns:py="http://genshi.edgewall.org/"
4
f8612f05af99 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
9d3f275953b5 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
f8612f05af99 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
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
9 <head py:match="head" py:attrs="select('@*')">
9d3f275953b5 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"
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
11 py:replace="''" />
4
f8612f05af99 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
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
13 <meta py:replace="select('*')" />
4
f8612f05af99 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
9d3f275953b5 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
f8612f05af99 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
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
17 </head>
4
f8612f05af99 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
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
19 <body py:match="body" py:attrs="select('@*')">
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
20 <div id="pageLogin"
9d3f275953b5 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')"
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
22 py:choose="">
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
23 <span py:when="tg.identity.anonymous">
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
24 <a href="/login">Login</a>
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
25 </span>
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
26 <span py:otherwise="">
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
27 Welcome ${tg.identity.user.display_name}.
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
28 <a href="/logout">Logout</a>
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
29 </span>
4
f8612f05af99 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>
f8612f05af99 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
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
32 <div py:replace="select('*|text()')" />
4
f8612f05af99 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
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 247
diff changeset
34 </body>
4
f8612f05af99 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
f8612f05af99 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>
Copyright (C) 2012-2017 Edgewall Software