Mercurial > hg > ChinaGisRestApi
comparison zpt/JSONHTML_index.zpt @ 45:ed8db63fab4f
more refactoring of templates
author | casties |
---|---|
date | Thu, 02 Sep 2010 17:01:52 +0200 |
parents | 1a4b56716902 |
children | 9ec7e32e8ad3 |
comparison
equal
deleted
inserted
replaced
44:c6c47034d2a4 | 45:ed8db63fab4f |
---|---|
1 <html tal:define="layout python:request.get('layout','pre'); element_id python:request.get('element_id',None)"> | 1 <html tal:define="layout python:request.get('layout','pre'); element_id python:request.get('element_id',None); |
2 data here/getListOfSchemas"> | |
2 <head> | 3 <head> |
3 <meta http-equiv="content-type" content="text/html;charset=utf-8"> | 4 <meta http-equiv="content-type" content="text/html;charset=utf-8"> |
4 <title tal:content="template/title">The title</title> | 5 <title tal:content="template/title">The title</title> |
5 </head> | 6 </head> |
6 <body> | 7 <body> |
7 <pre tal:attributes="id element_id" tal:content="python:here.getJsonString(options['data'])"></pre> | 8 <pre tal:attributes="id element_id" tal:content="python:here.getJsonString(data)"></pre> |
8 </body> | 9 </body> |
9 </html> | 10 </html> |