Generate valid XHTML for now (until TG supports passing more options to Genshi)- minor template fix/validation corrections.
This commit is contained in:
parent
c19f6546e9
commit
ae5cd66631
3 changed files with 11 additions and 10 deletions
|
@ -19,9 +19,10 @@ tg.defaultview = "genshi"
|
|||
|
||||
# One of (html|html-strict|xhtml|xhtml-strict|xml|json)
|
||||
# kid.outputformat="html"
|
||||
genshi.outputformat = "html"
|
||||
genshi.outputformat = "xhtml"
|
||||
|
||||
# When @#%*( TG supports this....
|
||||
#genshi.outputformat = "html"
|
||||
#genshi.default_doctype = "html-strict"
|
||||
|
||||
# kid.encoding="utf-8"
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
<xi:include href="master.html" />
|
||||
<head>
|
||||
<title>Login to the Fedora Accounts System</title>
|
||||
<style type="text/css">
|
||||
#content ul
|
||||
{
|
||||
list-style: square;
|
||||
margin: 1ex 3ex;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<style type="text/css">
|
||||
#content ul
|
||||
{
|
||||
list-style: square;
|
||||
margin: 1ex 3ex;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<h2>Login</h2>
|
||||
<p>${message}</p>
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:py="http://genshi.edgewall.org/"
|
||||
py:strip="">
|
||||
<head>
|
||||
<title>${title}</title>
|
||||
<head py:match="head" py:attrs="select('@*')">
|
||||
<link href="${tg.url('/static/css/style.css')}" rel="stylesheet" type="text/css" />
|
||||
<meta py:replace="select('*|text()')" />
|
||||
</head>
|
||||
<body py:match="body" py:attrs="select('@*')">
|
||||
<div id="wrapper">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue