annotate zpt/HTML_list_schemas.zpt @ 2:61a3764cd5fb

new version RestDbInterface with working traversal and templates
author casties
date Fri, 21 May 2010 11:48:30 +0000
parents
children e3ee1f358fe6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
1 <html tal:define="format python:request.get('format','table')">
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
2 <head>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
3 <title tal:content="template/title">The title</title>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
4 <meta http-equiv="content-type" content="text/html;charset=utf-8">
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
5 </head>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
6 <body>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
7 <h2>List of schemas</h2>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
8 <tal:block tal:condition="python:format=='select'">
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
9 <select id="schemas">
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
10 <option tal:repeat="sch options/data" tal:content="sch"/>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
11 </select>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
12 </tal:block>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
13 <tal:block tal:condition="python:format=='table'">
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
14 <table id="schemas">
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
15 <tr tal:repeat="sch options/data">
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
16 <td><a tal:attributes="href sch" tal:content="sch"/></td>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
17 </tr>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
18 </table>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
19 </tal:block>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
20 </body>
61a3764cd5fb new version RestDbInterface with working traversal and templates
casties
parents:
diff changeset
21 </html>