Mercurial > hg > ChinaGisRestApi
diff zpt/JSONHTML_index.zpt @ 22:1a4b56716902
NEW - # 12: create table and upload data
https://it-dev.mpiwg-berlin.mpg.de/tracs/GIS/ticket/12
JSON data formats
author | casties |
---|---|
date | Thu, 19 Aug 2010 14:30:51 +0200 |
parents | |
children | ed8db63fab4f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/JSONHTML_index.zpt Thu Aug 19 14:30:51 2010 +0200 @@ -0,0 +1,9 @@ +<html tal:define="layout python:request.get('layout','pre'); element_id python:request.get('element_id',None)"> + <head> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <title tal:content="template/title">The title</title> + </head> + <body> + <pre tal:attributes="id element_id" tal:content="python:here.getJsonString(options['data'])"></pre> + </body> +</html> \ No newline at end of file