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/departmentmanagepage.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"  tal:condition="status"> Form Status:
    33  <span i18n:translate="" tal:content="view/status"> Form status summary
    44  </span>
    55</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">Courses</a>
    16       </li>
    17       <li>
    18       <a href="#tab-3">Certificates</a>
    19       </li>
    20       <li>
    21       <a href="#tab-4">Local Roles</a>
    22       </li>
    23     </ul>
    24     <div id="tab-1">
    25       <table class="zebra">
     6<form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data">
     7  <ul class="tabs" data-tabs="tabs">
     8    <li class="active">
     9    <a href="#tab-1">
     10      <span>Settings
     11      </span></a>
     12    </li>
     13    <li>
     14    <a href="#tab-2">Courses</a>
     15    </li>
     16    <li>
     17    <a href="#tab-3">Certificates</a>
     18    </li>
     19    <li>
     20    <a href="#tab-4">Local Roles</a>
     21    </li>
     22  </ul>
     23  <div class="tab-content">
     24    <div id="tab-1" class="active">
     25      <table class="form-table">
    2626        <tbody>
    2727          <tal:block repeat="widget view/widgets">
    2828            <tr>
    29               <td class="label">
     29              <td>
    3030                <label tal:attributes="for widget/name">
    31                   <span class="required" tal:condition="widget/required">*
     31                  <span tal:condition="widget/required">*
    3232                  </span>
    3333                  <span i18n:translate="" tal:content="widget/label">label
    3434                  </span>:
    3535                </label> </td>
    36               <td class="field">
    37                 <span class="widget" tal:content="structure widget">
     36              <td>
     37                <span tal:content="structure widget">
    3838                  <input type="text" />
    3939                </span>
     
    4343                </tal:error>
    4444                <tal:hint tal:condition="widget/hint">
    45                   <span class="hint" tal:content="structure widget/hint">hint
     45                  <span tal:content="structure widget/hint">hint
    4646                  </span>
    4747                </tal:hint> </td>
     
    5050        </tbody>
    5151      </table>
    52       <div class="actionButtons" tal:condition="view/availableActions">
     52      <div tal:condition="view/availableActions">
    5353        <span tal:repeat="action view/actions" tal:omit-tag="">
    5454          <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/>
     
    6969        </thead>
    7070        <tbody>
    71           <tr tal:repeat="entry view/getCourses" class="gradeB"> <td>
     71          <tr tal:repeat="entry view/getCourses" class="gradeC"> <td>
    7272              <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td>
    7373              <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td>
     
    7676        </tbody>
    7777      </table>
    78       <div class="actionButtons" tal:condition="view/availableActions">
     78      <div tal:condition="view/availableActions">
    7979        <span tal:repeat="action view/actions" tal:omit-tag="">
    8080          <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/>
     
    9595        </thead>
    9696        <tbody>
    97           <tr tal:repeat="entry view/getCertificates" class="gradeB"> <td>
     97          <tr tal:repeat="entry view/getCertificates" class="gradeC"> <td>
    9898              <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td>
    9999              <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td>
     
    102102        </tbody>
    103103      </table>
    104       <div class="actionButtons" tal:condition="view/availableActions">
     104      <div tal:condition="view/availableActions">
    105105        <span tal:repeat="action view/actions" tal:omit-tag="">
    106106          <input tal:condition="python:action.label in view.tabthreeactions" tal:replace="structure action/render"/>
     
    123123        </thead>
    124124        <tbody>
    125           <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td>
     125          <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>
    126126              <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    127127            <td tal:content="entry/user_name"> USERNAME </td>
     
    131131        </tbody>
    132132      </table>
    133       <div class="actionButtons" tal:condition="view/availableActions">
     133      <div tal:condition="view/availableActions">
    134134        <span tal:repeat="action view/actions" tal:omit-tag="">
    135135          <input tal:condition="python:action.label in view.tabfouractions1" tal:replace="structure action/render"/>
    136136        </span>
    137137      </div> <br /><br />
    138       <table class="zebra">
     138      <table class="form-table">
    139139        <tr> <td>
    140140            <select id="user" name="user">
Note: See TracChangeset for help on using the changeset viewer.