Mercurial > hg > ChinaGisRestApi
diff zpt/HTML_schema.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 | ed8db63fab4f |
children |
line wrap: on
line diff
--- a/zpt/HTML_schema.zpt Tue Nov 23 12:54:22 2010 +0100 +++ b/zpt/HTML_schema.zpt Tue Nov 23 17:16:25 2010 +0100 @@ -1,4 +1,7 @@ -<html tal:define="layout python:request.get('layout','table'); element_id python:request.get('element_id',None); +<!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','table'); element_id python:request.get('element_id',None); schema options/schema; data python:here.getListOfTables(schema)"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8">