view gis_gui/blocks/template.pt @ 253:d6c7bedf4370

New reload button active in upper right corner of block
author fknauft
date Fri, 23 Sep 2011 13:11:46 +0200
parents fcb7876178d1
children 5b38b50052e4
line wrap: on
line source

<tal:block metal:define-macro="module" 
  tal:define="title python: request.get('title','');
  impermanent python: request.get('impermanent','true');">
  <div tal:attributes="class string:block $title">
    <!-- TitleBar --> 
    <div class="titlebar">
      <h1>  
         <tal:block metal:define-slot="title"></tal:block>
      </h1>
      <tal:block tal:condition="python:impermanent=='true'">
      	<div class="close_button"> x </div>
      	<!-- FJK: das soll ein Reload-Button werden -->
        <div class="reload_button" ><img src="./icons/reload.png" alt="Reload" style="width: 20px;"></div>
      </tal:block>
      <div class="type_icon"> <tal:block metal:define-slot="icon"></tal:block> </div>
    </div>
    
    <!-- Body -->
    <div class="body">
      <!-- Menu -->
      <div class="menu menubar">
        <tal:block metal:define-slot="menu"></tal:block>      
      </div>
      <!-- Content -->
      <div class="content">
         <tal:block metal:define-slot="content"></tal:block>
      </div>
      
    </div><!--/body -->
  </div><!--/segment-->
</tal:block>