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

Backup local changes in Bootstrap branch.

Location:
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser
Files:
1 added
30 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/resources.py

    r7442 r7443  
    140140toggleall = ResourceInclusion(waeup_sirp, 'toggleall.js')
    141141
    142 #: A resource that binds jQueryUI tabs to <div> tags with class
     142#: A resource that binds Bootstrap tabs to <div> tags with class
    143143#: ``tabs``.
    144144#:
    145 #: If you want jQuery tabs for some <div>s in your page then you
     145#: If you want Bootstrap tabs in your page then you
    146146#: have to perform two steps:
    147147#:
     
    159159#:   into the HTML page generated.
    160160#:
    161 #: * In your HTML code add some ``<div>`` tag with ``class`` set to
    162 #:   ``tabs``, like this:
     161#: * In your HTML code add some tags with like this:
    163162#:
    164163#:    .. code-block:: html
    165 #:
    166 #:      <div id="tabs">
    167 #:        <ul>
    168 #:          <li><a href="#tab-1"><span>Tab 1 Heading</span></a></li>
    169 #:          <li><a href="#tab-2"><span>Tab 2 Heading</span></a></li>
    170 #:        </ul>
    171 #:        <div id="tab-1">
    172 #:          Content of tab 1
    173 #:        </div>
    174 #:        <div id="tab-2">
    175 #:          Content of tab 2
    176 #:        </div>
    177 #:      </div>
     164
     165#:     <ul class="tabs" data-tabs="tabs" >
     166#:       <li class="active"><a href="#tab-1">Tab 1 Heading</a></li>
     167#:       <li><a href="#tab-2">Tab 2 Heading</a></li>
     168#:       <li><a href="#tab-3">Tab 3 Heading</a></li>
     169#:     </ul>
     170
     171#:     <div class="tab-content">
     172#:       <div id="tab-1" class="active">...</div>
     173#:       <div id="tab-2">...</div>
     174#:       <div id="tab-3">...</div>
     175#:     </div>
    178176#:
    179177#: When the HTML is rendered, clicking into one of the tabs will make
    180178#: other <div>s disappear. See
    181179#:
    182 #:   http://jqueryui.com/demos/tabs/
     180#:   http://twitter.github.com/bootstrap/javascript.html#tabs
    183181#:
    184182#: for details.
    185183#:
    186 tabs = ResourceInclusion(waeup_sirp, 'tabs.js',
    187                          depends=[jquery, jqueryui])
     184tabs = ResourceInclusion(waeup_sirp, 'bootstrap-tabs.js',
     185                          depends=[jquery])
     186
    188187
    189188#: Resource that makes datatables for jQuery UI available.
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/static/waeup-base.css

    r7442 r7443  
    44'waeuptheme-<SOME-NAME>.css' and include a utility and a resource in theming.py
    55and resources.py respectively. */
     6
     7body {
     8  padding-top: 60px;
     9}
     10
     11h2 {
     12  margin-bottom: 12px;
     13}
     14
     15label {
     16  padding-top: 0px;
     17}
     18
     19.breadcrumb {
     20  margin-left: 20px;
     21  margin-right: 20px;
     22  min-width: 940px;
     23}
     24
     25.form-table td {
     26  padding: 5px 5px 4px;
     27  border-top: none;
     28}
     29
     30.error {
     31  color: red;
     32}
     33
     34
     35 /* dataTables stuff */
     36
     37.dataTables_wrapper {
     38  min-height: 150px;
     39}
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/certificatecoursepage.pt

    r6008 r7443  
    11<h2 tal:content="context/longtitle">TITLE</h2>
    22
    3 <table class="zebra">
     3<table class="form-table">
    44  <thead>
    55  </thead>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/certificatemanagepage.pt

    r7335 r7443  
    33tal:content="view/label">Label</h2>
    44
    5 <div class="form-status"
     5<div class="alert-message error"
    66    tal:define="status view/status"
    77    tal:condition="status">
     
    1313
    1414<form action="." tal:attributes="action request/URL" method="POST"
    15       class="edit-form" enctype="multipart/form-data">
     15      enctype="multipart/form-data">
    1616
    17 <div id="tabs">
    18   <ul>
    19     <li><a href="#tab-1"><span>Settings</span></a></li>
     17  <ul class="tabs" data-tabs="tabs">
     18    <li class="active"><a href="#tab-1"><span>Settings</span></a></li>
    2019    <li><a href="#tab-2"><span>Course Referrers</span></a></li>
    2120    <li><a href="#tab-3"><span>Local Roles</span></a></li>
    2221  </ul>
    2322   
    24   <div id="tab-1">
    25         <table class="zebra">
     23  <div class="tab-content">
     24    <div id="tab-1" class="active">
     25          <table class="form-table">
     26          <tbody>
     27          <tal:block repeat="widget view/widgets">
     28            <tr>
     29              <td>
     30                <label tal:attributes="for widget/name">
     31                  <span tal:condition="widget/required">*</span>
     32                  <span i18n:translate="" tal:content="widget/label">label</span>:
     33                </label>
     34              </td>
     35              <td>
     36                <span tal:content="structure widget">
     37                  <input type="text" />
     38                </span>
     39                <tal:error tal:condition="widget/error">
     40                  <span tal:replace="structure widget/error">error</span>
     41                </tal:error>
     42                <tal:hint tal:condition="widget/hint">
     43                  <span tal:content="structure widget/hint">hint</span>
     44                </tal:hint>
     45              </td>
     46            </tr>
     47          </tal:block>
     48          </tbody>
     49          </table>
     50          <div tal:condition="view/availableActions">
     51            <span tal:repeat="action view/actions"
     52                  tal:omit-tag="">
     53              <input tal:condition="python:action.label in view.taboneactions"
     54                     tal:replace="structure action/render"/>
     55            </span>
     56          </div>
     57    </div>
     58    <div id="tab-2">
     59      <h3>Course Referrers</h3>
     60      <table class="display dataTableManage">
     61        <thead>
     62          <tr>
     63            <th>&nbsp;</th><th>Level</th><th>Semester</th><th>Referrer</th><th>Course</th><th>Title</th>
     64            <th>Mandatory</th>
     65          </tr>
     66        </thead>
    2667        <tbody>
    27         <tal:block repeat="widget view/widgets">
    28           <tr>
    29             <td class="label">
    30               <label tal:attributes="for widget/name">
    31                 <span class="required" tal:condition="widget/required">*</span>
    32                 <span i18n:translate="" tal:content="widget/label">label</span>:
    33               </label>
     68          <tr tal:repeat="cc context/values">
     69             <td>
     70              <input type="checkbox"
     71                         name="val_id"
     72                         tal:attributes="value cc/__name__" />
    3473            </td>
    35             <td class="field">
    36               <span class="widget" tal:content="structure widget">
    37                 <input type="text" />
     74             <td>
     75              <span tal:content="cc/level">
     76                   LEVEL
    3877              </span>
    39               <tal:error tal:condition="widget/error">
    40                 <span tal:replace="structure widget/error">error</span>
    41               </tal:error>
    42               <tal:hint tal:condition="widget/hint">
    43                 <span class="hint" tal:content="structure widget/hint">hint</span>
    44               </tal:hint>
     78            </td>
     79            <td tal:content="cc/course/semester">SEMESTER</td>
     80            <td>
     81              <a tal:attributes="href python: view.url(cc)"
     82                     tal:content="cc/__name__">
     83                REFERRER CODE
     84              </a>
     85            </td>
     86            <td>
     87              <a tal:attributes="href python:view.url(cc.course)"
     88                     tal:content="cc/course/code">
     89                COURSE CODE
     90              </a>
     91            </td>
     92            <td>
     93              <span tal:content="cc/course/title">
     94                   COURSE TITLE
     95              </span>
     96            </td>
     97            <td>
     98              <span tal:content="cc/core_or_elective">
     99                   MANDATORY
     100              </span>
    45101            </td>
    46102          </tr>
    47         </tal:block>
    48103        </tbody>
    49         </table>
    50         <div class="actionButtons" tal:condition="view/availableActions">
    51           <span tal:repeat="action view/actions"
    52                 tal:omit-tag="">
    53             <input tal:condition="python:action.label in view.taboneactions"
    54                    tal:replace="structure action/render"/>
    55           </span>
    56         </div>
    57   </div>
    58   <div id="tab-2">
    59     <h3>Course Referrers</h3>
    60     <table class="display dataTableManage">
    61       <thead>
    62         <tr>
    63           <th>&nbsp;</th><th>Level</th><th>Semester</th><th>Referrer</th><th>Course</th><th>Title</th>
    64           <th>Mandatory</th>
     104      </table>
     105      <div tal:condition="view/availableActions">
     106        <span tal:repeat="action view/actions"
     107              tal:omit-tag="">
     108          <input tal:condition="python:action.label in view.tabtwoactions"
     109                 tal:replace="structure action/render"/>
     110        </span>
     111      </div>
     112    </div>
     113    <div id="tab-3"> <br />
     114      <table class="display dataTableManage">
     115        <thead>
     116          <tr>
     117            <th>&nbsp;
     118            </th>
     119            <th>User Id
     120            </th>
     121            <th>Name
     122            </th>
     123            <th>Local Role
     124            </th>
     125          </tr>
     126        </thead>
     127        <tbody>
     128          <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>
     129              <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     130            <td tal:content="entry/user_name"> USERNAME </td>
     131            <td tal:content="entry/user_title"> USERTITLE </td>
     132            <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
     133          </tr>
     134        </tbody>
     135      </table>
     136      <div tal:condition="view/availableActions">
     137        <span tal:repeat="action view/actions" tal:omit-tag="">
     138          <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/>
     139        </span>
     140      </div><br /><br />
     141      <table class="form-table">
     142        <tr> <td>
     143            <select id="user" name="user">
     144              <option tal:repeat="user view/getUsers" tal:attributes="value user/name">
     145              <span tal:replace="user/val/title">USERTITLE
     146              </span>
     147              </option>
     148            </select> </td> <td>
     149            <select id="local_role" name="local_role">
     150              <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name">
     151              <span tal:replace="localrole/title">LOCALROLETITLE
     152              </span>
     153              </option>
     154            </select> </td> <td>
     155            <div tal:condition="view/availableActions">
     156              <span tal:repeat="action view/actions" tal:omit-tag="">
     157                <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/>
     158              </span>
     159            </div> </td>
    65160        </tr>
    66       </thead>
    67       <tbody>
    68         <tr tal:repeat="cc context/values">
    69            <td>
    70             <input type="checkbox"
    71                  name="val_id"
    72                  tal:attributes="value cc/__name__" />
    73           </td>
    74            <td>
    75             <span tal:content="cc/level">
    76            LEVEL
    77             </span>
    78           </td>
    79           <td tal:content="cc/course/semester">SEMESTER</td>
    80           <td>
    81             <a tal:attributes="href python: view.url(cc)"
    82              tal:content="cc/__name__">
    83                 REFERRER CODE
    84             </a>
    85           </td>
    86           <td>
    87             <a tal:attributes="href python:view.url(cc.course)"
    88              tal:content="cc/course/code">
    89                 COURSE CODE
    90             </a>
    91           </td>
    92           <td>
    93             <span tal:content="cc/course/title">
    94            COURSE TITLE
    95             </span>
    96           </td>
    97           <td>
    98             <span tal:content="cc/core_or_elective">
    99            MANDATORY
    100             </span>
    101           </td>
    102         </tr>
    103       </tbody>
    104     </table>
    105     <div class="actionButtons" tal:condition="view/availableActions">
    106       <span tal:repeat="action view/actions"
    107             tal:omit-tag="">
    108         <input tal:condition="python:action.label in view.tabtwoactions"
    109                tal:replace="structure action/render"/>
    110       </span>
     161      </table>
    111162    </div>
    112163  </div>
    113   <div id="tab-3"> <br />
    114     <table class="display dataTableManage">
    115       <thead>
    116         <tr>
    117           <th>&nbsp;
    118           </th>
    119           <th>User Id
    120           </th>
    121           <th>Name
    122           </th>
    123           <th>Local Role
    124           </th>
    125         </tr>
    126       </thead>
    127       <tbody>
    128         <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td>
    129             <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    130           <td tal:content="entry/user_name"> USERNAME </td>
    131           <td tal:content="entry/user_title"> USERTITLE </td>
    132           <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
    133         </tr>
    134       </tbody>
    135     </table>
    136     <div class="actionButtons" tal:condition="view/availableActions">
    137       <span tal:repeat="action view/actions" tal:omit-tag="">
    138         <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/>
    139       </span>
    140     </div><br /><br />
    141     <table class="zebra">
    142       <tr> <td>
    143           <select id="user" name="user">
    144             <option tal:repeat="user view/getUsers" tal:attributes="value user/name">
    145             <span tal:replace="user/val/title">USERTITLE
    146             </span>
    147             </option>
    148           </select> </td> <td>
    149           <select id="local_role" name="local_role">
    150             <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name">
    151             <span tal:replace="localrole/title">LOCALROLETITLE
    152             </span>
    153             </option>
    154           </select> </td> <td>
    155           <div tal:condition="view/availableActions">
    156             <span tal:repeat="action view/actions" tal:omit-tag="">
    157               <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/>
    158             </span>
    159           </div> </td>
    160       </tr>
    161     </table>
    162   </div>
    163 </div>
    164164</form> 
    165165
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/certificatepage.pt

    r6344 r7443  
    11<h2 tal:content="context/longtitle">TITLE</h2>
    22
    3 <table class="zebra">
     3<table class="form-table">
    44<thead>
    55</thead> 
     
    1313        </label>
    1414      </td>
    15       <td class="field" tal:on-error="default">
    16         <div class="widget" tal:content="structure widget">
     15      <td tal:on-error="default">
     16        <div tal:content="structure widget">
    1717          <input type="text" />
    1818        </div>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/configurationmanagepage.pt

    r6916 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>
     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">
    109      <a href="#tab-1">
    1110        <span>Site Settings
     
    1615      </li>
    1716    </ul>
    18     <div id="tab-1">
    19       <table class="zebra">
     17    <div class="tab-content">
     18    <div id="tab-1" class="active">
     19      <table class="form-table">
    2020        <tbody>
    2121          <tal:block repeat="widget view/widgets">
    2222            <tr>
    23               <td class="label">
     23              <td>
    2424                <label tal:attributes="for widget/name">
    25                   <span class="required" tal:condition="widget/required">*
     25                  <span tal:condition="widget/required">*
    2626                  </span>
    2727                  <span i18n:translate="" tal:content="widget/label">label
    2828                  </span>:
    2929                </label> </td>
    30               <td class="field">
    31                 <span class="widget" tal:content="structure widget">
     30              <td>
     31                <span tal:content="structure widget">
    3232                  <input type="text" />
    3333                </span>
     
    3737                </tal:error>
    3838                <tal:hint tal:condition="widget/hint">
    39                   <span class="hint" tal:content="structure widget/hint">hint
     39                  <span tal:content="structure widget/hint">hint
    4040                  </span>
    4141                </tal:hint> </td>
     
    4444        </tbody>
    4545      </table>
    46       <div class="actionButtons" tal:condition="view/availableActions">
     46      <div tal:condition="view/availableActions">
    4747        <span tal:repeat="action view/actions" tal:omit-tag="">
    4848          <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/>
     
    6161        </thead>
    6262        <tbody>
    63           <tr tal:repeat="entry view/getSessionConfigurations" class="gradeB"> <td>
     63          <tr tal:repeat="entry view/getSessionConfigurations" class="gradeC"> <td>
    6464              <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td>
    6565              <a href="" tal:attributes="href entry/url" tal:content="entry/title">Name</a> </td>
     
    6767        </tbody>
    6868      </table>
    69       <div class="actionButtons" tal:condition="view/availableActions">
     69      <div tal:condition="view/availableActions">
    7070        <span tal:repeat="action view/actions" tal:omit-tag="">
    7171          <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/contactform.pt

    r7227 r7443  
    11<form action="." tal:attributes="action request/URL" method="post"
    2       class="edit-form" enctype="multipart/form-data">
     2      enctype="multipart/form-data">
    33
    44  <h2 i18n:translate=""
     
    66    tal:content="view/label">Label</h2>
    77
    8   <div class="form-status"
     8  <div class="alert-message error"
    99      tal:define="status view/status"
    1010      tal:condition="status">
     
    2121         tal:content="widget/label">Label
    2222    </div>
    23     <div class="widget" tal:content="structure widget">
     23    <div tal:content="structure widget">
    2424      Textbody
    2525    </div>
     
    2727  </tal:block>
    2828
    29   <div class="actionButtons" tal:condition="view/availableActions">
     29  <div tal:condition="view/availableActions">
    3030    <input tal:repeat="action view/actions"
    3131           tal:replace="structure action/render"
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/coursepage.pt

    r5946 r7443  
    11<h2 tal:content="context/title">TITLE</h2>
    22
    3 <table class="listing">
     3<table class="form-table">
    44  <thead>
    55  </thead>
    66  <tbody>
    7     <tr class="odd">
     7    <tr>
    88      <td>Code:</td>
    99      <td tal:content="context/__name__">CODE</td>
    1010    </tr> 
    11     <tr class="even">
     11    <tr>
    1212      <td>Title:</td>
    1313      <td tal:content="context/title">THE TITLE</td>
    1414    </tr>
    15     <tr class="odd">
     15    <tr>
    1616      <td>Credits:</td>
    1717      <td tal:content="context/credits">CREDITS</td>
    1818    </tr>
    19     <tr class="even">
     19    <tr>
    2020      <td>Passmark:</td>
    2121      <td tal:content="context/passmark">PASSMARK</td>
    2222    </tr>
    23     <tr class="odd">
     23    <tr>
    2424      <td>Semester/Term:</td>
    2525      <td tal:content="context/semester">SEMESTER</td>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport1page.pt

    r6908 r7443  
    1919      tal:attributes="class python: repeat['file'].odd() and 'odd' or ''">
    2020        <td>
    21           <button type="submit" name="select"
     21          <button type="submit" name="select" class="btn"
    2222            tal:attributes="value file/name">Select</button>
    2323        </td>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport2page.pt

    r6908 r7443  
    1313  </p>
    1414  <div>
    15     <table class = "zebra"
     15    <table
    1616           tal:define="body view/getPreviewBody;
    1717                        headers view/getPreviewHeader;
     
    1919      <thead>
    2020        <tr>
    21           <th style="border: 1px solid #888;"
    22               tal:repeat="headerfield headers"
     21          <th tal:repeat="headerfield headers"
    2322              tal:content="headerfield"> headerfield
    2423          </th>
     
    2827        <tr tal:repeat="row body">
    2928          <td tal:repeat="value row"
    30               tal:content="value"
    31               style="border: 1px solid #000;"> value
     29              tal:content="value"> value
    3230          </td>
    3331        </tr>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport3page.pt

    r6908 r7443  
     1<div class="alert-message success" tal:condition="not: view/getWarnings">
     2  Header fields OK
     3</div>
     4
    15<h2 i18n:translate=""
    26tal:condition="view/label"
     
    2529     tal:attributes="value view/mode" />
    2630  </p>
    27   <div class="alert notice ui-state-info" tal:condition="not: view/getWarnings">
    28     <span class="ui-icon ui-icon-info">A</span>
    29     Header fields OK
    30   </div>
     31
    3132  <div>
    32     <table class = "zebra"
     33    <table class="condensed-table"
    3334     tal:define="body view/getPreviewBody;
    3435           headers view/headerfields;
     
    3637      <thead>
    3738        <tr>
    38           <th style="border: 1px solid #888;"
    39               tal:repeat="headerfield headers"
     39          <th tal:repeat="headerfield headers"
    4040              tal:content="headerfield">
    4141            headerfield
     
    4343        </tr>
    4444        <tr>
    45           <th style="border: 1px solid #888; text-align=center;"
    46               tal:repeat="headerfield headers">
     45          <th tal:repeat="headerfield headers">
    4746            <i>change to:</i>
    4847          </th>
    4948        </tr>
    5049        <tr>
    51           <th style="border: 1px solid #888;"
    52               tal:repeat="headerfield headers">
     50          <th tal:repeat="headerfield headers">
    5351            <select name="headerfield">
    5452              <option tal:repeat="opt view/getPossibleHeaders"
     
    6563        <tr tal:repeat="row body">
    6664          <td tal:repeat="value row"
    67               tal:content="value"
    68               style="border: 1px solid #000;">
     65              tal:content="value">
    6966            value
    7067          </td>
     
    7774  <input type="reset" name="reset" value="Reset" />
    7875  <input type="submit" name="update" value="Set headerfields" />
    79   <br />
     76  <br /><br />
    8077  <input type="submit" name="back2" value="Back to step 2" />
    8178  <input tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterlogspage.pt

    r6909 r7443  
    1 <h2 i18n:translate=""
    2 tal:condition="view/label"
    3 tal:content="view/label">Label</h2>
    4 
     1<h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2>
    52<div tal:define="files view/files">
    6   <p tal:condition="not: files">
    7     Currently no log files are available.
     3  <p tal:condition="not: files">Currently no log files are available.
    84  </p>
    9   <table tal:condition="files">
     5  <table tal:condition="files" class="condensed-table">
    106    <thead>
    117      <tr>
    12   <th></th><th>File</th><th>Date</th><th>Size</th>
     8        <th>
     9        </th>
     10        <th>File
     11        </th>
     12        <th>Date
     13        </th>
     14        <th>Size
     15        </th>
    1316      </tr>
    1417    </thead>
    1518    <tbody>
    16       <tr tal:repeat="file files"
    17     tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'">
    18   <td class="text-center">
    19     <form method="POST">
    20       <input type="submit" name="show" value="Show" />
    21       <input type="hidden" name="logname"
    22        tal:attributes="value file/name" />
    23     </form>
    24   </td>
    25   <td tal:content="file/name">file.name</td>
    26   <td tal:content="file/uploaddate">Fri Jan 15 17:44:25 2010</td>
    27   <td tal:content="file/getSize">12 bytes</td>
     19      <tr tal:repeat="file files" tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'">
     20        <td class="text-center">
     21          <form method="POST">
     22            <input type="submit" class="btn" name="show" value="Show" />
     23            <input type="hidden" name="logname" tal:attributes="value file/name" />
     24          </form></td>
     25        <td tal:content="file/name">file.name</td>
     26        <td tal:content="file/uploaddate">Fri Jan 15 17:44:25 2010</td>
     27        <td tal:content="file/getSize">12 bytes</td>
    2828      </tr>
    2929    </tbody>
    3030  </table>
    31 
    3231  <form method="POST">
    3332    <input type="submit" name="back" value="Back to Data Center" />
    3433  </form>
    35 
    3634</div>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterlogsshowfilepage.pt

    r4858 r7443  
    77</form>
    88
    9 <div class="bd">
     9<div>
    1010  <pre tal:content="view/filecontents">
    1111    blah, blah
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacentermanagepage.pt

    r6909 r7443  
    55<form method="POST">
    66  <div>
    7     <label for="newpath">Storage path:</label>
     7    Storage path:
    88    <input type="text" name="newpath"
    99     tal:attributes="value context/storage" />
    1010    <br /><br />
    11     <div>
    12       <input type="checkbox" name="move" checked="checked" />
    13       <label for="move">Copy existing data to new storage?</label>
    14     </div>
    15     <div>
    16       <input type="checkbox" name="overwrite" checked="no" />
    17       <label for="overwrite">Overwrite contents in new location?</label>
    18     </div>
    19     <br />
     11    Copy existing data to new storage? &nbsp;&nbsp;
     12    <input type="checkbox" name="move" checked="checked" />
     13    <br /><br />
     14    Overwrite contents in new location? &nbsp;&nbsp;
     15    <input type="checkbox" name="overwrite" checked="no" />
     16    <br /><br />
    2017    <input type="submit" name="save" value="Save" />
    2118    <input type="reset" name="reset" value="Reset" />
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterpage.pt

    r4958 r7443  
    1919  </thead>
    2020  <tbody>
    21     <tr tal:repeat="file context/getFiles"
    22         tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'">
     21    <tr tal:repeat="file context/getFiles">
    2322      <td tal:content="file/name">thefilename</td>
    2423      <td tal:content="file/size">12 k</td>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/default_waeup_display_form.pt

    r7384 r7443  
    33    tal:content="view/label">Label</h2>
    44
    5 <table class="zebra">
     5<table class="form-table">
    66  <tbody>
    77    <tal:block repeat="widget view/widgets">
    88      <tr>
    9         <td class="fieldname" width="33%">
     9        <td width="33%">
    1010          <tal:block content="widget/label"/>:
    1111        </td>
     
    1818  </tbody>
    1919  <tfoot>
    20     <tr class="controls">
     20    <tr>
    2121      <td colspan="2" class="align-right">
    2222        <input tal:repeat="action view/actions"
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/default_waeup_edit_form.pt

    r7442 r7443  
    66    tal:content="view/label">Label</h2>
    77
    8   <div class="form-status"
     8  <div class="alert-message error"
    99      tal:define="status view/status"
    1010      tal:condition="status">
     
    2020  </div>
    2121
    22   <table>
     22  <table class="form-table">
    2323    <tbody>
    2424      <tal:block repeat="widget view/widgets">
  • 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">
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/departmentpage.pt

    r6461 r7443  
    33tal:content="view/label">Label</h2>
    44
    5 <div id="tabs">
    6     <ul>
    7       <li><a href="#tab-1"><span>Courses</span></a></li>
    8       <li><a href="#tab-2"><span>Certificates</span></a></li>
    9     </ul>
    10    
    11     <div id="tab-1">
     5<ul class="tabs" data-tabs="tabs">
     6  <li class="active"><a href="#tab-1"><span>Courses</span></a></li>
     7  <li><a href="#tab-2"><span>Certificates</span></a></li>
     8</ul>
     9<div class="tab-content">
     10    <div id="tab-1" class="active">
    1211    <br />
    1312    <table class="display dataTable">
     
    1817      </thead>
    1918      <tbody>
    20         <tr tal:repeat="entry view/getCourses"
    21         class="gradeB">
     19        <tr tal:repeat="entry view/getCourses" class="gradeC">
    2220          <td>
    2321                <a href=""
     
    4240      </thead>
    4341      <tbody>
    44         <tr tal:repeat="entry view/getCertificates"
    45         class="gradeB">
     42        <tr tal:repeat="entry view/getCertificates" class="gradeC">
    4643          <td>
    4744                <a href=""
     
    5552      </tbody>
    5653    </table>
    57     <br /><br />
    5854    </div>
    5955</div>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/facultiescontainermanagepage.pt

    r7333 r7443  
    33    tal:content="view/label">Label</h2>
    44
    5 <div class="form-status"
     5<div class="alert-message error"
    66    tal:define="status view/status"
    77    tal:condition="status">
     
    1313
    1414<form action="." tal:attributes="action request/URL" method="POST"
    15       class="edit-form" enctype="multipart/form-data">
     15      enctype="multipart/form-data">
    1616
    17   <div id="tabs">
    18     <ul>
    19       <li><a href="#tab-1">
    20         <span tal:content="view/subunits">Contents</span>
    21       </a></li>
    22     </ul>
    23 
    24     <div id="tab-1">
    25       <h3 tal:content="view/subunits">Faculties</h3>
    26       <table class="zebra">
    27         <thead>
    28           <tr>
    29             <th>&nbsp;</th><th>Code</th><th>Title</th>
    30           </tr>
    31         </thead>
    32         <tbody>
    33           <tr tal:repeat="dep context/values">
    34             <td>
    35               <input type="checkbox"
    36                      name="val_id"
    37                      tal:attributes="value dep/code" />
    38             </td>
    39             <td>
    40               <a tal:attributes="href python: view.url(dep)"
    41                  tal:content="dep/__name__">
    42                 ID
    43               </a>
    44             </td>
    45             <td>
    46               <span tal:content="dep/title">
    47                 ID
    48               </span>
    49             </td>
    50           </tr>
    51         </tbody>
    52       </table>
    53       <div class="actionButtons" tal:condition="view/availableActions">
    54         <span tal:repeat="action view/actions"
    55               tal:omit-tag="">
    56           <input tal:condition="python:action.label in view.taboneactions"
    57                  tal:replace="structure action/render"/>
    58         </span>
    59       </div>
    60 
    61     </div>
     17  <table>
     18    <thead>
     19      <tr>
     20        <th>&nbsp;</th><th>Code</th><th>Title</th>
     21      </tr>
     22    </thead>
     23    <tbody>
     24      <tr tal:repeat="dep context/values">
     25        <td>
     26          <input type="checkbox"
     27                 name="val_id"
     28                 tal:attributes="value dep/code" />
     29        </td>
     30        <td>
     31          <a tal:attributes="href python: view.url(dep)"
     32             tal:content="dep/__name__">
     33            ID
     34          </a>
     35        </td>
     36        <td>
     37          <span tal:content="dep/title">
     38            ID
     39          </span>
     40        </td>
     41      </tr>
     42    </tbody>
     43  </table>
     44  <div tal:condition="view/availableActions">
     45    <span tal:repeat="action view/actions"
     46          tal:omit-tag="">
     47      <input tal:condition="python:action.label in view.taboneactions"
     48             tal:replace="structure action/render"/>
     49    </span>
    6250  </div>
    6351</form>
  • 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>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/facultypage.pt

    r5993 r7443  
    55</div>
    66
    7 <table class="zebra">
     7<table>
    88  <thead>
    99    <tr>
     
    1414  <tbody>
    1515    <tr tal:repeat="value context/values">
    16       <td> <a tal:attributes="href value/__name__"> <span tal:content="value/code">Name</span></a></td>
     16      <td> <a tal:attributes="href value/__name__">
     17          <span tal:content="value/code">Name</span></a></td>
    1718      <td tal:content="value/longtitle">Title</td>
    1819    </tr>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/loginpage.pt

    r7369 r7443  
    11<h2 i18n:translate=""  tal:condition="view/label"  tal:content="view/label">Label</h2>
    22<form method="post">
    3   <table id="login" class="form summary="Table for entering login information">
     3  <table id="login" class="form-table" summary="Table for entering login information">
    44    <tbody>
    55      <tr>
    6         <th>
    7           <label for="form.login">User Name or Student Id
    8           </label>
    9         </th> <td>
    10           <input type="text" id="login" name="form.login" size="20" /> </td>
     6        <td>
     7          <label>User Name or Student Id:</label>
     8        </td>
     9        <td>
     10          <input type="text" id="login" name="form.login" size="20" />
     11        </td>
    1112      </tr>
    1213      <tr>
    13         <th>
    14           <label for="form.password">Password
    15           </label>
    16         </th><td>
     14        <td>
     15          <label>Password:</label>
     16        </td>
     17        <td>
    1718          <input type="password" id="password" name="form.password"  size="20" value="" />
    1819          &nbsp;&nbsp;
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/notfound.pt

    r6190 r7443  
    33</h2>
    44
    5 <div class="error"><b>Please note the following:</b></div>
     5<div><b>Please note the following:</b></div>
    66<div>
    77  <ol class="list">
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/plainactionbutton.pt

    r7367 r7443  
    1 <span class="yui-button" tal:condition="viewlet/target_url">
    2   <span class="first-child">
     1<span tal:condition="viewlet/target_url">
     2  <span>
    33    <a href=""
    44       tal:attributes="href viewlet/target_url">
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/searchpage.pt

    r6460 r7443  
    3131        </tbody>
    3232    </table>
    33     <div class="actionButtons">
    34     </div>
    3533</span>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/staffsitelayout.pt

    r7442 r7443  
    1313        tal:attributes="title string:RSS feed of ${layout/getAppTitle};
    1414            href python: view.url(layout.site, 'feed.rss')" />
    15 
    16 
    17     <style type="text/css">
    18       body {
    19         padding-top: 60px;
    20       }
    21     </style>
    22 
    23 
    24 
    2515  </head>
    2616  <body>
     
    7666      <div class="content">
    7767        <div class="row">
    78           <div class="span14"
     68          <div class="span12"
    7969              tal:define="message context/@@messages"
    8070              tal:condition="python: len(message)>11">
     
    8272            </div>
    8373          </div>
    84           <div class="span14">
    85             <tal:actionbar content="structure provider:actionbar" />
     74          <div class="span12" tal:condition="provider:actionbar">
     75            <span tal:replace="structure provider:actionbar" />
     76            <br /><br />
    8677          </div>
    87           <div class="span14">&nbsp;</div>
    88           <div class="span14" tal:content="structure view/content"> THE CONTENT
     78          <div class="span12" tal:content="structure view/content"> THE CONTENT
    8979          </div>
    9080        </div>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/subobjectlist.pt

    r5936 r7443  
    88  </thead>
    99  <tbody>
    10     <tr tal:repeat="row viewletmanager/rows"
    11         tal:attributes="class python: repeat['row'].odd() and 'odd' or 'even'">
     10    <tr tal:repeat="row viewletmanager/rows">
    1211      <td tal:repeat="viewlet row">
    1312        <div tal:replace="structure viewlet/render">
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/usereditformpage.pt

    r7149 r7443  
    11<form action="." tal:attributes="action request/URL" method="post"
    2       class="edit-form" enctype="multipart/form-data">
     2      enctype="multipart/form-data">
    33
    44  <h2 i18n:translate=""
     
    66    tal:content="view/label">Label</h2>
    77
    8   <div class="form-status"
     8  <div class="alert-message error"
    99      tal:define="status view/status"
    1010      tal:condition="status">
     
    2020  </div>
    2121
    22   <table class="zebra">
     22  <table class="form-table">
    2323    <tbody>
    2424      <tal:block repeat="widget view/widgets">
    2525        <tr>
    26           <td class="label">
     26          <td>
    2727            <label tal:attributes="for widget/name">
    28               <span class="required" tal:condition="widget/required">*</span>
     28              <span tal:condition="widget/required">*</span>
    2929              <span i18n:translate="" tal:content="widget/label">label</span>:
    3030            </label>
    3131          </td>
    32           <td class="field">
    33             <span class="widget" tal:content="structure widget">
     32          <td>
     33            <span tal:content="structure widget">
    3434              <input type="text" />
    3535            </span>
     
    3838            </tal:error>
    3939            <tal:hint tal:condition="widget/hint">
    40               <span class="hint" tal:content="structure widget/hint">hint</span>
     40              <span tal:content="structure widget/hint">hint</span>
    4141            </tal:hint>
    4242          </td>
     
    4444      </tal:block>
    4545      <tr>
    46         <td class="label"><label>Password:</label></td>
     46        <td><label>Password:</label></td>
    4747        <td>
    4848          <input name="password" type="password"  />
     
    5050      </tr>
    5151      <tr>
    52         <td class="label"><label>Retype password:</label></td>
     52        <td><label>Retype password:</label></td>
    5353        <td>
    5454          <input name="control_password" type="password" />
     
    5858    </tbody>
    5959  </table>
    60   <div class="actionButtons" tal:condition="view/availableActions">
     60  <div tal:condition="view/availableActions">
    6161    <input tal:repeat="action view/actions"
    6262           tal:replace="structure action/render"
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/userscontainerpage.pt

    r7178 r7443  
    11<h2>Portal Users</h2>
    22
    3 <p>
    4   Here you can manage portal users. 
    5 </p>
    6 
    7 <table class="zebra">
     3<table>
    84  <thead>
    95    <tr>
    106      <th>User ID</th>
    117      <th>Name</th>
    12       <th>Description</th>
    138      <th>Portal Roles</th>
    149      <th>Local Roles</th>
     
    2015      <td tal:content="account/name">User name</td>
    2116      <td tal:content="account/title">Title</td>
    22       <td tal:content="account/description">Description</td>
    2317      <td tal:content="structure python:view.getSiteRoles(account)">SITE ROLES</td>
    2418      <td tal:content="structure python:view.getLocalRoles(account)">LOCAL ROLES</td>
Note: See TracChangeset for help on using the changeset viewer.