Mercurial > hg > ChinaGisRestApi
annotate zpt/HTML_index.zpt @ 239:95721c5afd0b
show line and polygon-layer
author | fknauft |
---|---|
date | Tue, 06 Sep 2011 10:03:24 +0200 |
parents | b636b0417aab |
children |
rev | line source |
---|---|
70 | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 <html xmlns="http://www.w3.org/1999/xhtml" | |
4 tal:define="layout python:request.get('layout','table'); element_id python:request.get('element_id',None); | |
45 | 5 data here/getListOfSchemas"> |
2
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
6 <head> |
4
e3ee1f358fe6
new version that doesn't use ZSQLExtend but the database connection more directly.
casties
parents:
2
diff
changeset
|
7 <meta http-equiv="content-type" content="text/html;charset=utf-8"> |
222 | 8 <!-- <title tal:content="template/title">The title</title> --> |
9 <title>Mappit, Map Places in Time, Mappit by MPI for the History of Scinces</title> | |
10 <meta name="description" content="Mappit, Web-GIS, Mappit developed by F.-J. Knauft, Max-Planck-Institut"> | |
11 <meta name="keywords" content="Mappit, Geo-Information System, Mappit, Max-Planck-Institut f. Wissenschaftsgeschichte Berlin, MPI, Falk-Juri Knauft"> | |
2
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
12 </head> |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
13 <body> |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
14 <h2>List of schemas</h2> |
9 | 15 <tal:block tal:condition="python:layout=='select'"> |
4
e3ee1f358fe6
new version that doesn't use ZSQLExtend but the database connection more directly.
casties
parents:
2
diff
changeset
|
16 <select tal:attributes="id element_id"> |
45 | 17 <option tal:repeat="sch data/data" tal:content="sch"/> |
2
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
18 </select> |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
19 </tal:block> |
9 | 20 <tal:block tal:condition="python:layout=='table'"> |
4
e3ee1f358fe6
new version that doesn't use ZSQLExtend but the database connection more directly.
casties
parents:
2
diff
changeset
|
21 <table tal:attributes="id element_id"> |
45 | 22 <tr tal:repeat="row data/rows"> |
9 | 23 <td><a tal:define="sch python:row[0]" tal:attributes="href sch" tal:content="sch"/></td> |
2
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
24 </tr> |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
25 </table> |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
26 </tal:block> |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
27 </body> |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
28 </html> |