view gis_gui/blocks/table @ 63:7f008e782563

add gui files to product via FileSystemSite
author casties
date Fri, 05 Nov 2010 18:52:55 +0100
parents
children f97c3bdd9818
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 id="table_container" class="table_container" tal:attributes="table table">
      <!--  <tal:block tal:replace="structure here/dummy_table"/> -->
      <div id="table_wrapper">
        <table cellpadding="1" cellspacing="1" width="100%" class="datatable" id="dummy_table" border rules="all">
          <tr><td>table loading...</td></tr>
        </table>
      </div>
      <br/>
      <input type="button" value="create a map" onClick="addBlock('blocks/map?title=ChinaMap','')"/>
    </div>
 </tal:block>

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