view zpt/JSONHTML_schema_table.zpt @ 70:9ec7e32e8ad3

working on maps nicer HTML (with xhtml DTD) better unicode handling for psycopg
author casties
date Tue, 23 Nov 2010 17:16:25 +0100
parents c6c47034d2a4
children
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
  tal:define="layout python:request.get('layout','pre'); element_id python:request.get('element_id',None)
    schema options/schema; table options/table; data python:here.getTable(schema=schema,table=table);">
  <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(data)"></pre>
  </body>
</html>