Mercurial > hg > ChinaGisRestApi
view gis_gui/blocks/table.html.pt @ 278:4ade9b80b563 default tip
more cleanup.
descriptions work better now.
author | casties |
---|---|
date | Fri, 24 Feb 2012 16:41:30 +0100 |
parents | d1b43624cc63 |
children |
line wrap: on
line source
<tal:block tal:define="table python:request.get('table',None);"> <tal:block metal:use-macro="here/template/macros/module"> <tal:block metal:fill-slot="icon"> T </tal:block> <tal:block metal:fill-slot="title"> Table <i tal:content="table">dummy data</i> </tal:block> <tal:block metal:fill-slot="menu"> <ul id="table_menu"> <li>View <ul><li>Show/Hide Column</li> </ul> </li> <li>Edit</li> </ul> </tal:block> <tal:block metal:fill-slot="content"> <a name="table_scroll"> </a> <div class="table_container"> <!-- <tal:block tal:replace="structure here/dummy_table"/> --> <div class="table_wrapper"> <table cellpadding="1" cellspacing="1" width="100%" class="datatable" rules="all"> <tr><td>table loading...</td></tr> </table> </div> <br/> <input type="button" value="Create map layer" class="" tal:attributes="onClick string:blocks.addLayerBlock('blocks/layer.html?table=$table','layer','${table}')"/> <br/> <input type="button" value="Open Map in Europeana4D" class="" tal:attributes="onClick string:blocks.e4DOpen('Europeana4D','${table}',jQuery('#from_year_name').val(),jQuery('#until_year_name').val())"/> from data (or date):<input type="text" id="from_year_name"> to date (if existing):<input type="text" id="until_year_name"> </div> </tal:block> </tal:block> </tal:block>