Ignore:
Timestamp:
9 Jan 2012, 15:55:34 (13 years ago)
Author:
Henrik Bettermann
Message:

Backup local changes in Bootstrap branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/facultymanagepage.pt

    r7213 r7443  
    11<h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2>
    2 <div class="form-status" tal:define="status view/status" tal:condition="status"> Form Status:
     2<div class="alert-message error" tal:define="status view/status"
     3     tal:condition="status"> Form Status:
    34  <span i18n:translate="" tal:content="view/status"> Form status summary
    45  </span>
    56</div>
    6 <form action="." tal:attributes="action request/URL" method="POST" class="edit-form" enctype="multipart/form-data">
    7   <div id="tabs">
    8     <ul>
    9       <li>
    10       <a href="#tab-1">
    11         <span>Settings
    12         </span></a>
    13       </li>
    14       <li>
    15       <a href="#tab-2">
    16         <span tal:content="view/subunits">Contents
    17         </span> </a>
    18       </li>
    19       <li>
    20       <a href="#tab-3">
    21         <span>Local Roles
    22         </span></a>
    23       </li>
    24     </ul>
    25     <div id="tab-1">
    26       <table class="zebra">
     7<form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data">
     8  <ul class="tabs" data-tabs="tabs">
     9    <li class="active">
     10    <a href="#tab-1">
     11      <span>Settings
     12      </span></a>
     13    </li>
     14    <li>
     15    <a href="#tab-2">
     16      <span tal:content="view/subunits">Contents
     17      </span> </a>
     18    </li>
     19    <li>
     20    <a href="#tab-3">
     21      <span>Local Roles
     22      </span></a>
     23    </li>
     24  </ul>
     25  <div class="tab-content">
     26    <div id="tab-1" class="active">
     27      <table class="form-table">
    2728        <tbody>
    2829          <tal:block repeat="widget view/widgets">
    2930            <tr>
    30               <td class="label">
     31              <td>
    3132                <label tal:attributes="for widget/name">
    32                   <span class="required" tal:condition="widget/required">*
     33                  <span tal:condition="widget/required">*
    3334                  </span>
    3435                  <span i18n:translate="" tal:content="widget/label">label
    3536                  </span>:
    3637                </label> </td>
    37               <td class="field">
    38                 <span class="widget" tal:content="structure widget">
     38              <td>
     39                <span tal:content="structure widget">
    3940                  <input type="text" />
    4041                </span>
     
    4445                </tal:error>
    4546                <tal:hint tal:condition="widget/hint">
    46                   <span class="hint" tal:content="structure widget/hint">hint
     47                  <span tal:content="structure widget/hint">hint
    4748                  </span>
    4849                </tal:hint> </td>
     
    5152        </tbody>
    5253      </table>
    53       <div class="actionButtons" tal:condition="view/availableActions">
     54      <div tal:condition="view/availableActions">
    5455        <span tal:repeat="action view/actions" tal:omit-tag="">
    55           <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/>
     56          <input tal:condition="python:action.label in view.taboneactions"
     57                 tal:replace="structure action/render"/>
    5658        </span>
    5759      </div>
     
    5961    <div id="tab-2">
    6062      <h3 tal:content="view/subunits">Departments</h3>
    61       <table class="zebra">
     63      <table>
    6264        <thead>
    6365          <tr>
     
    7274        <tbody>
    7375          <tr tal:repeat="dep context/values"> <td>
    74               <input type="checkbox" name="val_id" tal:attributes="value dep/code" /> </td> <td>
    75               <a tal:attributes="href python: view.url(dep)" tal:content="dep/__name__"> ID</a> </td> <td>
     76              <input type="checkbox" name="val_id"
     77                     tal:attributes="value dep/code" /> </td> <td>
     78              <a tal:attributes="href python: view.url(dep)"
     79                 tal:content="dep/__name__"> ID</a> </td> <td>
    7680              <span tal:content="dep/title">ID
    7781              </span> </td>
     
    7983        </tbody>
    8084      </table>
    81       <div class="actionButtons" tal:condition="view/availableActions">
     85      <div tal:condition="view/availableActions">
    8286        <span tal:repeat="action view/actions" tal:omit-tag="">
    83           <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/>
     87          <input tal:condition="python:action.label in view.tabtwoactions"
     88                 tal:replace="structure action/render"/>
    8489        </span>
    8590      </div>
     
    100105        </thead>
    101106        <tbody>
    102           <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td>
    103               <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     107          <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>
     108              <input type="checkbox" name="role_id"
     109              tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    104110            <td tal:content="entry/user_name"> USERNAME </td>
    105111            <td tal:content="entry/user_title"> USERTITLE </td>
     
    108114        </tbody>
    109115      </table>
    110       <div class="actionButtons" tal:condition="view/availableActions">
     116      <div tal:condition="view/availableActions">
    111117        <span tal:repeat="action view/actions" tal:omit-tag="">
    112           <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/>
     118          <input tal:condition="python:action.label in view.tabthreeactions1"
     119                 tal:replace="structure action/render"/>
    113120        </span>
    114121      </div><br /><br />
    115       <table class="zebra">
     122      <table class="form-table">
    116123        <tr> <td>
    117124            <select id="user" name="user">
     
    122129            </select> </td> <td>
    123130            <select id="local_role" name="local_role">
    124               <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name">
     131              <option tal:repeat="localrole view/getLocalRoles"
     132                      tal:attributes="value localrole/name">
    125133              <span tal:replace="localrole/title">LOCALROLETITLE
    126134              </span>
     
    129137            <div tal:condition="view/availableActions">
    130138              <span tal:repeat="action view/actions" tal:omit-tag="">
    131                 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/>
     139                <input tal:condition="python:action.label in view.tabthreeactions2"
     140                       tal:replace="structure action/render"/>
    132141              </span>
    133142            </div> </td>
Note: See TracChangeset for help on using the changeset viewer.