Ignore:
Timestamp:
12 Jan 2012, 16:19:57 (13 years ago)
Author:
Henrik Bettermann
Message:

Merge Bootstrap branch into trunk.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
Files:
1 deleted
36 edited

Legend:

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

    r6717 r7459  
    1 <span class="yui-button" tal:condition="viewlet/target_url">
    2   <span class="first-child">
    3     <a href=""
    4        tal:attributes="href viewlet/target_url">
    5       <img src="" alt="edit"
    6            tal:attributes="src viewlet/icon_url;
    7                            alt viewlet/alt"/>
    8     <span tal:content="viewlet/text">TEXT</span></a>
    9   </span>
    10 </span>
     1<a class="btn actionbar" tal:condition="viewlet/target_url"
     2   tal:attributes="href viewlet/target_url">
     3  <img src="" alt="edit"
     4   tal:attributes="src viewlet/icon_url;
     5           alt viewlet/alt"/>
     6  <span tal:replace="viewlet/text">TEXT</span>
     7</a>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/breadcrumbs.pt

    r5389 r7459  
    1 <div class="breadcrumbs">
    2   <span tal:repeat="item viewlet/getEntries">
    3     <a href="#"
    4        tal:attributes="href item/url">
    5       <span tal:content="item/title">
    6         Entry
    7       </span>
     1<span tal:repeat="item viewlet/getEntries">
     2  <li>
     3    <a href="#" tal:attributes="href item/url">
     4      <span tal:content="item/title">Entry</span>
    85    </a>
    9     <span tal:condition="not: repeat/item/end">
    10       >
    11     </span>
    12   </span>
    13 </div>
     6    <span tal:condition="not: repeat/item/end" class="divider">/</span>
     7  </li>
     8</span>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatecoursepage.pt

    r6008 r7459  
    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/trunk/src/waeup/sirp/browser/templates/certificatemanagepage.pt

    r7335 r7459  
    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 class="fieldname">
     30                <span tal:condition="widget/required">*</span>
     31                <span i18n:translate="" tal:content="widget/label">label</span>:
     32              </td>
     33              <td>
     34                <span tal:content="structure widget">
     35                  <input type="text" />
     36                </span>
     37                <tal:error tal:condition="widget/error">
     38                  <span tal:replace="structure widget/error">error</span>
     39                </tal:error>
     40                <tal:hint tal:condition="widget/hint">
     41                  <span tal:content="structure widget/hint">hint</span>
     42                </tal:hint>
     43              </td>
     44            </tr>
     45          </tal:block>
     46          </tbody>
     47          </table>
     48          <div tal:condition="view/availableActions">
     49            <span tal:repeat="action view/actions"
     50                  tal:omit-tag="">
     51              <input tal:condition="python:action.label in view.taboneactions"
     52                     tal:replace="structure action/render"/>
     53            </span>
     54          </div>
     55    </div>
     56    <div id="tab-2">
     57      <h3>Course Referrers</h3>
     58      <table class="display dataTableManage">
     59        <thead>
     60          <tr>
     61            <th>&nbsp;</th><th>Level</th><th>Semester</th><th>Referrer</th><th>Course</th><th>Title</th>
     62            <th>Mandatory</th>
     63          </tr>
     64        </thead>
    2665        <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>
     66          <tr tal:repeat="cc context/values" class="gradeC">
     67             <td>
     68              <input type="checkbox"
     69                         name="val_id"
     70                         tal:attributes="value cc/__name__" />
    3471            </td>
    35             <td class="field">
    36               <span class="widget" tal:content="structure widget">
    37                 <input type="text" />
     72             <td>
     73              <span tal:content="cc/level">
     74                   LEVEL
    3875              </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>
     76            </td>
     77            <td tal:content="cc/course/semester">SEMESTER</td>
     78            <td>
     79              <a tal:attributes="href python: view.url(cc)"
     80                     tal:content="cc/__name__">
     81                REFERRER CODE
     82              </a>
     83            </td>
     84            <td>
     85              <a tal:attributes="href python:view.url(cc.course)"
     86                     tal:content="cc/course/code">
     87                COURSE CODE
     88              </a>
     89            </td>
     90            <td>
     91              <span tal:content="cc/course/title">
     92                   COURSE TITLE
     93              </span>
     94            </td>
     95            <td>
     96              <span tal:content="cc/core_or_elective">
     97                   MANDATORY
     98              </span>
    4599            </td>
    46100          </tr>
    47         </tal:block>
    48101        </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>
     102      </table>
     103      <div tal:condition="view/availableActions">
     104        <span tal:repeat="action view/actions"
     105              tal:omit-tag="">
     106          <input tal:condition="python:action.label in view.tabtwoactions"
     107                 tal:replace="structure action/render"/>
     108        </span>
     109      </div>
     110    </div>
     111    <div id="tab-3"> <br />
     112      <table class="display dataTableManage">
     113        <thead>
     114          <tr>
     115            <th>&nbsp;
     116            </th>
     117            <th>User Id
     118            </th>
     119            <th>Name
     120            </th>
     121            <th>Local Role
     122            </th>
     123          </tr>
     124        </thead>
     125        <tbody>
     126          <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>
     127              <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     128            <td tal:content="entry/user_name"> USERNAME </td>
     129            <td tal:content="entry/user_title"> USERTITLE </td>
     130            <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
     131          </tr>
     132        </tbody>
     133      </table>
     134      <div tal:condition="view/availableActions">
     135        <span tal:repeat="action view/actions" tal:omit-tag="">
     136          <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/>
     137        </span>
     138      </div><br /><br />
     139      <table class="form-table">
     140        <tr> <td>
     141            <select id="user" name="user">
     142              <option tal:repeat="user view/getUsers" tal:attributes="value user/name">
     143              <span tal:replace="user/val/title">USERTITLE
     144              </span>
     145              </option>
     146            </select> </td> <td>
     147            <select id="local_role" name="local_role">
     148              <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name">
     149              <span tal:replace="localrole/title">LOCALROLETITLE
     150              </span>
     151              </option>
     152            </select> </td> <td>
     153            <div tal:condition="view/availableActions">
     154              <span tal:repeat="action view/actions" tal:omit-tag="">
     155                <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/>
     156              </span>
     157            </div> </td>
    65158        </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>
     159      </table>
    111160    </div>
    112161  </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>
    164162</form> 
    165163
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatepage.pt

    r6344 r7459  
    11<h2 tal:content="context/longtitle">TITLE</h2>
    22
    3 <table class="zebra">
     3<table class="form-table">
    44<thead>
    55</thead> 
     
    77  <tal:block repeat="widget view/widgets">
    88    <tr>
    9       <td>
    10         <label tal:attributes="for widget/name">
    11           <span i18n:translate=""
     9      <td class="fieldname">
     10        <span i18n:translate=""
    1211                         tal:content="widget/label">label</span>:
    13         </label>
    1412      </td>
    15       <td class="field" tal:on-error="default">
    16         <div class="widget" tal:content="structure widget">
     13      <td tal:on-error="default">
     14        <div tal:content="structure widget">
    1715          <input type="text" />
    1816        </div>
     
    3331</thead>
    3432<tbody>
    35   <tr tal:repeat="cc context/values">
     33  <tr tal:repeat="cc context/values" class="gradeC">
    3634     <td>
    3735      <span tal:content="cc/level">
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/configurationmanagepage.pt

    r6916 r7459  
    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">
    24                 <label tal:attributes="for widget/name">
    25                   <span class="required" tal:condition="widget/required">*
     23              <td class="fieldname">
     24                  <span tal:condition="widget/required">*
    2625                  </span>
    2726                  <span i18n:translate="" tal:content="widget/label">label
    2827                  </span>:
    29                 </label> </td>
    30               <td class="field">
    31                 <span class="widget" tal:content="structure widget">
     28              </td>
     29              <td>
     30                <span tal:content="structure widget">
    3231                  <input type="text" />
    3332                </span>
     
    3736                </tal:error>
    3837                <tal:hint tal:condition="widget/hint">
    39                   <span class="hint" tal:content="structure widget/hint">hint
     38                  <span tal:content="structure widget/hint">hint
    4039                  </span>
    4140                </tal:hint> </td>
     
    4443        </tbody>
    4544      </table>
    46       <div class="actionButtons" tal:condition="view/availableActions">
     45      <div tal:condition="view/availableActions">
    4746        <span tal:repeat="action view/actions" tal:omit-tag="">
    48           <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/>
     47          <input tal:condition="python:action.label in view.taboneactions"
     48                 tal:replace="structure action/render"/>
    4949        </span>
    5050      </div>
     
    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/trunk/src/waeup/sirp/browser/templates/contactform.pt

    r7227 r7459  
    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/trunk/src/waeup/sirp/browser/templates/coursepage.pt

    r5946 r7459  
    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/trunk/src/waeup/sirp/browser/templates/datacenterimport1page.pt

    r6908 r7459  
    1616    </thead>
    1717    <tbody>
    18       <tr tal:repeat="file view/getFiles"
    19       tal:attributes="class python: repeat['file'].odd() and 'odd' or ''">
     18      <tr tal:repeat="file view/getFiles">
    2019        <td>
    21           <button type="submit" name="select"
     20          <button type="submit" name="select" class="btn primary"
    2221            tal:attributes="value file/name">Select</button>
    2322        </td>
     
    2928    </tbody>
    3029  </table>
    31   <input type="submit" name="cancel" value="Cancel" />
     30  <input type="submit" name="cancel" class="btn" value="Cancel" />
    3231</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport2page.pt

    r6908 r7459  
    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>
     
    6260    </p>
    6361  </div>
    64   <input type="submit" name="cancel" value="Cancel" />
    65   <input type="submit" name="back1" value="Back to step 1" />
    66   <input tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
     62  <input class="btn" type="submit" name="cancel" value="Cancel" />
     63  <input class="btn danger" type="submit" name="back1" value="Back to step 1" />
     64  <input class="btn primary" tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
    6765    type="submit" name="proceed" value="Proceed to step 3..." />
    6866</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport3page.pt

    r6908 r7459  
     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>
     
    7471  </div>
    7572
    76   <input type="submit" name="cancel" value="Cancel" />
    77   <input type="reset" name="reset" value="Reset" />
    78   <input type="submit" name="update" value="Set headerfields" />
    79   <br />
    80   <input type="submit" name="back2" value="Back to step 2" />
    81   <input tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
     73  <input class="btn" type="submit" name="cancel" value="Cancel" />
     74  <input class="btn" type="reset" name="reset" value="Reset" />
     75  <input class="btn" type="submit" name="update" value="Set headerfields" />
     76  <br /><br />
     77  <input class="btn danger" type="submit" name="back2" value="Back to step 2" />
     78  <input class="btn primary" tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
    8279   type="submit" name="proceed" value="Perform import..." />
    8380</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport4page.pt

    r6908 r7459  
    1818</p>
    1919<form method="POST">
    20   <input type="submit" name="finish" value="Back to data center" />
    21   <input type="submit" name="showlog" value="View processing log" />
     20  <input class="btn primary" type="submit" name="finish" value="Back to data center" />
     21  <input class="btn" type="submit" name="showlog" value="View processing log" />
    2222</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterlogspage.pt

    r6909 r7459  
    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 primary" 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">
    33     <input type="submit" name="back" value="Back to Data Center" />
     32    <input type="submit" class="btn" name="back" value="Back to Data Center" />
    3433  </form>
    35 
    3634</div>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterlogsshowfilepage.pt

    r4858 r7459  
    44
    55<form method="POST">
    6   <input type="submit" name="back" value="Back" />
     6  <input class="btn primary" type="submit" name="back" value="Back" />
    77</form>
    88
    9 <div class="bd">
     9<div>
    1010  <pre tal:content="view/filecontents">
    1111    blah, blah
     
    1414
    1515<form method="POST">
    16   <input type="submit" name="back" value="Back" />
     16  <input class="btn primary" type="submit" name="back" value="Back" />
    1717</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacentermanagepage.pt

    r6909 r7459  
    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 />
    20     <input type="submit" name="save" value="Save" />
    21     <input type="reset" name="reset" value="Reset" />
    22     <input type="submit" name="cancel" value="Cancel" />
     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 />
     17    <input class="btn primary" type="submit" name="save" value="Save" />
     18    <input class="btn" type="reset" name="reset" value="Reset" />
     19    <input class="btn" type="submit" name="cancel" value="Cancel" />
    2320  </div>
    2421</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterpage.pt

    r4958 r7459  
    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/trunk/src/waeup/sirp/browser/templates/datacenteruploadpage.pt

    r6908 r7459  
    55<form method="post" enctype="multipart/form-data">
    66  <input type="file" name="uploadfile:file" />
     7  <br /><br />
    78  <div>
    8     <input type="submit" name="SUBMIT" value="Upload" />
    9     <input type="submit" name="CANCEL" value="Cancel" />
     9    <input class="btn primary" type="submit" name="SUBMIT" value="Upload" />
     10    <input class="btn" type="submit" name="CANCEL" value="Cancel" />
    1011  </div>
    1112</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/default_waeup_display_form.pt

    r7384 r7459  
    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 class="fieldname">
    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/trunk/src/waeup/sirp/browser/templates/default_waeup_edit_form.pt

    r7112 r7459  
    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">
     
    1313        Form status summary
    1414      </span>
    15       <ul tal:condition="view/errors">
    16         <li tal:repeat="error view/error_views">
    17            <span tal:replace="structure error">Error Type</span>
    18         </li>
    19       </ul>
    2015  </div>
    2116
    22   <table class="zebra">
     17  <table class="form-table">
    2318    <tbody>
    2419      <tal:block repeat="widget view/widgets">
    2520        <tr>
    26           <td class="label">
    27             <label tal:attributes="for widget/name">
    28               <span class="required" tal:condition="widget/required">*</span>
    29               <span i18n:translate="" tal:content="widget/label">label</span>:
    30             </label>
     21          <td class="fieldname">
     22            <span tal:condition="widget/required">*</span>
     23            <span i18n:translate="" tal:content="widget/label">label</span>:
    3124          </td>
    32           <td class="field">
    33             <span class="widget" tal:content="structure widget">
     25          <td>
     26            <span tal:content="structure widget">
    3427              <input type="text" />
    3528            </span>
     
    3831            </tal:error>
    3932            <tal:hint tal:condition="widget/hint">
    40               <span class="hint" tal:content="structure widget/hint">hint</span>
     33              <span tal:content="structure widget/hint">hint</span>
    4134            </tal:hint>
    4235          </td>
     
    4639    </tbody>
    4740  </table>
    48   <div class="actionButtons" tal:condition="view/availableActions">
     41  <div tal:condition="view/availableActions">
    4942    <input tal:repeat="action view/actions"
    5043           tal:replace="structure action/render"
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt

    r7213 r7459  
    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">
    30                 <label tal:attributes="for widget/name">
    31                   <span class="required" tal:condition="widget/required">*
     29              <td class="fieldname">
     30                  <span tal:condition="widget/required">*
    3231                  </span>
    3332                  <span i18n:translate="" tal:content="widget/label">label
    3433                  </span>:
    35                 </label> </td>
    36               <td class="field">
    37                 <span class="widget" tal:content="structure widget">
     34              </td>
     35              <td>
     36                <span tal:content="structure widget">
    3837                  <input type="text" />
    3938                </span>
     
    4342                </tal:error>
    4443                <tal:hint tal:condition="widget/hint">
    45                   <span class="hint" tal:content="structure widget/hint">hint
     44                  <span tal:content="structure widget/hint">hint
    4645                  </span>
    4746                </tal:hint> </td>
     
    5049        </tbody>
    5150      </table>
    52       <div class="actionButtons" tal:condition="view/availableActions">
     51      <div tal:condition="view/availableActions">
    5352        <span tal:repeat="action view/actions" tal:omit-tag="">
    5453          <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/>
     
    6968        </thead>
    7069        <tbody>
    71           <tr tal:repeat="entry view/getCourses" class="gradeB"> <td>
     70          <tr tal:repeat="entry view/getCourses" class="gradeC"> <td>
    7271              <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td>
    7372              <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td>
     
    7675        </tbody>
    7776      </table>
    78       <div class="actionButtons" tal:condition="view/availableActions">
     77      <div tal:condition="view/availableActions">
    7978        <span tal:repeat="action view/actions" tal:omit-tag="">
    8079          <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/>
     
    9594        </thead>
    9695        <tbody>
    97           <tr tal:repeat="entry view/getCertificates" class="gradeB"> <td>
     96          <tr tal:repeat="entry view/getCertificates" class="gradeC"> <td>
    9897              <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td>
    9998              <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td>
     
    102101        </tbody>
    103102      </table>
    104       <div class="actionButtons" tal:condition="view/availableActions">
     103      <div tal:condition="view/availableActions">
    105104        <span tal:repeat="action view/actions" tal:omit-tag="">
    106105          <input tal:condition="python:action.label in view.tabthreeactions" tal:replace="structure action/render"/>
     
    123122        </thead>
    124123        <tbody>
    125           <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td>
     124          <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>
    126125              <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    127126            <td tal:content="entry/user_name"> USERNAME </td>
     
    131130        </tbody>
    132131      </table>
    133       <div class="actionButtons" tal:condition="view/availableActions">
     132      <div tal:condition="view/availableActions">
    134133        <span tal:repeat="action view/actions" tal:omit-tag="">
    135134          <input tal:condition="python:action.label in view.tabfouractions1" tal:replace="structure action/render"/>
    136135        </span>
    137136      </div> <br /><br />
    138       <table class="zebra">
     137      <table class="form-table">
    139138        <tr> <td>
    140139            <select id="user" name="user">
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentpage.pt

    r6461 r7459  
    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/trunk/src/waeup/sirp/browser/templates/facultiescontainermanagepage.pt

    r7333 r7459  
    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/trunk/src/waeup/sirp/browser/templates/facultymanagepage.pt

    r7213 r7459  
    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                 <label tal:attributes="for widget/name">
    32                   <span class="required" tal:condition="widget/required">*
    33                   </span>
    34                   <span i18n:translate="" tal:content="widget/label">label
    35                   </span>:
    36                 </label> </td>
    37               <td class="field">
    38                 <span class="widget" tal:content="structure widget">
     31              <td class="fieldname">
     32                <span tal:condition="widget/required">*
     33                </span>
     34                <span i18n:translate="" tal:content="widget/label">label
     35                </span>:
     36              </td>
     37              <td>
     38                <span tal:content="structure widget">
    3939                  <input type="text" />
    4040                </span>
     
    4444                </tal:error>
    4545                <tal:hint tal:condition="widget/hint">
    46                   <span class="hint" tal:content="structure widget/hint">hint
     46                  <span tal:content="structure widget/hint">hint
    4747                  </span>
    4848                </tal:hint> </td>
     
    5151        </tbody>
    5252      </table>
    53       <div class="actionButtons" tal:condition="view/availableActions">
     53      <div tal:condition="view/availableActions">
    5454        <span tal:repeat="action view/actions" tal:omit-tag="">
    55           <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/>
     55          <input tal:condition="python:action.label in view.taboneactions"
     56                 tal:replace="structure action/render"/>
    5657        </span>
    5758      </div>
     
    5960    <div id="tab-2">
    6061      <h3 tal:content="view/subunits">Departments</h3>
    61       <table class="zebra">
     62      <table>
    6263        <thead>
    6364          <tr>
     
    7273        <tbody>
    7374          <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>
     75              <input type="checkbox" name="val_id"
     76                     tal:attributes="value dep/code" /> </td> <td>
     77              <a tal:attributes="href python: view.url(dep)"
     78                 tal:content="dep/__name__"> ID</a> </td> <td>
    7679              <span tal:content="dep/title">ID
    7780              </span> </td>
     
    7982        </tbody>
    8083      </table>
    81       <div class="actionButtons" tal:condition="view/availableActions">
     84      <div tal:condition="view/availableActions">
    8285        <span tal:repeat="action view/actions" tal:omit-tag="">
    83           <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/>
     86          <input tal:condition="python:action.label in view.tabtwoactions"
     87                 tal:replace="structure action/render"/>
    8488        </span>
    8589      </div>
     
    100104        </thead>
    101105        <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>
     106          <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>
     107              <input type="checkbox" name="role_id"
     108              tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    104109            <td tal:content="entry/user_name"> USERNAME </td>
    105110            <td tal:content="entry/user_title"> USERTITLE </td>
     
    108113        </tbody>
    109114      </table>
    110       <div class="actionButtons" tal:condition="view/availableActions">
     115      <div tal:condition="view/availableActions">
    111116        <span tal:repeat="action view/actions" tal:omit-tag="">
    112           <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/>
     117          <input tal:condition="python:action.label in view.tabthreeactions1"
     118                 tal:replace="structure action/render"/>
    113119        </span>
    114120      </div><br /><br />
    115       <table class="zebra">
     121      <table class="form-table">
    116122        <tr> <td>
    117123            <select id="user" name="user">
     
    122128            </select> </td> <td>
    123129            <select id="local_role" name="local_role">
    124               <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name">
     130              <option tal:repeat="localrole view/getLocalRoles"
     131                      tal:attributes="value localrole/name">
    125132              <span tal:replace="localrole/title">LOCALROLETITLE
    126133              </span>
     
    129136            <div tal:condition="view/availableActions">
    130137              <span tal:repeat="action view/actions" tal:omit-tag="">
    131                 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/>
     138                <input tal:condition="python:action.label in view.tabthreeactions2"
     139                       tal:replace="structure action/render"/>
    132140              </span>
    133141            </div> </td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultypage.pt

    r5993 r7459  
    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/trunk/src/waeup/sirp/browser/templates/loginpage.pt

    r7369 r7459  
    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 class="fieldname">
     7          User Name or Student Id:
     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 class="fieldname">
     15          Password:
     16        </td>
     17        <td>
    1718          <input type="password" id="password" name="form.password"  size="20" value="" />
    1819          &nbsp;&nbsp;
     
    2324  </table>
    2425  <input type="hidden" name="camefrom"   tal:attributes="value view/camefrom" />
    25   <input type="submit" name="SUBMIT" value="Login" /><br /><br />
     26  <input class="btn primary" type="submit" name="SUBMIT" value="Login" /><br /><br />
    2627  <p>Don't forget to logout or exit your browser when you're done.
    2728  If you are having trouble logging in, make sure to enable  cookies in your web browser.
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/messages.pt

    r6225 r7459  
    1 <ul>
    2   <li
    3     tal:repeat="message view/messages"
    4     tal:attributes="class message/type"
    5     tal:content="structure message/message">Sauron will arrive soon!
    6   </li>
    7 </ul>
     1<div
     2  tal:repeat="message view/messages"
     3  tal:attributes="class message/type"
     4  tal:content="structure message/message">Sauron will arrive soon!
     5</div>
     6
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/myrolespage.pt

    r7179 r7459  
    11<h3 i18n:translate="">My Portal Roles:</h3>
    2 <span tal:repeat="role view/getSiteRoles">
    3   <div tal:content="role" >ROLE</div>
    4 </span>
    5 <br /><br />
     2<table class="form-table">
     3<tr tal:repeat="role view/getSiteRoles">
     4    <td>
     5      <div tal:content="role" >ROLE</div>
     6    </td>
     7  </tr>
     8</table>
     9
    610<h3 i18n:translate="">My Local Roles:</h3>
    7 <table>
     11<table class="form-table">
    812  <tr tal:repeat="role view/getLocalRoles">
    913    <td valign="top" ><span tal:content="role" >ROLE</span>:</td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/notfound.pt

    r6190 r7459  
    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/trunk/src/waeup/sirp/browser/templates/plainactionbutton.pt

    r7367 r7459  
    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/trunk/src/waeup/sirp/browser/templates/searchpage.pt

    r6460 r7459  
    33  <input type="text" name="query"
    44         tal:attributes="value view/query" />
    5     <input type="submit" name="SUBMIT" value="Search" />
     5    <input class="btn primary" type="submit" name="SUBMIT" value="Search" />
    66</form>
    77<br />
     
    3131        </tbody>
    3232    </table>
    33     <div class="actionButtons">
    34     </div>
    3533</span>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/staffsitelayout.pt

    r6723 r7459  
    1313        tal:attributes="title string:RSS feed of ${layout/getAppTitle};
    1414            href python: view.url(layout.site, 'feed.rss')" />
     15  </head>
     16  <body>
     17    <div class="topbar" data-scrollspy="scrollspy" >
     18      <div class="topbar-inner">
     19        <div class="container-fluid">
     20          <a class="brand" href="#" tal:content="layout/getAppAcronym">Acronym</a>
     21          <ul class="nav">
     22            <tal:primary_nav content="structure provider:primary_nav" />
     23          </ul>
     24          <ul class="nav secondary-nav">
     25            <li tal:condition="not: layout/isAuthenticated">
     26            <a href="#" tal:attributes="href python: view.url(layout.site, 'login')">
     27                Login
     28            </a>
     29            </li>
     30            <li tal:condition="layout/isAuthenticated">
     31            <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
     32                Contact
     33            </a>
     34            </li>
     35            <li tal:condition="layout/isAuthenticated">
     36            <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a>
     37            </li>
     38          </ul>
     39        </div>
     40      </div>
     41    </div>
    1542
    16   </head>
    17   <body class="rounded yui-skin-sam">
    18     <div id="doc3" class="yui-t1">
    19       <div id="hd" role="banner">
    20         <div id="hd">
    21           <h1 id="logo">
    22             <a href="" tal:attributes="href view/application_url">
    23               <span class="uni-logo">
    24               </span> </a>
    25             <span id="uni-title" tal:content="layout/getAppTitle"> Sample University
    26             </span> </h1>
    27           <div id="navigation" class="yui-navset" style="text-align:right;">
    28             <ul id="primary-navigation">
    29               <tal:primary_nav content="structure provider:primary_nav" />
     43    <ul class="breadcrumb">
     44      <tal:breadcrumbs
     45            tal:condition="python: layout.isAuthenticated()"
     46            tal:content="structure provider:breadcrumbs" />
     47      <span tal:condition="layout/getStudentName" class="wfstatus">
     48            Student Id:
     49          <span tal:replace="python:context.getStudent().student_id">Id
     50          </span>&nbsp;&nbsp;
     51          State:
     52          <span tal:replace="python:context.getStudent().state">State
     53          </span>
     54      </span>
     55    </ul>
     56
     57    <div class="container-fluid">
     58      <div class="sidebar">
     59        <div class="well">
     60          <div tal:condition="layout/getStudentName">
     61            <h5 tal:content="layout/getStudentName">Student name</h5>
     62            <ul>
     63              <tal:left content="structure provider:left_studentmanage" />
    3064            </ul>
    31             <ul id="user-navigation">
    32               <li tal:condition="not: layout/isAuthenticated">
    33               <a href="#" tal:attributes="href python: view.url(layout.site, 'login')">
    34                   Login
    35               </a>
    36               </li>
    37               <li tal:condition="layout/isAuthenticated">
    38               <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
    39                   Contact
    40               </a>
    41               </li>
    42               <li tal:condition="layout/isAuthenticated">
    43               <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a>
    44               </li>
     65          </div>
     66          <div tal:condition="layout/isAuthenticated">
     67            <h5 tal:content="layout/getUserTitle">Username</h5>
     68            <ul>
     69              <tal:left content="structure provider:left" />
    4570            </ul>
    46             <div class="clear">
    47             </div>
    4871          </div>
    4972        </div>
    5073      </div>
    51       <div id="bd" role="main">
    52         <span tal:condition="python: layout.isAuthenticated()"
    53               tal:content="structure provider:breadcrumbs" />
    54 
    55         <div class="yui-b">
    56           <div class="block" tal:condition="layout/getStudentName">
    57             <div class="hd">
    58               <h2 tal:content="layout/getStudentName">Student name</h2>
    59             </div>
    60             <div class="bd">
    61               <tal:left content="structure provider:left_studentmanage" />
    62             </div>
    63           </div>
    64           <div class="block" tal:condition="layout/isAuthenticated">
    65             <div class="hd">
    66               <h2 tal:content="layout/getUserTitle">Username</h2>
    67             </div>
    68             <div class="bd">
    69               <tal:left content="structure provider:left" />
    70             </div>
     74      <div class="span13 content">
     75        <div
     76            tal:define="message context/@@messages"
     77            tal:condition="python: len(message)>11">
     78          <div tal:content="structure message">
    7179          </div>
    7280        </div>
    73 
    74         <div id="yui-main">
    75           <div class="yui-b">
    76             <div class="yui-g">
    77               <div class="block">
    78                 <div class="hd" tal:condition="python: layout.isAuthenticated()">
    79                   <span tal:content="view/title"> THE CONTENT TITLE </span>
    80                   <span tal:condition="layout/getStudentName" class="wfstatus">
    81                   Sudent Id: <span tal:content="python:context.getStudent().student_id">Student Id</span>
    82                   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    83                   State: <span tal:content="python:context.getStudent().state">State</span>
    84                   </span>
    85                 </div>
    86                 <div class="bd">
    87                   <div class="actionbar">
    88                     <tal:actionbar content="structure provider:actionbar" />
    89                   </div>
    90                   <div class="alert warning ui-state-error"
    91                       tal:define="message context/@@messages"
    92                       tal:condition="python: len(message)>11">
    93                     <span class="ui-icon ui-icon-alert">A
    94                     </span>
    95                     <span tal:content="structure message">
    96                     </span>
    97                   </div>
    98                   <div tal:replace="structure view/content"> THE CONTENT
    99                   </div>
    100                 </div>
    101               </div>
    102             </div>
    103           </div>
     81        <span tal:replace="structure provider:actionbar" />
     82        <div tal:content="structure view/content"> THE CONTENT
    10483        </div>
    105 
    106       </div>
    107       <div id="ft" role="contentinfo">
    108         <p>Student Information and Registration Portal<br />
    109             Copyright &copy; WAeUP Group, 2008-2011
    110         </p>
     84        <div class="footer">
     85          <p class="pull-right"><a href="#">Back to top</a></p>
     86          <p>
     87            Student Information and Registration Portal<br />
     88            Copyright &copy; WAeUP Group, 2008-2012
     89          </p>
     90        </div>
    11191      </div>
    11292    </div>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt

    r7240 r7459  
    1010    <meta name="viewport" content="width=320, initial-scale=1, maximum-scale=1"/>
    1111    <link rel="stylesheet" media="only screen and (max-device-width: 480px)"
    12         tal:attributes="href python: view.url(layout.site, '@@/waeup.sirp.browser/mobile.css')" type="text/css" />
     12        tal:attributes="href python: view.url(layout.site, '@@/waeup.sirp.browser/mobile.css')"
     13        type="text/css" />
    1314    <link rel="shortcut icon" tal:attributes="href static/favicon.ico" type="image/x-icon" />
    1415    <link rel="alternate" type="application/rss+xml" title="RSS"
     
    1617        tal:attributes="title string:RSS feed of ${layout/getAppTitle};
    1718            href python: view.url(layout.site, 'feed.rss')" />
    18 
    1919  </head>
    20   <body class="rounded yui-skin-sam">
    21     <div id="doc3" class="yui-t7">
    22       <div id="hd" role="banner">
    23         <div id="hd">
    24           <h1 id="logo">
    25             <a href="" tal:attributes="href view/application_url">
    26               <span class="uni-logo">
    27               </span> </a>
    28             <span id="uni-title" tal:content="layout/getAppTitle"> Sample University
    29             </span> </h1>
    30           <div id="navigation" class="yui-navset" style="text-align:right;">
    31             <ul id="primary-navigation">
     20  <body>
     21    <div class="topbar" data-scrollspy="scrollspy" >
     22      <div class="topbar-inner">
     23        <div  class="container">
     24          <a class="brand" href="#" tal:content="layout/getAppAcronym">Acronym</a>
     25          <ul class="nav">
    3226              <tal:primary_nav content="structure provider:primary_nav" />
    3327              <tal:primary_nav content="structure provider:primary_nav_student" />
    34             </ul>
    35             <ul id="user-navigation">
    36               <li tal:condition="not: layout/isAuthenticated">
    37               <a href="#" tal:attributes="href python: view.url(layout.site, 'login')">
    38                   Login
    39               </a>
    40               </li>
    41               <li tal:condition="layout/isAuthenticated">
    42               <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
    43                   Contact
    44               </a>
    45               </li>
    46               <li tal:condition="layout/isAuthenticated">
    47               <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a>
    48               </li>
    49             </ul>
    50             <div class="clear">
    51             </div>
     28          </ul>
     29          <ul class="nav secondary-nav">
     30            <li tal:condition="not: layout/isAuthenticated">
     31            <a href="#" tal:attributes="href python: view.url(layout.site, 'login')">
     32                Login
     33            </a>
     34            </li>
     35            <li tal:condition="layout/isAuthenticated">
     36            <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
     37                Contact
     38            </a>
     39            </li>
     40            <li tal:condition="layout/isAuthenticated">
     41            <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a>
     42            </li>
     43          </ul>
     44        </div>
     45      </div>
     46    </div>
     47    <div class="container">
     48      <ul class="student-info-bar" tal:condition="layout/isAuthenticated">
     49        <tal:breadcrumbs
     50              tal:condition="python: layout.isAuthenticated()"
     51              tal:content="structure provider:breadcrumbs" />
     52        <span tal:condition="layout/getStudentName" class="wfstatus">
     53              Student Id:
     54            <span tal:replace="python:context.getStudent().student_id">Id
     55            </span>&nbsp;&nbsp;
     56            State:
     57            <span tal:replace="python:context.getStudent().state">State
     58            </span>
     59        </span>
     60      </ul>
     61      <div class="content">
     62        <div tal:define="message context/@@messages"
     63             tal:condition="python: len(message)>11">
     64          <div tal:content="structure message">
    5265          </div>
    5366        </div>
    54       </div>
    55       <div id="bd" role="main">
    56 
    57         <div class="yui-b">
    58           <div class="block" >
    59             <div class="studentmenu">
    60               <div tal:condition="layout/getStudentName"
    61                    tal:replace="structure provider:top_student">
    62                 Student Links
    63               </div>
    64               <div tal:content="structure provider:actionbar">
    65                 Student Actions
    66               </div>
    67             </div>
    68           </div>
     67        <span tal:replace="structure provider:actionbar" />
     68        <div tal:content="structure view/content"> THE CONTENT
    6969        </div>
    70 
    71         <div id="yui-main">
    72           <div class="yui-b">
    73             <div class="yui-g">
    74               <div class="block">
    75                 <div class="bd">
    76                   <div class="actionbar">
    77                     <span tal:condition="layout/getStudentName" class="wfstatus">
    78                     Id:
    79                     <span tal:replace="python:context.getStudent().student_id"
    80                         class="wfstatus">Id</span>
    81                     &nbsp;&nbsp;
    82                     State:
    83                     <span tal:replace="python:context.getStudent().state"
    84                         class="wfstatus">State</span>
    85                     </span>
    86                   </div>
    87                   <div class="alert warning ui-state-error"
    88                       tal:define="message context/@@messages"
    89                       tal:condition="python: len(message)>11">
    90                     <span class="ui-icon ui-icon-alert">A
    91                     </span>
    92                     <span tal:content="structure message">
    93                     </span>
    94                   </div>
    95                   <div tal:replace="structure view/content"> THE CONTENT
    96                   </div>
    97                 </div>
    98               </div>
    99             </div>
    100           </div>
     70        <div class="footer">
     71          <p class="pull-right"><a href="#">Back to top</a></p>
     72          <p>
     73            Student Information and Registration Portal<br />
     74            Copyright &copy; WAeUP Group, 2008-2012
     75          </p>
    10176        </div>
    102 
    103       </div>
    104       <div id="ft" role="contentinfo">
    105         <p>Student Information and Registration Portal<br />
    106             Copyright &copy; WAeUP Group, 2008-2011
    107         </p>
    10877      </div>
    10978    </div>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/subobjectlist.pt

    r5936 r7459  
    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/trunk/src/waeup/sirp/browser/templates/universitypage.pt

    r6907 r7459  
    1 <h2 tal:content="view/label">Title</h2>
     1<h1 tal:content="view/label">Title</h1>
    22
    33<span tal:replace="structure view/frontpage">Frontpage</span>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/usereditformpage.pt

    r7149 r7459  
    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">
    27             <label tal:attributes="for widget/name">
    28               <span class="required" tal:condition="widget/required">*</span>
    29               <span i18n:translate="" tal:content="widget/label">label</span>:
    30             </label>
     26          <td class="fieldname">
     27            <span tal:condition="widget/required">*</span>
     28            <span i18n:translate="" tal:content="widget/label">label</span>:
    3129          </td>
    32           <td class="field">
    33             <span class="widget" tal:content="structure widget">
     30          <td>
     31            <span tal:content="structure widget">
    3432              <input type="text" />
    3533            </span>
     
    3836            </tal:error>
    3937            <tal:hint tal:condition="widget/hint">
    40               <span class="hint" tal:content="structure widget/hint">hint</span>
     38              <span tal:content="structure widget/hint">hint</span>
    4139            </tal:hint>
    4240          </td>
     
    4442      </tal:block>
    4543      <tr>
    46         <td class="label"><label>Password:</label></td>
     44        <td class="fieldname">Password:</td>
    4745        <td>
    4846          <input name="password" type="password"  />
     
    5048      </tr>
    5149      <tr>
    52         <td class="label"><label>Retype password:</label></td>
     50        <td class="fieldname">Retype password:</td>
    5351        <td>
    5452          <input name="control_password" type="password" />
     
    5856    </tbody>
    5957  </table>
    60   <div class="actionButtons" tal:condition="view/availableActions">
     58  <div tal:condition="view/availableActions">
    6159    <input tal:repeat="action view/actions"
    6260           tal:replace="structure action/render"
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/userscontainerpage.pt

    r7178 r7459  
    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>
     
    2721          <input type="hidden" name="userid"
    2822           tal:attributes="value account/name"/>
    29             <input type="submit" name="manage" value="manage" />
    30             <input type="submit" name="delete" value="delete" />
     23            <input class="btn" type="submit" name="manage" value="manage" />
     24            <input class="btn" type="submit" name="delete" value="delete" />
    3125        </form>
    3226      </td>
Note: See TracChangeset for help on using the changeset viewer.