Changeset 6177 for main


Ignore:
Timestamp:
20 May 2011, 16:58:22 (14 years ago)
Author:
uli
Message:

Unchanged template, but w/o tabs(?) this time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultycontainermanagepage.pt

    r6167 r6177  
    11<h2 i18n:translate=""
    2 tal:condition="view/label"
    3 tal:content="view/label">Label</h2>
     2    tal:condition="view/label"
     3    tal:content="view/label">Label</h2>
    44
    55<div class="form-status"
    6 tal:define="status view/status"
    7 tal:condition="status">
     6     tal:define="status view/status"
     7     tal:condition="status">
    88
    9 <div i18n:translate="" tal:content="view/status">
    10   Form status summary
     9  <div i18n:translate="" tal:content="view/status">
     10    Form status summary
     11  </div>
     12
     13  <ul class="errors" tal:condition="view/errors">
     14    <li tal:repeat="error view/error_views">
     15      <span tal:replace="structure error">Error Type</span>
     16    </li>
     17  </ul>
    1118</div>
    12 
    13 <ul class="errors" tal:condition="view/errors">
    14   <li tal:repeat="error view/error_views">
    15      <span tal:replace="structure error">Error Type</span>
    16   </li>
    17 </ul>
    18 </div>
    19 
    2019
    2120<form action="." tal:attributes="action request/URL" method="POST"
    2221      class="edit-form" enctype="multipart/form-data">
    2322
    24 <div id="tabs">
    25 <ul>
    26   <li><a href="#tab-1"><span tal:content="view/subunits">Contents</span></a></li>
    27 </ul>
     23  <div id="tabs">
     24    <ul>
     25      <li><a href="#tab-1">
     26        <span tal:content="view/subunits">Contents</span>
     27      </a></li>
     28    </ul>
    2829
    29 <div id="tab-1">
    30   <h3 tal:content="view/subunits">Faculties</h3>
    31   <table class="zebra">
    32     <thead>
    33       <tr>
    34         <th>&nbsp;</th><th>Code</th><th>Title</th>
    35       </tr>
    36     </thead>
    37     <tbody>
    38       <tr tal:repeat="dep context/values">
    39         <td>
    40           <input type="checkbox"
    41                  name="val_id"
    42                  tal:attributes="value dep/code" />
    43         </td>
    44         <td>
    45           <a tal:attributes="href python: view.url(dep)"
    46              tal:content="dep/__name__">
    47                 ID
    48           </a>
    49         </td>
    50         <td>
    51           <span tal:content="dep/title">
    52            ID
     30    <div id="tab-1">
     31      <h3 tal:content="view/subunits">Faculties</h3>
     32      <table class="zebra">
     33        <thead>
     34          <tr>
     35            <th>&nbsp;</th><th>Code</th><th>Title</th>
     36          </tr>
     37        </thead>
     38        <tbody>
     39          <tr tal:repeat="dep context/values">
     40            <td>
     41              <input type="checkbox"
     42                     name="val_id"
     43                     tal:attributes="value dep/code" />
     44            </td>
     45            <td>
     46              <a tal:attributes="href python: view.url(dep)"
     47                 tal:content="dep/__name__">
     48                ID
     49              </a>
     50            </td>
     51            <td>
     52              <span tal:content="dep/title">
     53                ID
     54              </span>
     55            </td>
     56          </tr>
     57        </tbody>
     58      </table>
     59
     60      <div id="actionsView">
     61        <span class="actionButtons" tal:condition="view/availableActions">
     62          <span tal:repeat="action view/actions"
     63                tal:omit-tag="">
     64            <input tal:condition="python:action.label in view.taboneactions"
     65                   tal:replace="structure action/render"/>
    5366          </span>
    54         </td>
    55       </tr>
    56     </tbody>
    57   </table>
     67        </span>
     68      </div>
    5869
    59   <div id="actionsView">
    60     <span class="actionButtons" tal:condition="view/availableActions">
    61       <span tal:repeat="action view/actions"
    62             tal:omit-tag="">
    63         <input tal:condition="python:action.label in view.taboneactions"
    64                tal:replace="structure action/render"/>
    65       </span>
    66     </span>
     70    </div>
    6771  </div>
    68 
    69 </div>
    70 </div>
    7172</form>
Note: See TracChangeset for help on using the changeset viewer.