Ignore:
Timestamp:
29 Jan 2014, 11:23:13 (11 years ago)
Author:
Henrik Bettermann
Message:

Further adjustments of forms, tables and buttons in browser module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/departmentmanagepage.pt

    r10995 r10999  
    3232    <div id="tab2" class="tab-pane">
    3333      <br />
    34       <table class="display dataTableManage">
     34      <table class="dataTableManage">
    3535        <thead>
    3636          <tr>
     
    4444        </thead>
    4545        <tbody>
    46           <tr tal:repeat="entry view/getCourses" class="gradeC"> <td>
     46          <tr tal:repeat="entry view/getCourses"> <td>
    4747            <input type="checkbox" name="val_id"
    4848                   tal:attributes="value entry/name" /> </td> <td>
     
    6262    <div id="tab3" class="tab-pane">
    6363      <br />
    64       <table class="display dataTableManage">
     64      <table class="dataTableManage">
    6565        <thead>
    6666          <tr>
     
    7474        </thead>
    7575        <tbody>
    76           <tr tal:repeat="entry view/getCertificates" class="gradeC"> <td>
     76          <tr tal:repeat="entry view/getCertificates"> <td>
    7777            <input type="checkbox" name="val_id"
    7878                   tal:attributes="value entry/name" /> </td> <td>
     
    9191    </div>
    9292    <div id="tab4" class="tab-pane"> <br />
    93     <table class="display dataTableManage">
     93    <table class="dataTableManage">
    9494      <thead>
    9595        <tr>
     
    105105      </thead>
    106106      <tbody>
    107         <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC">
     107        <tr tal:repeat="entry view/getUsersWithLocalRoles">
    108108          <td> <input type="checkbox" name="role_id"
    109109          tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     
    114114      </tbody>
    115115    </table>
    116     <div tal:condition="view/availableActions">
    117       <span tal:repeat="action view/actions" tal:omit-tag="">
    118         <input tal:condition="python:action.label in view.tabfouractions1"
    119                tal:replace="structure action/render"/>
    120       </span>
     116      <div tal:condition="view/availableActions">
     117        <span tal:repeat="action view/actions" tal:omit-tag="">
     118          <input tal:condition="python:action.label in view.tabfouractions1"
     119                 tal:replace="structure action/render"/>
     120        </span>
    121121      </div> <br /><br />
    122       <table class="form-table">
    123         <tr> <td>
     122      <div class="form-inline">
     123        <br />
     124        <div class="form-group">
    124125          <select id="user" name="user">
    125             <option tal:attributes="value user/name" tal:repeat="user view/getUsers">
    126               <span tal:replace="user/val/title">USERTITLE
    127               </span>
     126            <option tal:repeat="user view/getUsers"
     127                    tal:attributes="value user/name">
     128            <span tal:replace="user/val/title">USERTITLE
     129            </span>
    128130            </option>
    129             </select> </td> <td>
    130             <select id="local_role" name="local_role">
    131               <option tal:attributes="value localrole/name"
    132                       tal:repeat="localrole view/getLocalRoles">
    133                 <span tal:replace="localrole/title">LOCALROLETITLE
    134                 </span>
    135               </option>
    136               </select> </td> <td>
    137               <div tal:condition="view/availableActions">
    138                 <span tal:repeat="action view/actions" tal:omit-tag="">
    139                   <input tal:condition="python:action.label in view.tabfouractions2"
    140                          tal:replace="structure action/render"/>
    141                 </span>
    142               </div>
    143             </td>
    144         </tr>
    145       </table>
     131          </select>
     132        </div>
     133        <div class="form-group">
     134          <select id="local_role" name="local_role">
     135            <option tal:repeat="localrole view/getLocalRoles"
     136                    tal:attributes="value localrole/name">
     137            <span tal:replace="localrole/title">LOCALROLETITLE
     138            </span>
     139            </option>
     140          </select>
     141        </div>
     142        <div class="form-group">
     143          <div tal:condition="view/availableActions">
     144            <span tal:repeat="action view/actions" tal:omit-tag="">
     145              <input tal:condition="python:action.label in view.tabfouractions2"
     146                     tal:replace="structure action/render"/>
     147            </span>
     148          </div>
     149        </div>
     150      </div>
    146151    </div>
    147152  </div>
Note: See TracChangeset for help on using the changeset viewer.