view zpt/HTML_index.zpt @ 222:b636b0417aab

implement Google Search
author fknauft
date Fri, 01 Apr 2011 10:53:06 +0200
parents 9ec7e32e8ad3
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','table'); element_id python:request.get('element_id',None);
  data here/getListOfSchemas">
  <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
<!--    <title tal:content="template/title">The title</title> -->
    <title>Mappit, Map Places in Time, Mappit by MPI for the History of Scinces</title>
    <meta name="description" content="Mappit, Web-GIS, Mappit developed by F.-J. Knauft, Max-Planck-Institut">
    <meta name="keywords" content="Mappit, Geo-Information System, Mappit, Max-Planck-Institut f. Wissenschaftsgeschichte Berlin, MPI, Falk-Juri Knauft">
  </head>
  <body>
    <h2>List of schemas</h2>
    <tal:block tal:condition="python:layout=='select'">
    <select tal:attributes="id element_id">
      <option tal:repeat="sch data/data" tal:content="sch"/>
    </select>
    </tal:block>
    <tal:block tal:condition="python:layout=='table'">
    <table tal:attributes="id element_id">
      <tr tal:repeat="row data/rows">
        <td><a tal:define="sch python:row[0]" tal:attributes="href sch" tal:content="sch"/></td>
      </tr>
    </table>
    </tal:block>
  </body>
</html>