diff options
Diffstat (limited to 'templates/layout.xi')
-rw-r--r-- | templates/layout.xi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/layout.xi b/templates/layout.xi new file mode 100644 index 0000000..6a5418a --- /dev/null +++ b/templates/layout.xi @@ -0,0 +1,24 @@ +<html xmlns="http://www.w3.org/1999/xhtml" + xmlns:py="http://genshi.edgewall.org/" + xmlns:sub="http://local.sublab.org/subdap/xmlns-templates" + py:strip=""> +<!-- vim:syntax=html + --> + + <py:match path="head" once="true"> + <head py:attrs="select('@*')"> + <title py:with="title = list(select('title/text()'))">subdap<py:if test="title">: ${title}</py:if></title> + <link rel="stylesheet" href="${url('static/layout.css')}" type="text/css"/> + ${select('*[local-name()!="title"]')} + </head> + </py:match> + + <py:match path="sub:bodyform" once="true"> + <body id="formcont" py:attrs="select('@*')"> + <div> + <img id="logo" src="static/ldap.png" alt="subdap"/> + ${select('*')} + </div> + </body> + </py:match> +</html> |