comparison examples/turbogears/genshitest/templates/master.html @ 230:24757b771651

Renamed Markup to Genshi in repository.
author cmlenz
date Mon, 11 Sep 2006 15:07:07 +0000
parents examples/turbogears/markuptest/templates/master.html@44fbc30d78cd
children b8932429dbd0
comparison
equal deleted inserted replaced
229:110d69dbbda3 230:24757b771651
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml"
3 xmlns:py="http://genshi.edgewall.org/"
4 xmlns:xi="http://www.w3.org/2001/XInclude"
5 py:strip="">
6
7 <xi:include href="sitetemplate.html"><xi:fallback/></xi:include>
8
9 <head py:match="head" py:attrs="select('@*')">
10 <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
11 <title py:replace="''">Your title goes here</title>
12 <meta py:replace="select('*')"/>
13 <style type="text/css">
14 #pageLogin
15 {
16 font-size: 10px;
17 font-family: verdana;
18 text-align: right;
19 }
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>
35
36 <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>
37
38 <div py:replace="select('*')"/>
39
40 <p align="center"><img src="/static/images/tg_under_the_hood.png" alt="TurboGears under the hood"/></p>
41 </body>
42
43 </html>
Copyright (C) 2012-2017 Edgewall Software