view gis_gui/blocks/table.html.pt @ 252:efd2469d1722

geometry-column of tables will be displayed as string
author fknauft
date Tue, 20 Sep 2011 11:19:35 +0200
parents 7f008e782563
children 3a10287447b1
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}')"/>
    </div>
 </tal:block>

</tal:block>
</tal:block>