Mercurial > hg > documentViewer
diff zpt/viewer_main.zpt @ 24:2204e028811b
preliminary version 0.2
- lots of stuff rewritten
- new template system
- still no access control
author | casties |
---|---|
date | Thu, 06 Apr 2006 19:13:43 +0200 |
parents | |
children | 3ce65220672c |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/viewer_main.zpt Thu Apr 06 19:13:43 2006 +0200 @@ -0,0 +1,18 @@ +<html> +<head> +<link rel="stylesheet" href="template/docuviewer_css" type="text/css"> +</head> +<body tal:define="docinfo options/docinfo; pageinfo options/pageinfo"> +<div tal:replace="structure python:here.template.head_main(docinfo=docinfo)"/> +<table border="0" width="100%" height="100%"> + <tr> + <td width="300px" valign="top"> + <tal:block replace="structure python:here.template.thumbs_main(docinfo=docinfo,pageinfo=pageinfo)" /> + </td> + <td width="100%"> + <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo)" /> + </td> + </tr> +</table> +</body> +</html>