summaryrefslogtreecommitdiff
path: root/templates/layout.xi
blob: 7b59619ea519c1b21562a74eb7a71ea86a9a0239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<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>