![]() ![]() | ![]() |
updated overview code to use templates and new ECHO_layout_template type
1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2: <html metal:define-macro="page"> 3: <head metal:define-slot="head"> 4: <title metal:define-slot="title">ECHO Overview</title> 5: <meta http-equiv="content-type" content="text/html; charset=utf-8"> 6: <tal:block metal:define-slot="script"> 7: <script tal:replace="structure here/createMapHead"/> 8: </tal:block> 9: </head> 10: 11: <body metal:define-slot="body" onload="map_init()"> 12: <tal:block metal:define-slot="page_head"/> 13: <table> 14: <tr> 15: <td> 16: <tal:block metal:define-slot="link_head"/> 17: <!-- link block --> 18: <tal:block tal:repeat="ob here/getAllMapAreas"> 19: <a tal:replace="structure python:here.createMapLink(ob)"/><br/> 20: </tal:block> 21: <!-- end of link block --> 22: </td> 23: <td valign="top"> 24: <div tal:replace="structure python:here.createMapImg()"/> 25: </td> 26: </tr> 27: </table> 28: <tal:block metal:define-slot="page_foot"/> 29: <!-- auxiliary image block --> 30: <tal:block tal:repeat="ob here/getAllMapAreas"> 31: <a tal:replace="structure python:here.createMapAux(ob)"/> 32: </tal:block> 33: <!-- end of auxiliary image block --> 34: </body> 35: </html>