Ignore:
Timestamp:
22 Feb 2014, 15:46:03 (11 years ago)
Author:
uli
Message:

Merge changes from uli-diazo-themed back into trunk. If this works, then a miracle happened.

Location:
main/waeup.kofa/trunk
Files:
35 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk

  • main/waeup.kofa/trunk/src/waeup/kofa

  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/actionbutton.pt

    r9145 r11254  
    1 <a class="btn actionbar" tal:condition="viewlet/target_url"
     1<a class="btn btn-default" tal:condition="viewlet/target_url"
    22   tal:attributes="href viewlet/target_url; onclick viewlet/onclick">
    33  <img src="" alt="edit"
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/breadcrumbs.pt

    r7459 r11254  
    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>
    5     </a>
    6     <span tal:condition="not: repeat/item/end" class="divider">/</span>
    7   </li>
    8 </span>
     1<li tal:repeat="item viewlet/getEntries">
     2  <a href="#" tal:attributes="href item/url">
     3    <span tal:replace="item/title">Entry</span>
     4  </a>
     5</li>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/certificatemanagepage.pt

    r9320 r11254  
    22      enctype="multipart/form-data" i18n:domain="waeup.kofa">
    33
    4   <ul class="tabs" data-tabs="tabs">
    5     <li tal:attributes="class view/tab1"><a href="#tab-1" i18n:translate="">Settings</a></li>
    6     <li tal:attributes="class view/tab2"><a href="#tab-2" i18n:translate="">Certificate Courses</a></li>
    7     <li tal:attributes="class view/tab3"><a href="#tab-3" i18n:translate="">Local Roles</a></li>
     4  <ul class="tabs nav nav-tabs" data-tabs="tabs">
     5    <li class="active">
     6      <a href="#tab1" data-toggle="tab" i18n:translate="">Settings</a>
     7    </li>
     8    <li>
     9      <a href="#tab2" data-toggle="tab"
     10         i18n:translate="">Certificate Courses</a>
     11    </li>
     12    <li>
     13      <a href="#tab3" data-toggle="tab" i18n:translate="">Local Roles</a>
     14    </li>
    815  </ul>
    916
    1017  <div class="tab-content">
    11     <div id="tab-1" tal:attributes="class view/tab1">
    12     <table class="form-table">
    13       <tbody>
    14         <tal:widgets content="structure provider:widgets" />
    15       </tbody>
    16     </table>
    17     <div tal:condition="view/availableActions">
    18       <span tal:repeat="action view/actions"
    19             tal:omit-tag="">
    20         <input tal:condition="python:action.label in view.taboneactions"
    21                tal:replace="structure action/render"/>
    22       </span>
     18    <div id="tab1" class="active tab-pane">
     19      <table class="form-table">
     20        <tbody>
     21          <tal:widgets content="structure provider:widgets" />
     22        </tbody>
     23      </table>
     24      <div tal:condition="view/availableActions">
     25        <span tal:repeat="action view/actions"
     26              tal:omit-tag="">
     27          <input tal:condition="python:action.label in view.taboneactions"
     28                 tal:replace="structure action/render"/>
     29        </span>
     30      </div>
    2331    </div>
    24     </div>
    25     <div id="tab-2" tal:attributes="class view/tab2">
    26       <h3>
    27         <span tal:content="context/__name__">Code</span>
    28         <span i18n:domain="waeup.kofa" i18n:translate="">Courses</span>
    29       </h3>
    30       <table class="display dataTableManage">
     32    <div id="tab2" class="tab-pane">
     33      <br />
     34      <table class="kofa-data-table dataTableManage">
    3135        <thead>
    3236          <tr>
     
    4145        </thead>
    4246        <tbody>
    43           <tr tal:repeat="cc context/values" class="gradeC">
    44              <td>
     47          <tr tal:repeat="cc context/values">
     48            <td>
    4549              <input type="checkbox" name="val_id"
    46                         tal:attributes="value cc/__name__" />
     50                    tal:attributes="value cc/__name__" />
    4751            </td>
    48              <td>
     52            <td>
    4953              <span tal:content="cc/level">
    50                    LEVEL
     54                LEVEL
    5155              </span>
    5256            </td>
     
    5458            <td>
    5559              <a tal:attributes="href python: view.url(cc)"
    56                      tal:content="cc/__name__">
     60                 tal:content="cc/__name__">
    5761                REFERRER CODE
    5862              </a>
     
    6064            <td>
    6165              <a tal:attributes="href python:view.url(cc.course)"
    62                      tal:content="cc/course/code">
     66                 tal:content="cc/course/code">
    6367                COURSE CODE
    6468              </a>
     
    6670            <td>
    6771              <span tal:content="cc/course/title">
    68                    COURSE TITLE
     72                COURSE TITLE
    6973              </span>
    7074            </td>
    7175            <td>
    7276              <span tal:content="cc/mandatory">
    73                    REQUIRED
     77                REQUIRED
    7478              </span>
    7579            </td>
     
    8589      </div>
    8690    </div>
    87     <div id="tab-3" tal:attributes="class view/tab3"> <br />
    88       <table class="display dataTableManage">
     91    <div id="tab3" class="tab-pane">
     92      <br />
     93      <table class="kofa-data-table dataTableManage">
    8994        <thead>
    9095          <tr>
     
    100105        </thead>
    101106        <tbody>
    102           <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>
    103               <input type="checkbox" name="role_id"
    104                 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     107          <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td>
     108            <input type="checkbox" name="role_id"
     109                   tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    105110            <td tal:content="entry/user_name"> USERNAME </td>
    106111            <td tal:content="entry/user_title"> USERTITLE </td>
     
    112117        <span tal:repeat="action view/actions" tal:omit-tag="">
    113118          <input tal:condition="python:action.label in view.tabthreeactions1"
    114             tal:replace="structure action/render"/>
     119                 tal:replace="structure action/render"/>
    115120        </span>
    116121      </div><br /><br />
    117       <table class="form-table">
    118         <tr> <td>
    119             <select id="user" name="user">
    120               <option tal:repeat="user view/getUsers"
    121                 tal:attributes="value user/name">
    122               <span tal:replace="user/val/title">USERTITLE
    123               </span>
    124               </option>
    125             </select> </td> <td>
    126             <select id="local_role" name="local_role">
    127               <option tal:repeat="localrole view/getLocalRoles"
    128                 tal:attributes="value localrole/name">
    129               <span tal:replace="localrole/title">LOCALROLETITLE
    130               </span>
    131               </option>
    132             </select> </td> <td>
    133             <div tal:condition="view/availableActions">
    134               <span tal:repeat="action view/actions" tal:omit-tag="">
    135                 <input tal:condition="python:action.label in view.tabthreeactions2"
    136                   tal:replace="structure action/render"/>
    137               </span>
    138             </div> </td>
    139         </tr>
    140       </table>
     122      <div class="form-inline">
     123        <br />
     124        <div class="form-group">
     125          <select id="user" name="user" class="form-control">
     126            <option tal:repeat="user view/getUsers"
     127                    tal:attributes="value user/name">
     128            <span tal:replace="user/val/title">USERTITLE
     129            </span>
     130            </option>
     131          </select>
     132        </div>
     133        <div class="form-group">
     134          <select id="local_role" name="local_role" class="form-control">
     135            <option tal:repeat="localrole view/getLocalRoles"
     136                    tal:attributes="value localrole/name">
     137            <span tal:replace="localrole/title">LOCALROLETITLE
     138            </span>
     139            </option>
     140          </select>
     141        </div>
     142        <div class="form-group">
     143          <div tal:condition="view/availableActions">
     144            <span tal:repeat="action view/actions" tal:omit-tag="">
     145              <input tal:condition="python:action.label in view.tabthreeactions2"
     146                     tal:replace="structure action/render"/>
     147            </span>
     148          </div>
     149        </div>
     150      </div>
    141151    </div>
    142152  </div>
    143153</form>
    144 
    145 
    146 
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/certificatepage.pt

    r9320 r11254  
    2323</h3>
    2424<br />
    25 <table i18n:domain="waeup.kofa" class="display dataTable">
     25<table i18n:domain="waeup.kofa" class="kofa-data-table dataTable">
    2626<thead>
    2727  <tr>
     
    3535</thead>
    3636<tbody>
    37   <tr tal:repeat="cc context/values" class="gradeC">
     37  <tr tal:repeat="cc context/values">
    3838     <td>
    3939      <span tal:content="cc/level">
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/configurationmanagepage.pt

    r7811 r11254  
    11<form action="." tal:attributes="action request/URL" method="POST"
    2   enctype="multipart/form-data" i18n:domain="waeup.kofa">
    3     <ul class="tabs" data-tabs="tabs">
    4       <li tal:attributes="class view/tab1">
    5       <a href="#tab-1" i18n:translate="">Site Settings</a>
    6       </li>
    7       <li tal:attributes="class view/tab2">
    8       <a href="#tab-2" i18n:translate="">Session Configurations</a>
    9       </li>
    10     </ul>
    11     <div class="tab-content">
    12     <div id="tab-1" tal:attributes="class view/tab1">
     2      enctype="multipart/form-data" i18n:domain="waeup.kofa">
     3  <ul class="tabs nav nav-tabs" data-tabs="tabs">
     4    <li class="active">
     5      <a href="#tab1" data-toggle="tab"
     6         i18n:translate="">Site Settings</a>
     7    </li>
     8    <li>
     9      <a href="#tab2"  data-toggle="tab"
     10         i18n:translate="">Session Configurations</a>
     11    </li>
     12  </ul>
     13  <div class="tab-content">
     14    <div id="tab1" class="active tab-pane">
    1315      <table class="form-table">
    1416        <tbody>
     
    2325      </div>
    2426    </div>
    25     <div id="tab-2" tal:attributes="class view/tab2"> <br />
    26       <table class="display dataTableManage">
     27    <div id="tab2" class="tab-pane">
     28      <br />
     29      <table class="kofa-data-table dataTableManage">
    2730        <thead>
    2831          <tr>
     
    3437        </thead>
    3538        <tbody>
    36           <tr tal:repeat="entry view/getSessionConfigurations" class="gradeC"> <td>
    37               <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td>
    38               <a href="" tal:attributes="href entry/url" tal:content="entry/title">Name</a> </td>
     39          <tr tal:repeat="entry view/getSessionConfigurations">
     40            <td>
     41            <input type="checkbox" name="val_id"
     42                   tal:attributes="value entry/name" /> </td> <td>
     43            <a href="" tal:attributes="href entry/url"
     44               tal:content="entry/title">Name</a> </td>
    3945          </tr>
    4046        </tbody>
     
    4349        <span tal:repeat="action view/actions" tal:omit-tag="">
    4450          <input tal:condition="python:action.label in view.tabtwoactions"
    45             tal:replace="structure action/render"/>
     51                 tal:replace="structure action/render"/>
    4652        </span>
    4753      </div>
    48     </div>
    49   </div>
     54    </div><!-- /tab2 -->
     55  </div><!-- /tab-content -->
    5056</form>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/coursemanagepage.pt

    r10540 r11254  
    22      enctype="multipart/form-data" i18n:domain="waeup.kofa">
    33
    4   <ul class="tabs" data-tabs="tabs">
    5     <li tal:attributes="class view/tab1"><a href="#tab-1" i18n:translate="">Settings</a></li>
    6     <li tal:attributes="class view/tab2"><a href="#tab-3" i18n:translate="">Local Roles</a></li>
     4  <ul class="tabs nav nav-tabs" data-tabs="tabs">
     5    <li class="active">
     6      <a href="#tab1" data-toggle="tab" i18n:translate="">Settings</a>
     7    </li>
     8    <li>
     9      <a href="#tab3" data-toggle="tab" i18n:translate="">Local Roles</a>
     10    </li>
    711  </ul>
    812
    913  <div class="tab-content">
    10     <div id="tab-1" tal:attributes="class view/tab1">
    11     <table class="form-table">
    12       <tbody>
    13         <tal:widgets content="structure provider:widgets" />
    14       </tbody>
    15     </table>
    16     <div tal:condition="view/availableActions">
    17       <span tal:repeat="action view/actions"
    18             tal:omit-tag="">
    19         <input tal:condition="python:action.label in view.taboneactions"
    20                tal:replace="structure action/render"/>
    21       </span>
     14    <div id="tab1" class="tab-pane active">
     15      <table class="form-table">
     16        <tbody>
     17          <tal:widgets content="structure provider:widgets" />
     18        </tbody>
     19      </table>
     20      <div tal:condition="view/availableActions">
     21        <span tal:repeat="action view/actions"
     22              tal:omit-tag="">
     23          <input tal:condition="python:action.label in view.taboneactions"
     24                 tal:replace="structure action/render"/>
     25        </span>
     26      </div>
    2227    </div>
    23     </div>
    24     <div id="tab-3" tal:attributes="class view/tab2"> <br />
    25       <table class="display dataTableManage">
     28    <div id="tab3" class="tab-pane">
     29      <br />
     30      <table class="kofa-data-table dataTableManage">
    2631        <thead>
    2732          <tr>
     
    3742        </thead>
    3843        <tbody>
    39           <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>
    40               <input type="checkbox" name="role_id"
    41                 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     44          <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td>
     45            <input type="checkbox" name="role_id"
     46                   tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    4247            <td tal:content="entry/user_name"> USERNAME </td>
    4348            <td tal:content="entry/user_title"> USERTITLE </td>
     
    4954        <span tal:repeat="action view/actions" tal:omit-tag="">
    5055          <input tal:condition="python:action.label in view.tabtwoactions1"
    51             tal:replace="structure action/render"/>
     56                 tal:replace="structure action/render"/>
    5257        </span>
    5358      </div><br /><br />
    54       <table class="form-table">
    55         <tr> <td>
    56             <select id="user" name="user">
    57               <option tal:repeat="user view/getUsers"
    58                 tal:attributes="value user/name">
    59               <span tal:replace="user/val/title">USERTITLE
    60               </span>
    61               </option>
    62             </select> </td> <td>
    63             <select id="local_role" name="local_role">
    64               <option tal:repeat="localrole view/getLocalRoles"
    65                 tal:attributes="value localrole/name">
    66               <span tal:replace="localrole/title">LOCALROLETITLE
    67               </span>
    68               </option>
    69             </select> </td> <td>
    70             <div tal:condition="view/availableActions">
    71               <span tal:repeat="action view/actions" tal:omit-tag="">
    72                 <input tal:condition="python:action.label in view.tabtwoactions2"
    73                   tal:replace="structure action/render"/>
    74               </span>
    75             </div> </td>
    76         </tr>
    77       </table>
     59      <div class="form-inline">
     60        <br />
     61        <div class="form-group">
     62          <select id="user" name="user" class="form-control">
     63            <option tal:repeat="user view/getUsers"
     64                    tal:attributes="value user/name">
     65            <span tal:replace="user/val/title">USERTITLE
     66            </span>
     67            </option>
     68          </select>
     69        </div>
     70        <div class="form-group">
     71          <select id="local_role" name="local_role" class="form-control">
     72            <option tal:repeat="localrole view/getLocalRoles"
     73                    tal:attributes="value localrole/name">
     74            <span tal:replace="localrole/title">LOCALROLETITLE
     75            </span>
     76            </option>
     77          </select>
     78        </div>
     79        <div class="form-group">
     80          <div tal:condition="view/availableActions">
     81                <span tal:repeat="action view/actions" tal:omit-tag="">
     82                  <input tal:condition="python:action.label in view.tabtwoactions2"
     83                         tal:replace="structure action/render"/>
     84                </span>
     85          </div>
     86        </div>
     87      </div>
    7888    </div>
    7989  </div>
    8090</form>
    81 
    82 
    83 
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterexportpage.pt

    r9841 r11254  
    88<br />
    99
    10 <form  method="POST">
     10<form  method="POST" class="form-inline">
    1111  <label for="exporter">
    1212    Exporter (Data Type):
    1313  </label>
    14   <div class="input">
    15     <select name="exporter">
     14  <div class="form-group">
     15    <select name="exporter" class="form-control half">
    1616      <span tal:repeat="items view/getExporters" tal:omit-tag="">
    1717        <option tal:define="name python: items[1]; title python: items[0]"
     
    2323    </select>
    2424  </div>
    25   <br />
    26   <div class="input">
    27     <input i18n:translate="" type="submit" class="btn primary"
     25  <div class="form-group">
     26    <input i18n:translate="" type="submit" class="btn btn-primary"
    2827      name="CREATE" tal:attributes="value view/export_button" />
     28  </div>
     29  <div class="form-group">
     30  <input type="submit" name="CANCEL" class="btn btn-default"
     31      tal:attributes="value view/cancel_button" />
    2932  </div>
    3033</form>
     
    3942<br /><br />
    4043
    41 <table i18n:domain="waeup.kofa">
     44<table i18n:domain="waeup.kofa" class="table table-condensed table-hover">
    4245  <thead>
    4346    <tr>
     
    6568        <span tal:replace="job/creator">CREATOR</span>
    6669      </td>
    67       <td nowrap>
     70      <td>
    6871        <span tal:replace="job/start_time">DATETIME</span>
    6972      </td>
     
    7275      </td>
    7376      <td nowrap>
    74         <a href="" class="btn small" i18n:translate=""
     77        <a href="" class="btn btn-default btn-xs" i18n:translate=""
    7578           tal:condition="job/show_refresh_button">
    76           <img tal:attributes="src static/actionicon_reload.png" />
     79          <img src="/static/img/actionicon_reload.png" />
    7780          Reload
    7881        </a>
    7982        <form method="POST">
    80           <a href="" class="btn primary small"
     83          <a href="" class="btn btn-primary btn-xs"
    8184                 tal:attributes="href job/download_url"
    8285                 tal:condition="job/show_download_button">
    8386            Download</a>
    84 
    8587          <input type="hidden" name="job_id"
    8688                 tal:attributes="value job/job" />
    87           <input type="submit" class="btn small"
     89          <input type="submit" class="btn btn-default btn-xs"
    8890                 name="DISCARD" value="Discard"
    8991                 tal:condition="job/show_discard_button" />
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterfinishedpage.pt

    r9592 r11254  
    44  imports. The files contain the imported datasets.
    55</p>
    6 <table i18n:domain="waeup.kofa" class="display dataTableFiles">
     6<table i18n:domain="waeup.kofa" class="kofa-data-table dataTableFiles">
    77  <thead>
    88    <tr>
     
    1313  </thead>
    1414  <tbody>
    15     <tr tal:repeat="file context/getFinishedFiles" class="gradeC">
     15    <tr tal:repeat="file context/getFinishedFiles">
    1616      <td><a tal:attributes="href python: 'download?filename=' + file.rel_path"
    1717             tal:content="file/name">FILENAME</a></td>
     
    2121  </tbody>
    2222</table>
     23<form method="POST">
     24  <input i18n:translate="" type="submit" class="btn btn-default" name="CANCEL"
     25      tal:attributes="value view/cancel_button"/>
     26</form>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterimport1page.pt

    r7811 r11254  
    88</p>
    99<form i18n:domain="waeup.kofa" method="POST">
    10   <table>
     10  <table class="table">
    1111    <thead>
    1212      <th />
     
    2020        <td>
    2121          <button i18n:translate=""
    22             type="submit" name="select" class="btn primary"
     22            type="submit" name="select" class="btn btn-primary"
    2323            tal:attributes="value file/name">Select</button>
    2424        </td>
     
    3030    </tbody>
    3131  </table>
    32   <input type="submit" name="cancel" class="btn"
     32  <input type="submit" name="cancel" class="btn btn-default"
    3333      tal:attributes="value view/cancel_button" />
    3434</form>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterimport2page.pt

    r8651 r11254  
    99    Please select a file-processor and a processing-mode from the selections below.
    1010  </p>
    11   <div>
    12     <table tal:define="prev_table view/getPreviewTable;">
    13       <thead>
    14         <tr>
    15           <th i18n:translate="">Header</th>
    16           <th i18n:translate="">Sample Record 1</th>
    17           <th i18n:translate="">Sample Record 2</th>
    18           <th i18n:translate="">Sample Record 3</th>
    19         </tr>
    20       </thead>
    21       <tbody>
    22         <tr tal:repeat="row prev_table">
    23           <td tal:repeat="value row"
    24               tal:content="value"> value
    25           </td>
    26         </tr>
    27       </tbody>
    28     </table>
    29   </div>
     11  <table tal:define="prev_table view/getPreviewTable;" class="table table-condensed">
     12    <thead>
     13      <tr>
     14        <th i18n:translate="">Header</th>
     15        <th i18n:translate="">Sample Record 1</th>
     16        <th i18n:translate="">Sample Record 2</th>
     17        <th i18n:translate="">Sample Record 3</th>
     18      </tr>
     19    </thead>
     20    <tbody>
     21      <tr tal:repeat="row prev_table">
     22        <td tal:repeat="value row"
     23            tal:content="value"> value
     24        </td>
     25      </tr>
     26    </tbody>
     27  </table>
    3028  <div> <b i18n:translate="">Processor:</b>
    31     <select name="importer">
     29    <select name="importer" class="form-control">
    3230      <option tal:repeat="importer view/getImporters"
    3331          tal:attributes="value importer/name;
     
    5553    </p>
    5654  </div>
    57   <input class="btn" type="submit" name="cancel" tal:attributes="value view/cancel_button" />
    58   <input class="btn danger" type="submit" name="back1" tal:attributes="value view/back_button" />
    59   <input class="btn primary"
     55  <input class="btn btn-default" type="submit" name="cancel" tal:attributes="value view/cancel_button" />
     56  <input class="btn btn-danger" type="submit" name="back1" tal:attributes="value view/back_button" />
     57  <input class="btn btn-primary"
    6058    tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''; value view/proceed_button"
    6159    type="submit" name="proceed" />
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterimport3page.pt

    r8783 r11254  
    11<div i18n:domain="waeup.kofa" i18n:translate=""
    2   class="alert-message success" tal:condition="not: view/getWarnings">
     2  class="alert alert-success" tal:condition="not: view/getWarnings">
    33  Header fields OK
    44</div>
     
    2929
    3030  <div>
    31 
    32 
    3331    <table tal:define="prev_table view/getPreviewTable;
    34                        headers view/headerfields;">
     32                       headers view/headerfields;"
     33            class="table">
    3534      <thead>
    3635        <tr>
     
    4544          </td>
    4645          <td>
    47             <select class="span4" name="headerfield">
     46            <select name="headerfield" class="form-control">
    4847              <option tal:repeat="opt view/getPossibleHeaders"
    4948                tal:attributes="value opt/value;
     
    6261  </div>
    6362
    64   <input class="btn" type="submit" name="cancel"
     63  <input class="btn btn-default" type="submit" name="cancel"
    6564    tal:attributes="value view/cancel_button" />
    66   <input class="btn" type="reset" name="reset"
     65  <input class="btn btn-default" type="reset" name="reset"
    6766    tal:attributes="value view/reset_button" />
    68   <input class="btn" type="submit" name="update"
     67  <input class="btn btn-default" type="submit" name="update"
    6968    tal:attributes="value view/update_button" />
    7069  <br /><br />
    71   <input class="btn danger" type="submit" name="back2"
     70  <input class="btn btn-danger" type="submit" name="back2"
    7271    tal:attributes="value view/back_button" />
    73   <input class="btn primary"
     72  <input class="btn btn-primary"
    7473    tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''; value view/proceed_button"
    7574    type="submit" name="proceed"/>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterimport4page.pt

    r10099 r11254  
    1515</p>
    1616<form method="POST" i18n:domain="waeup.kofa">
    17   <input class="btn primary" type="submit" name="finish"
     17  <input class="btn btn-primary" type="submit" name="finish"
    1818    tal:attributes="value view/back_button" />
    1919</form>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterlogspage.pt

    r9641 r11254  
    33  Currently no log files are available.
    44  </p>
    5   <table tal:condition="files" class="table condensed-table">
     5  <table tal:condition="files" class="table">
    66    <thead>
    77      <tr>
     
    1717    </thead>
    1818    <tbody>
    19       <tr tal:repeat="file files"
    20           tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'">
    21         <td class="text-center">
     19      <tr tal:repeat="file files">
     20        <td>
    2221          <form method="POST" action="@@show">
    23             <input i18n:translate="" type="submit" class="btn primary"
    24                    name="show" tal:attributes="value view/show_button" />
     22            <input i18n:translate="" type="submit" class="btn btn-primary"
     23                   name="show" tal:attributes="value view/show_button" />
    2524            <input type="hidden" name="logname"
    26                    tal:attributes="value file/name" />
     25                   tal:attributes="value file/name" />
    2726          </form></td>
    2827        <td tal:content="file/name">file.name</td>
     
    3332  </table>
    3433  <form method="POST">
    35     <button class="btn primary">
    36       <span i18n:translate="">Reload page</span>
    37     </button>
    38     <input i18n:translate="" type="submit" class="btn" name="back"
     34    <input i18n:translate="" type="submit" class="btn btn-default" name="back"
    3935        tal:attributes="value view/back_button"/>
    4036  </form>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterlogsshowfilepage.pt

    r8529 r11254  
    11<form method="post" class="form-horizontal">
    2   <input type="text" name="query"
     2  <input type="text" name="query" class="form-control"
    33         tal:attributes="value view/query; placeholder view/placeholder" />
    4   <input class="btn primary" type="submit" name="search"
     4  <input class="btn btn-primary" type="submit" name="search"
    55         tal:attributes="value view/search_button" />
    6   <input class="btn" type="submit" name="back"
     6  <input class="btn btn-default" type="submit" name="back"
    77         tal:attributes="value view/back_button" />
    88  <input type="hidden" name="logname"
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacentermanagepage.pt

    r7811 r11254  
    11<form  i18n:domain="waeup.kofa" method="POST">
    2   <div>
    3     <span  i18n:translate="">Storage path:</span>
    4     <input type="text" name="newpath"
    5      tal:attributes="value context/storage" />
    6     <br /><br />
    7     <span  i18n:translate="">
    8     Copy existing data to new storage?
    9     </span>&nbsp;&nbsp;
    10     <input type="checkbox" name="move" checked="checked" />
    11     <br /><br />
    12     <span  i18n:translate="">
    13     Overwrite contents in new location?
    14     </span>&nbsp;&nbsp;
    15     <input type="checkbox" name="overwrite" checked="no" />
    16     <br /><br />
    17     <input class="btn primary" type="submit" name="save"
    18         tal:attributes="value view/save_button" />
    19     <input class="btn" type="reset" name="reset"
    20         tal:attributes="value view/reset_button" />
    21     <input class="btn" type="submit" name="cancel"
    22         tal:attributes="value view/cancel_button" />
     2
     3  <br />
     4  <div class="form-group">
     5    <label i18n:translate="">Storage path</label>
     6        <input type="text" name="newpath" class="form-control"
     7               tal:attributes="value context/storage" />
    238  </div>
     9
     10  <div class="checkbox">
     11    <label>
     12      <input type="checkbox" name="move"  checked="checked">
     13      Copy existing data to new storage?
     14    </label>
     15  </div>
     16
     17  <div class="checkbox">
     18    <label>
     19      <input type="checkbox" name="overwrite">
     20      Overwrite contents in new location?
     21    </label>
     22  </div>
     23
     24  <input class="btn btn-primary" type="submit" name="save"
     25      tal:attributes="value view/save_button" />
     26  <input class="btn btn-default" type="reset" name="reset"
     27      tal:attributes="value view/reset_button" />
     28  <input class="btn btn-default" type="submit" name="cancel"
     29      tal:attributes="value view/cancel_button" />
    2430</form>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterpage.pt

    r9610 r11254  
    1111<form action="." tal:attributes="action request/URL" method="post"
    1212      i18n:domain="waeup.kofa" enctype="multipart/form-data">
    13     <table i18n:domain="waeup.kofa" class="display dataTableManageFiles">
     13    <table i18n:domain="waeup.kofa" class="kofa-data-table dataTableManageFiles">
    1414      <thead>
    1515        <tr>
     
    2121      </thead>
    2222      <tbody>
    23         <tr tal:repeat="file context/getPendingFiles" class="gradeC">
     23        <tr tal:repeat="file context/getPendingFiles">
    2424          <td>
    2525            <input type="checkbox" name="val_id"
     
    3333      </tbody>
    3434    </table>
    35       <div tal:condition="view/availableActions">
    36         <span tal:repeat="action view/actions" tal:omit-tag="">
    37           <input tal:replace="structure action/render"/>
    38         </span>
    39       </div>
     35    <div tal:condition="view/availableActions">
     36      <span tal:repeat="action view/actions" tal:omit-tag="">
     37        <input tal:replace="structure action/render"/>
     38      </span>
     39    </div>
    4040</form>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenteruploadpage.pt

    r9930 r11254  
    2424      </td>
    2525      <td>
    26         <select name="importer">
     26        <select name="importer" class="form-control half">
    2727          <option tal:repeat="importer view/getImporters"
    2828              tal:attributes="value importer/title"
     
    3737      </td>
    3838      <td>
    39         <select name="import_mode">
     39        <select name="import_mode" class="form-control half">
    4040          <option value='Create'>Create</option>
    4141          <option value='Update'>Update</option>
     
    4444      </td>
    4545    </tr>
    46     <tr>
    47       <td>
    48         <input class="btn primary" type="submit" name="SUBMIT"
    49             tal:attributes="value view/upload_button" />
    50         <input class="btn" type="submit" name="CANCEL"
    51             tal:attributes="value view/cancel_button"/>
    52       </td>
    53       <td>
    54       </td>
    55     </tr>
    5646  </table>
     47  <br />
     48  <input class="btn btn-primary" type="submit" name="SUBMIT"
     49      tal:attributes="value view/upload_button" />
     50  <input class="btn btn-default" type="submit" name="CANCEL"
     51      tal:attributes="value view/cancel_button"/>
    5752</form>
    58 
     53<br />
    5954<p i18n:translate="">
    6055    Import managers will be automatically informed by email after file upload.
     
    6762<h2 i18n:translate="">Available Processors (Importers)</h2>
    6863
    69 <table i18n:domain="waeup.kofa">
     64<table i18n:domain="waeup.kofa" class="table table-condensed">
    7065  <thead>
    7166    <tr>
     
    7469      <th i18n:translate="">Optional Schema Fields</th>
    7570      <th i18n:translate="">Non-Schema Fields</th>
    76       <th i18n:translate="">CSV Skeleton File</th>
    7771    </tr>
    7872  </thead>
    7973  <tr tal:repeat="importer view/getImporters">
    80     <td tal:content="importer/title"></td>
     74    <td>
     75      <span tal:content="importer/title">TITLE</span><br /><br />
     76      <a i18n:translate="" class="btn btn-primary btn-xs"
     77         tal:attributes="href python: 'skeleton?name=' + importer['name']">
     78         Download CSV Skeleton File
     79      </a>
     80    </td>
    8181    <td nowrap>
    8282      <span tal:repeat="field importer/fields">
     
    110110    </td>
    111111
    112     <td>
    113       <a i18n:translate=""
    114          tal:attributes="href python: 'skeleton?name=' + importer['name']">Download</a>
    115     </td>
    116112  </tr>
    117113</table>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/departmentmanagepage.pt

    r7811 r11254  
    11<form action="." tal:attributes="action request/URL" method="POST"
    2   i18n:domain="waeup.kofa" enctype="multipart/form-data">
    3   <ul class="tabs" data-tabs="tabs">
    4     <li tal:attributes="class view/tab1">
    5     <a href="#tab-1">
    6       <span i18n:translate="">Settings
    7       </span></a>
     2      i18n:domain="waeup.kofa" enctype="multipart/form-data">
     3  <ul class="tabs nav nav-tabs" data-tabs="tabs">
     4    <li class="active">
     5      <a href="#tab1" data-toggle="tab">
     6      <span i18n:translate="">Settings</span></a>
    87    </li>
    9     <li tal:attributes="class view/tab2">
    10     <a href="#tab-2" i18n:translate="">Courses</a>
     8    <li>
     9      <a href="#tab2"  data-toggle="tab" i18n:translate="">Courses</a>
    1110    </li>
    12     <li tal:attributes="class view/tab3">
    13     <a href="#tab-3" i18n:translate="">Certificates</a>
     11    <li>
     12      <a href="#tab3"  data-toggle="tab" i18n:translate="">Certificates</a>
    1413    </li>
    15     <li tal:attributes="class view/tab4">
    16     <a href="#tab-4" i18n:translate="">Local Roles</a>
     14    <li>
     15      <a href="#tab4"  data-toggle="tab" i18n:translate="">Local Roles</a>
    1716    </li>
    1817  </ul>
    1918  <div class="tab-content">
    20     <div id="tab-1" tal:attributes="class view/tab1">
     19    <div id="tab1" class="active tab-pane">
    2120      <table class="form-table">
    2221        <tbody>
     
    2726        <span tal:repeat="action view/actions" tal:omit-tag="">
    2827          <input tal:condition="python:action.label in view.taboneactions"
    29             tal:replace="structure action/render"/>
     28                 tal:replace="structure action/render"/>
    3029        </span>
    3130      </div>
    3231    </div>
    33     <div id="tab-2" tal:attributes="class view/tab2"> <br />
    34       <table class="display dataTableManage">
     32    <div id="tab2" class="tab-pane">
     33      <br />
     34      <table class="kofa-data-table dataTableManage">
    3535        <thead>
    3636          <tr>
     
    4444        </thead>
    4545        <tbody>
    46           <tr tal:repeat="entry view/getCourses" class="gradeC"> <td>
    47               <input type="checkbox" name="val_id"
    48                 tal:attributes="value entry/name" /> </td> <td>
    49               <a href="" tal:attributes="href entry/url"
    50                 tal:content="entry/name">Name</a> </td>
     46          <tr tal:repeat="entry view/getCourses"> <td>
     47            <input type="checkbox" name="val_id"
     48                   tal:attributes="value entry/name" /> </td> <td>
     49            <a href="" tal:attributes="href entry/url"
     50               tal:content="entry/name">Name</a> </td>
    5151            <td tal:content="entry/container/title"> Title </td>
    5252          </tr>
     
    5656        <span tal:repeat="action view/actions" tal:omit-tag="">
    5757          <input tal:condition="python:action.label in view.tabtwoactions"
    58             tal:replace="structure action/render"/>
     58                 tal:replace="structure action/render"/>
    5959        </span>
    6060      </div>
    6161    </div>
    62     <div id="tab-3" tal:attributes="class view/tab3"> <br />
    63       <table class="display dataTableManage">
     62    <div id="tab3" class="tab-pane">
     63      <br />
     64      <table class="kofa-data-table dataTableManage">
    6465        <thead>
    6566          <tr>
     
    7374        </thead>
    7475        <tbody>
    75           <tr tal:repeat="entry view/getCertificates" class="gradeC"> <td>
    76               <input type="checkbox" name="val_id"
    77                 tal:attributes="value entry/name" /> </td> <td>
    78               <a href="" tal:attributes="href entry/url"
    79                 tal:content="entry/name">Name</a> </td>
     76          <tr tal:repeat="entry view/getCertificates"> <td>
     77            <input type="checkbox" name="val_id"
     78                   tal:attributes="value entry/name" /> </td> <td>
     79            <a href="" tal:attributes="href entry/url"
     80               tal:content="entry/name">Name</a> </td>
    8081            <td tal:content="entry/container/title"> Title  </td>
    8182          </tr>
     
    8586        <span tal:repeat="action view/actions" tal:omit-tag="">
    8687          <input tal:condition="python:action.label in view.tabthreeactions"
    87             tal:replace="structure action/render"/>
     88                 tal:replace="structure action/render"/>
    8889        </span>
    8990      </div>
    9091    </div>
    91     <div id="tab-4" tal:attributes="class view/tab4"> <br />
    92       <table class="display dataTableManage">
     92    <div id="tab4" class="tab-pane"> <br />
     93      <table class="kofa-data-table dataTableManage">
    9394        <thead>
    9495          <tr>
     
    104105        </thead>
    105106        <tbody>
    106           <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC">
     107          <tr tal:repeat="entry view/getUsersWithLocalRoles">
    107108            <td> <input type="checkbox" name="role_id"
    108                 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     109            tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    109110            <td tal:content="entry/user_name"> USERNAME </td>
    110111            <td tal:content="entry/user_title"> USERTITLE </td>
     
    116117        <span tal:repeat="action view/actions" tal:omit-tag="">
    117118          <input tal:condition="python:action.label in view.tabfouractions1"
    118             tal:replace="structure action/render"/>
     119                 tal:replace="structure action/render"/>
    119120        </span>
    120121      </div> <br /><br />
    121       <table class="form-table">
    122         <tr> <td>
    123             <select id="user" name="user">
    124               <option tal:attributes="value user/name" tal:repeat="user view/getUsers">
    125               <span tal:replace="user/val/title">USERTITLE
    126               </span>
    127               </option>
    128             </select> </td> <td>
    129             <select id="local_role" name="local_role">
    130               <option tal:attributes="value localrole/name"
    131                 tal:repeat="localrole view/getLocalRoles">
    132               <span tal:replace="localrole/title">LOCALROLETITLE
    133               </span>
    134               </option>
    135             </select> </td> <td>
    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.tabfouractions2"
    139                   tal:replace="structure action/render"/>
    140               </span>
    141             </div> </td>
    142         </tr>
    143       </table>
     122      <div class="form-inline">
     123        <br />
     124        <div class="form-group">
     125          <select class="form-control" id="user" name="user">
     126            <option tal:repeat="user view/getUsers"
     127                    tal:attributes="value user/name">
     128            <span tal:replace="user/val/title">USERTITLE
     129            </span>
     130            </option>
     131          </select>
     132        </div>
     133        <div class="form-group">
     134          <select class="form-control" id="local_role" name="local_role">
     135            <option tal:repeat="localrole view/getLocalRoles"
     136                    tal:attributes="value localrole/name">
     137            <span tal:replace="localrole/title">LOCALROLETITLE
     138            </span>
     139            </option>
     140          </select>
     141        </div>
     142        <div class="form-group">
     143          <div tal:condition="view/availableActions">
     144            <span tal:repeat="action view/actions" tal:omit-tag="">
     145              <input tal:condition="python:action.label in view.tabfouractions2"
     146                     tal:replace="structure action/render"/>
     147            </span>
     148          </div>
     149        </div>
     150      </div>
    144151    </div>
    145152  </div>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/departmentpage.pt

    r8481 r11254  
    1 <ul i18n:domain="waeup.kofa" class="tabs" data-tabs="tabs">
    2   <li class="active"><a href="#tab-1">
    3    <span i18n:translate="">Courses</span></a>
     1<ul i18n:domain="waeup.kofa" class="tabs nav nav-tabs" data-tabs="tabs">
     2  <li class="active"><a href="#tab1" data-toggle="tab">
     3    <span i18n:translate="">Courses</span></a>
    44  </li>
    5   <li><a href="#tab-2">
     5  <li><a href="#tab2" data-toggle="tab">
    66    <span i18n:translate="">Certificates</span></a>
    77  </li>
    88</ul>
    9 <div  i18n:domain="waeup.kofa" class="tab-content">
    10     <div id="tab-1" class="active">
     9<div i18n:domain="waeup.kofa" class="tab-content">
     10  <div id="tab1" class="active tab-pane">
    1111    <br />
    12     <table class="display dataTable">
     12    <table class="kofa-data-table dataTable">
    1313      <thead>
    1414        <tr>
     
    1818      </thead>
    1919      <tbody>
    20         <tr tal:repeat="entry view/getCourses" class="gradeC">
     20        <tr tal:repeat="entry view/getCourses">
    2121          <td>
    22                 <a href=""
    23                    tal:attributes="href entry/url"
    24                    tal:content="entry/name">Name</a>
     22            <a href=""
     23               tal:attributes="href entry/url"
     24               tal:content="entry/name">Name</a>
    2525          </td>
    2626          <td tal:content="entry/container/title">
    27                Title
     27            Title
    2828          </td>
    2929        </tr>
    3030      </tbody>
    3131    </table>
    32     </div>
    33     <div id="tab-2">
     32  </div>
     33  <div id="tab2" class="tab-pane">
    3434    <br />
    35     <table class="display dataTable">
     35    <table class="kofa-data-table dataTable">
    3636      <thead>
    3737        <tr>
     
    4141      </thead>
    4242      <tbody>
    43         <tr tal:repeat="entry view/getCertificates" class="gradeC">
     43        <tr tal:repeat="entry view/getCertificates">
    4444          <td>
    45                 <a href=""
    46                    tal:attributes="href entry/url"
    47                    tal:content="entry/name">Name</a>
     45            <a href=""
     46               tal:attributes="href entry/url"
     47               tal:content="entry/name">Name</a>
    4848          </td>
    4949          <td tal:content="entry/container/title">
    50                Title
     50            Title
    5151          </td>
    5252        </tr>
    5353      </tbody>
    5454    </table>
    55     </div>
     55  </div>
    5656</div>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/facultiescontainermanagepage.pt

    r7464 r11254  
    22      enctype="multipart/form-data">
    33
    4   <table>
     4  <table class="table table-hover">
    55    <thead>
    66      <tr>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/facultymanagepage.pt

    r7811 r11254  
    11<form action="." tal:attributes="action request/URL"
    22  i18n:domain="waeup.kofa" method="POST" enctype="multipart/form-data">
    3   <ul class="tabs" data-tabs="tabs">
    4     <li tal:attributes="class view/tab1">
    5     <a href="#tab-1">
     3  <ul class="tabs nav nav-tabs" data-tabs="tabs">
     4    <li class="active">
     5    <a href="#tab1" data-toggle="tab">
    66      <span i18n:translate="">Settings
    77      </span></a>
    88    </li>
    9     <li tal:attributes="class view/tab2">
    10     <a href="#tab-2">
     9    <li>
     10    <a href="#tab2" data-toggle="tab">
    1111      <span tal:content="view/subunits">CONTENTS
    1212      </span> </a>
    1313    </li>
    14     <li tal:attributes="class view/tab3">
    15     <a href="#tab-3">
     14    <li>
     15    <a href="#tab3" data-toggle="tab">
    1616      <span i18n:translate="">Local Roles
    1717      </span></a>
     
    1919  </ul>
    2020  <div class="tab-content">
    21     <div id="tab-1" tal:attributes="class view/tab1">
     21    <div id="tab1" class="active tab-pane">
    2222      <table class="form-table">
    2323        <tbody>
     
    3232      </div>
    3333    </div>
    34     <div id="tab-2" tal:attributes="class view/tab2">
     34    <div id="tab2" class="tab-pane">
    3535      <h3 tal:content="view/subunits">DEPARTMENTS</h3>
    36       <table>
     36      <table class="table table-hover">
    3737        <thead>
    3838          <tr>
     
    6363      </div>
    6464    </div>
    65     <div id="tab-3" tal:attributes="class view/tab3"> <br />
    66       <table class="display dataTableManage">
     65    <div id="tab3" class="tab-pane"> <br />
     66      <table class="kofa-data-table dataTableManage">
    6767        <thead>
    6868          <tr>
     
    7878        </thead>
    7979        <tbody>
    80           <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>
     80          <tr tal:repeat="entry view/getUsersWithLocalRoles">
     81            <td>
    8182              <input type="checkbox" name="role_id"
    8283              tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     
    9394        </span>
    9495      </div><br /><br />
    95       <table class="form-table">
    96         <tr> <td>
    97             <select id="user" name="user">
    98               <option tal:repeat="user view/getUsers" tal:attributes="value user/name">
    99               <span tal:replace="user/val/title">USERTITLE
    100               </span>
    101               </option>
    102             </select> </td> <td>
    103             <select id="local_role" name="local_role">
    104               <option tal:repeat="localrole view/getLocalRoles"
    105                       tal:attributes="value localrole/name">
    106               <span tal:replace="localrole/title">LOCALROLETITLE
    107               </span>
    108               </option>
    109             </select> </td> <td>
    110             <div tal:condition="view/availableActions">
    111               <span tal:repeat="action view/actions" tal:omit-tag="">
    112                 <input tal:condition="python:action.label in view.tabthreeactions2"
    113                        tal:replace="structure action/render"/>
    114               </span>
    115             </div> </td>
    116         </tr>
    117       </table>
     96      <div class="form-inline">
     97        <br />
     98        <div class="form-group">
     99          <select id="user" name="user" class="form-control">
     100            <option tal:repeat="user view/getUsers"
     101                    tal:attributes="value user/name">
     102            <span tal:replace="user/val/title">USERTITLE
     103            </span>
     104            </option>
     105          </select>
     106        </div>
     107        <div class="form-group">
     108          <select id="local_role" name="local_role" class="form-control">
     109            <option tal:repeat="localrole view/getLocalRoles"
     110                    tal:attributes="value localrole/name">
     111            <span tal:replace="localrole/title">LOCALROLETITLE
     112            </span>
     113            </option>
     114          </select>
     115        </div>
     116        <div class="form-group" tal:condition="view/availableActions">
     117          <span tal:repeat="action view/actions" tal:omit-tag="">
     118            <input tal:condition="python:action.label in view.tabthreeactions2"
     119                   tal:replace="structure action/render"/>
     120          </span>
     121        </div>
     122      </div>
     123
    118124    </div>
    119125  </div>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/facultypage.pt

    r8024 r11254  
    33</div>
    44
    5 <table i18n:domain="waeup.kofa">
     5<table class="table table-hover" i18n:domain="waeup.kofa">
    66  <thead>
    77    <tr>
     
    1212  <tbody>
    1313    <tr tal:repeat="value context/values">
    14       <td> <a tal:attributes="href value/__name__">
     14      <td> <a tal:attributes="href python: view.url(value)">
    1515          <span tal:content="value/code">Name</span></a></td>
    1616      <td tal:content="value/longtitle">Title</td>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/filedisplay.pt

    r8106 r11254  
    44  </td>
    55  <td>
    6     <a tal:attributes="href viewlet/download_name"
     6    <a tal:attributes="href python: view.url(context, viewlet.download_name)"
    77       tal:content="viewlet/download_name"
    88       target="image">
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/fileupload.pt

    r8135 r11254  
    55  <td>
    66    <tal:file tal:condition="viewlet/file_exists">
    7       <a tal:attributes="href viewlet/download_name"
     7      <a tal:attributes="href python: view.url(context, viewlet.download_name)"
    88         tal:content="viewlet/title"
    99         target="image">
     
    1111      </a>
    1212    </tal:file>
     13    <input type="file" tal:attributes="name viewlet/input_name"/>
    1314    <br />
    14     <input type="file" tal:attributes="name viewlet/input_name"/>
    15     <br /><br />
    1615    <input type="submit" tal:condition="viewlet/file_exists"
    1716           tal:attributes="id python:('delete_%s' % viewlet.input_name);
    1817              name python:('delete_%s' % viewlet.input_name);
    1918              value viewlet/delete_button"
    20            class="btn error" />
     19           class="btn btn-danger" />
    2120    <input type="submit"
    2221             tal:attributes="id python:('upload_%s' % viewlet.input_name);
    2322                name python:('upload_%s' % viewlet.input_name);
    2423                value viewlet/upload_button"
    25              class="btn primary" />
     24             class="btn btn-primary" />
    2625    <span i18n:translate="">
    2726      Max. file size:
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/findstudentspage.pt

    r10646 r11254  
    1 <form method="POST" i18n:domain="waeup.kofa">
     1<form method="POST" i18n:domain="waeup.kofa" class="form-inline">
    22<br />
    3   <input class="btn primary" type="submit" name="search"
    4     tal:attributes="value view/search_button" />
    5 
    6   <select name="searchtype">
    7     <option i18n:translate="" value="student_id">with id</option>
    8     <option i18n:translate="" value="fullname">with name</option>
    9     <option i18n:translate="" value="reg_number">with registration number</option>
    10     <option i18n:translate="" value="matric_number">with matriculation number</option>
    11   </select>
    12 
    13   <input type="text" name="searchterm" />
    14 
    15   <p>&nbsp;</p>
    16   <div tal:condition="view/hitlist">
    17     <h3 i18n:translate="">Search Results</h3>
    18     <input type="hidden" name="old_searchterm"
    19          tal:attributes="value view/searchterm" />
    20     <input type="hidden" name="old_searchtype"
    21          tal:attributes="value view/searchtype" />
    22     <table class="display dataTable">
    23       <thead>
    24       <tr>
    25         <th i18n:translate="">Student Id</th>
    26         <th i18n:translate="">Reg. Number</th>
    27         <th i18n:translate="">Matric. Number</th>
    28         <th i18n:translate="">State</th>
    29         <th i18n:translate="">Full Name</th>
    30       </tr>
    31       </thead>
    32       <tbody>
    33       <tr tal:repeat="item view/hitlist" class="gradeC">
    34         <td> <a tal:attributes="href item/url">
    35           <span tal:content="item/student_id">A123456</span></a>
    36         </td>
    37         <td class="center"> <a tal:attributes="href item/url">
    38           <span tal:content="item/reg_number">9999999</span></a>
    39         </td>
    40         <td class="center"> <a tal:attributes="href item/url">
    41           <span tal:content="item/matric_number">9999999</span></a>
    42         </td>
    43         <td tal:content="item/state">admitted</td>
    44         <td tal:content="item/display_fullname">Bob</td>
    45       </tr>
    46       </tbody>
    47     </table>
    48     <br />
     3  <div class="form-group">
     4    <input class="btn btn-primary" type="submit" name="search"
     5      tal:attributes="value view/search_button" />
     6  </div>
     7  <div class="form-group">
     8    <select name="searchtype" class="form-control">
     9      <option i18n:translate="" value="student_id">with id</option>
     10      <option i18n:translate="" value="fullname">with name</option>
     11      <option i18n:translate="" value="reg_number">with registration number</option>
     12      <option i18n:translate="" value="matric_number">with matriculation number</option>
     13    </select>
     14  </div>
     15  <div class="form-group">
     16    <input type="text" class="form-control" name="searchterm" />
    4917  </div>
    5018</form>
     19
     20<p>&nbsp;</p>
     21<div tal:condition="view/hitlist">
     22  <h3 i18n:translate="">Search Results</h3>
     23  <input type="hidden" name="old_searchterm"
     24       tal:attributes="value view/searchterm" />
     25  <input type="hidden" name="old_searchtype"
     26       tal:attributes="value view/searchtype" />
     27  <table class="kofa-data-table dataTable">
     28    <thead>
     29    <tr>
     30      <th i18n:translate="">Student Id</th>
     31      <th i18n:translate="">Reg. Number</th>
     32      <th i18n:translate="">Matric. Number</th>
     33      <th i18n:translate="">State</th>
     34      <th i18n:translate="">Full Name</th>
     35    </tr>
     36    </thead>
     37    <tbody>
     38    <tr tal:repeat="item view/hitlist">
     39      <td> <a tal:attributes="href item/url">
     40        <span tal:content="item/student_id">A123456</span></a>
     41      </td>
     42      <td class="center"> <a tal:attributes="href item/url">
     43        <span tal:content="item/reg_number">9999999</span></a>
     44      </td>
     45      <td class="center"> <a tal:attributes="href item/url">
     46        <span tal:content="item/matric_number">9999999</span></a>
     47      </td>
     48      <td tal:content="item/state">admitted</td>
     49      <td tal:content="item/display_fullname">Bob</td>
     50    </tr>
     51    </tbody>
     52  </table>
     53</div>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/loginpage.pt

    r8853 r11254  
    1 <form i18n:domain="waeup.kofa" method="post">
    2   <table id="login" class="form-table" summary="Table for entering login information">
    3     <tbody>
    4       <tr>
    5         <td i18n:translate="" class="fieldname">
    6           User Name or Id:
    7         </td>
    8         <td>
    9           <input type="text" id="login" name="form.login" size="20" />
    10         </td>
    11       </tr>
    12       <tr>
    13         <td i18n:translate="" class="fieldname">
    14           Password:
    15         </td>
    16         <td>
    17           <input type="password" id="password" name="form.password"  size="20" value="" />
    18           &nbsp;&nbsp;
    19           </td>
    20       </tr>
    21       <tr>
    22         <td>&nbsp;</td>
    23         <td>
    24           <font  i18n:translate="" color="red"> Notice: User names, Ids and passwords are case sensitive.</font>
    25         </td>
    26       </tr>
    27     </tbody>
    28   </table>
     1<form i18n:domain="waeup.kofa" method="post" class="form-horizontal">
     2  <br />
     3  <div class="form-group">
     4    <label i18n:translate="" class="col-sm-2 control-label">User Name or Id</label>
     5    <div class="col-sm-10">
     6      <input name="form.login" type="text" class="form-control" id="login">
     7    </div>
     8  </div>
     9  <div class="form-group">
     10    <label i18n:translate="" class="col-sm-2 control-label">Password</label>
     11    <div class="col-sm-10">
     12      <input name="form.password" type="password" class="form-control" id="password">
     13      <font  i18n:translate="" color="red"> Notice: User names, Ids and passwords are case sensitive.</font>
     14    </div>
     15  </div>
    2916  <input type="hidden" name="camefrom"   tal:attributes="value view/camefrom" />
    30   <input class="btn primary" type="submit" name="SUBMIT"
     17  <input class="btn btn-primary" type="submit" name="SUBMIT"
    3118    tal:attributes="value view/login_button" />
    32 
    33 
    3419  <br /><br /><br />
    35 
    3620  <p  i18n:translate="login_trouble1">Don't forget to logout or exit your browser when you're done.
    3721    If you are having trouble logging in, make sure to enable  cookies in your web browser.
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/reportscontainercreate.pt

    r9643 r11254  
    88  </p>
    99  <br />
    10   <div class="clearfix">
    11     <label for="generator">Report Type:</label>
    12     <div class="input">
    13       <select name="generator">
    14         <span tal:repeat="items view/creators" tal:omit-tag="">
    15           <option
    16               tal:define="name python: items[1]; title python: items[0]"
    17               tal:attributes="value name">
    18             <span tal:replace="title">TITLE</span>
    19           </option>
    20         </span>
    21       </select>
    22       <div class="help-inline" i18n:translate="">
    23         Type of report to create
    24       </div>
    25     </div>
     10  <div class="form-group">
     11    <label for="generator">Report Type</label>
     12    <select name="generator" class="form-control half">
     13      <span tal:repeat="items view/creators" tal:omit-tag="">
     14        <option
     15            tal:define="name python: items[1]; title python: items[0]"
     16            tal:attributes="value name">
     17          <span tal:replace="title">TITLE</span>
     18        </option>
     19      </span>
     20    </select>
    2621  </div>
    27   <div class="input">
    28     <input i18n:translate="" type="submit" class="btn primary"
     22  <div class="form-group">
     23    <input i18n:translate="" type="submit" class="btn btn-primary"
    2924           name="START_GENERATOR" value="Configure" />
    30     <a class="btn secondary" href=""
     25    <a class="btn btn-default" href=""
    3126       tal:attributes="href python:view.url(context)">Cancel</a>
    3227  </div>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/reportscontainerpage.pt

    r9840 r11254  
    1 <table i18n:domain="waeup.kofa">
     1<table i18n:domain="waeup.kofa" class="table">
    22  <thead>
    33    <tr>
     
    3131          <input type="hidden" name="job_id"
    3232                 tal:attributes="value python: entry[0]" />
    33           <input type="submit" class="btn small primary"
     33          <input type="submit" class="btn btn-sm btn-primary"
    3434                 name="DOWNLOAD" value="Download"
    3535                 tal:condition="python: entry[4]" />
    36           <input type="submit" class="btn small secondary"
     36          <input type="submit" class="btn btn-sm btn-default"
    3737                 name="DISCARD" value="Discard"
    3838                 tal:condition="python: entry[3]" />
    39           <a href="" class="btn" i18n:translate=""
     39          <a href="" class="btn btn-sm btn-default" i18n:translate=""
    4040             tal:condition="python: entry[5]">
    41             <img tal:attributes="src static/actionicon_reload.png" />
     41            <img src="/static/img/actionicon_reload.png" />
    4242            Reload
    4343          </a>
     
    4848</table>
    4949<form method="POST" i18n:domain="waeup.kofa">
    50   <div class="span12">
    51     <a href="create" class="btn primary" i18n:translate="">
    52       Create new report
    53     </a>
    54   </div>
     50  <a tal:attributes="href python:view.url(context, 'create')"
     51     class="btn btn-primary" i18n:translate="">
     52    Create new report
     53  </a>
    5554</form>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/searchpage.pt

    r9631 r11254  
    1 <form method="post">
    2   <input type="text" name="query"
    3          tal:attributes="value view/query" />
    4     <input class="btn primary" type="submit" name="SUBMIT"
     1<form method="POST" class="form-inline">
     2<br />
     3  <div class="form-group">
     4      <input type="text" name="query" class="form-control"
     5         tal:attributes="value view/query" />
     6  </div>
     7  <div class="form-group">
     8    <input class="btn btn-primary" type="submit" name="SUBMIT"
    59      tal:attributes="value view/search_button"/>
     10  </div>
    611</form>
    712<br />
    813<span  i18n:domain="waeup.kofa" tal:condition="view/hitlist">
    914    <h3 i18n:translate="">Search Results</h3>
    10     <table class="display dataTable">
     15    <table class="kofa-data-table dataTable">
    1116        <thead>
    1217            <tr>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/staffsitelayout.pt

    r10900 r11254  
    22<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" i18n:domain="waeup.kofa">
    33  <head>
     4
     5    <!-- Diazo element-->
    46    <title i18n:translate="">
    57      WAeUP.Kofa - Student Management System
    6     </title>
     8    </title> 
     9    <!-- /Diazo element-->
     10
    711    <!--base href="http://localhost:8080/app/@@page"
    812     tal:attributes="href python: view.url(layout.site)" / -->
     
    1418            href python: view.url(layout.site, 'feed.rss')" />
    1519  </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="#"
    21               tal:attributes="href python: view.url(layout.site)"
    22               tal:content="layout/getAppAcronym">ACRONYM</a>
    23           <ul class="nav kofa-navbar-left">
    24             <tal:primary_nav content="structure provider:primary_nav" />
    25           </ul>
    26           <ul class="nav secondary-nav kofa-navbar-right">
    27             <li tal:condition="not: layout/isAuthenticated">
    28             <a href="#" i18n:translate=""
    29                 tal:attributes="href python: view.url(layout.site, 'login')">
    30                 Login
    31             </a>
    32             </li>
    33             <li tal:condition="layout/isAuthenticated">
    34             <a href="#" i18n:translate=""
    35                tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
    36                Contact
    37             </a>
    38             </li>
    39             <li tal:condition="layout/isAuthenticated">
    40             <a href="#" i18n:translate=""
    41                tal:attributes="href python: view.url(context, '@@logout')">
    42                Logout
    43             </a>
    44             </li>
    45           </ul>
    46           <span class="language"
    47                 tal:define="langs provider:languages"
    48                 tal:condition="langs">
    49             <tal:languages
    50                   tal:content="structure langs" /> |
    51           </span>
    52         </div>
    53       </div>
    54     </div>
    5520
     21  <!-- Diazo element-->
     22  <body class="kofa-body">
     23
     24    <!-- Diazo element-->
     25    <a class="kofa-brand-link" href="#"
     26        tal:attributes="href python: view.url(layout.site)"
     27        tal:content="layout/getAppAcronym">ACRONYM
     28    </a>
     29    <!-- /Diazo element-->
     30
     31    <!-- Diazo element-->
     32    <ul class="nav kofa-navbar-left">
     33      <tal:primary_nav content="structure provider:primary_nav" />
     34    </ul>
     35    <!-- /Diazo element-->
     36
     37    <!-- Diazo element-->
     38    <ul class="nav secondary-nav kofa-navbar-right">
     39      <li tal:condition="not: layout/isAuthenticated">
     40      <a href="#" i18n:translate=""
     41          tal:attributes="href python: view.url(layout.site, 'login')">
     42          Login
     43      </a>
     44      </li>
     45      <li tal:condition="layout/isAuthenticated">
     46      <a href="#" i18n:translate=""
     47         tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
     48         Contact
     49      </a>
     50      </li>
     51      <li tal:condition="layout/isAuthenticated">
     52      <a href="#" i18n:translate=""
     53         tal:attributes="href python: view.url(context, '@@logout')">
     54         Logout
     55      </a>
     56      </li>
     57    </ul>
     58    <!-- /Diazo element-->
     59
     60    <span tal:define="langs provider:languages"
     61          tal:condition="langs"
     62          class="language">
     63      <tal:languages tal:content="structure langs" /> |
     64    </span>
     65
     66    <!-- Diazo element-->
    5667    <ul class="breadcrumb">
    5768      <tal:breadcrumbs
    5869            tal:condition="python: layout.isAuthenticated()"
    5970            tal:content="structure provider:breadcrumbs" />
    60       <span
    61         tal:condition="layout/getStudentName" class="wfstatus">
    62           <span i18n:translate="">Student Id:</span>
    63           <span tal:replace="python:context.student.student_id">
    64             ID
    65           </span>&nbsp;&nbsp;
    66           <span i18n:translate="">State:</span>
    67           <span tal:replace="python:context.student.translated_state">
    68             STATE
    69           </span>
    70       </span>
    7171    </ul>
     72    <!-- /Diazo element-->
    7273
    73     <div class="container-fluid">
    74       <div class="sidebar">
    75         <div class="well">
    76           <div tal:condition="layout/getStudentName">
    77             <h5 tal:content="layout/getStudentName">STUDENTNAME</h5>
    78             <ul>
    79               <tal:left content="structure provider:left_studentmanage" />
    80             </ul>
    81           </div>
    82           <div tal:condition="layout/isAuthenticated">
    83             <h5 tal:content="layout/getUserTitle">USERNAME</h5>
    84             <ul>
    85               <tal:left content="structure provider:left_manage" />
    86             </ul>
    87           </div>
     74    <!-- Diazo element-->
     75    <span tal:condition="layout/getStudentName">
     76      <div class="wfstatus">
     77            <span tal:replace="python:context.student.student_id">
     78              Id
     79            </span>
     80            &bull;
     81            <span tal:replace="python:context.student.translated_state">
     82              State
     83            </span>
     84      </div>
     85    </span>
     86    <!-- /Diazo element-->
     87
     88    <!-- Diazo element-->
     89    <div class="sidebar well">
     90        <div tal:condition="layout/getStudentName">
     91          <div class="kofa-sidebar-title" tal:content="layout/getStudentName">STUDENTNAME</div>
     92          <ul class="nav">
     93            <tal:left content="structure provider:left_studentmanage" />
     94          </ul>
     95        </div>
     96        <div tal:condition="layout/isAuthenticated">
     97          <div class="kofa-sidebar-title" tal:content="layout/getUserTitle">USERNAME</div>
     98          <ul class="nav">
     99            <tal:left content="structure provider:left_manage" />
     100          </ul>
     101      </div>
     102    </div>
     103    <!-- /Diazo element-->
     104
     105    <!-- Diazo element-->
     106    <div class="kofa-content">
     107      <div class="actionbar" tal:condition="provider:actionbar">
     108        <tal:actionbar content="structure provider:actionbar" />&nbsp;
     109      </div>
     110      <div
     111          tal:define="message context/@@messages"
     112          tal:condition="python: len(message)>11">
     113        <div tal:content="structure message">
    88114        </div>
    89115      </div>
    90       <div class="span13 content">
    91         <div class="actionbar" tal:condition="provider:actionbar">
    92           <tal:actionbar content="structure provider:actionbar" />&nbsp;
    93         </div>
    94         <div
    95             tal:define="message context/@@messages"
    96             tal:condition="python: len(message)>11">
    97           <div tal:content="structure message">
    98           </div>
    99         </div>
    100         <div class="alert-message error"
    101           tal:define="status view/status|nothing"
    102           tal:condition="status">
    103           <span tal:content="view/status">
    104             FORM STATUS SUMMARY
    105           </span>:
    106           <ul id="alert-error" tal:condition="view/errors">
    107             <li tal:repeat="error view/error_views">
    108                <span tal:replace="structure error">Error Type</span>
    109             </li>
    110           </ul>
    111         </div>
    112         <div class="pull-right">
    113           <a i18n:translate="" href="#footer">Back to bottom</a>
    114         </div>
    115         <h1 class="kofa-content-label"
    116             tal:condition="view/label|nothing"
    117             tal:content="structure view/label">LABEL</h1>
    118         <div tal:content="structure view/content"> THE CONTENT
    119         </div>
    120         <div id="footer" class="footer">
    121           <div class="pull-right">
    122             <a i18n:translate="" href="#">Back to top</a>
    123           </div>
    124           <div i18n:translate="">
    125             Kofa - Student Management System
    126           </div>
    127           <div i18n:translate="">
    128             Copyright &copy; WAeUP Group 2008-2014
    129           </div>
    130         </div>
     116      <div class="alert alert-danger"
     117        tal:define="status view/status|nothing"
     118        tal:condition="status">
     119        <span tal:content="view/status">
     120          FORM STATUS SUMMARY
     121        </span>:
     122        <ul id="alert-error" tal:condition="view/errors">
     123          <li tal:repeat="error view/error_views">
     124             <span tal:replace="structure error">Error Type</span>
     125          </li>
     126        </ul>
    131127      </div>
     128      <div class="pull-right">
     129        <a i18n:translate="" href="#bottom">Back to bottom</a>
     130      </div>
     131      <h1 class="kofa-content-label"
     132          tal:condition="view/label|nothing"
     133          tal:content="structure view/label">LABEL</h1>
     134      <div tal:content="structure view/content"> THE CONTENT
     135      </div>
     136      <div id="bottom" class="pull-right">
     137        <a i18n:translate="" href="#">Back to top</a>
     138      </div>
     139      <br />
     140
    132141    </div>
     142    <!-- /Diazo element-->
     143
    133144  </body>
     145  <!-- /Diazo element-->
     146
    134147</html>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/studentsitelayout.pt

    r10900 r11254  
    1717            href python: view.url(layout.site, 'feed.rss')" />
    1818  </head>
    19   <body>
    20     <div class="topbar" data-scrollspy="scrollspy" >
    21       <div class="topbar-inner">
    22         <div  class="container">
    23           <a class="brand" href="#"
    24               tal:attributes="href python: view.url(layout.site)"
    25               tal:content="layout/getAppAcronym">ACRONYM</a>
    26           <ul class="nav kofa-navbar-left">
    27               <tal:primary_nav content="structure provider:primary_nav" />
    28               <tal:primary_nav content="structure provider:primary_nav_student" />
    29           </ul>
    30           <ul class="nav secondary-nav kofa-navbar-right">
    31             <li tal:condition="not: layout/isAuthenticated">
    32             <a href="#" i18n:translate=""
    33                tal:attributes="href python: view.url(layout.site, 'login')">
    34                 Login
    35             </a>
    36             </li>
    37             <li tal:condition="layout/isAuthenticated">
    38             <a href="#" i18n:translate=""
    39                tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
    40                 Contact
    41             </a>
    42             </li>
    43             <li tal:condition="layout/isAuthenticated">
    44             <a href="#" i18n:translate=""
    45                tal:attributes="href python: view.url(context, '@@logout')">
    46                Logout
    47             </a>
    48             </li>
    49           </ul>
    50           <span class="language"
    51                 tal:define="langs provider:languages"
    52                 tal:condition="langs">
    53             <tal:languages
    54                   tal:content="structure langs" /> |
    55           </span>
    56         </div>
    57       </div>
    58     </div>
    5919
    60     <div class="container">
    61       <ul class="student-info-bar" tal:condition="layout/isAuthenticated">
    62         <tal:breadcrumbs
    63               tal:condition="python: layout.isAuthenticated()"
    64               tal:content="structure provider:breadcrumbs" />
    65         <span tal:condition="layout/getStudentName" class="wfstatus">
     20  <!-- Diazo element-->
     21  <body class="kofa-body">
     22
     23    <!-- Diazo element-->
     24    <a class="kofa-brand-link" href="#"
     25        tal:attributes="href python: view.url(layout.site)"
     26        tal:content="layout/getAppAcronym">ACRONYM</a>
     27    <!-- /Diazo element-->
     28
     29    <!-- Diazo element-->
     30    <ul class="nav kofa-navbar-left">
     31        <tal:primary_nav content="structure provider:primary_nav" />
     32        <tal:primary_nav content="structure provider:primary_nav_student" />
     33    </ul>
     34    <!-- /Diazo element-->
     35
     36    <!-- Diazo element-->
     37    <ul class="nav secondary-nav kofa-navbar-right">
     38      <li tal:condition="not: layout/isAuthenticated">
     39      <a href="#" i18n:translate=""
     40         tal:attributes="href python: view.url(layout.site, 'login')">
     41          Login
     42      </a>
     43      </li>
     44      <li tal:condition="layout/isAuthenticated">
     45      <a href="#" i18n:translate=""
     46         tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
     47          Contact
     48      </a>
     49      </li>
     50      <li tal:condition="layout/isAuthenticated">
     51      <a href="#" i18n:translate=""
     52         tal:attributes="href python: view.url(context, '@@logout')">
     53         Logout
     54      </a>
     55      </li>
     56    </ul>
     57    <!-- Diazo element-->
     58
     59    <span tal:define="langs provider:languages"
     60          tal:condition="langs"
     61          class="language">
     62      <tal:languages tal:content="structure langs" /> |
     63    </span>
     64
     65    <!-- Diazo element-->
     66    <ul class="breadcrumb" tal:condition="layout/isAuthenticated">
     67      <tal:breadcrumbs
     68            tal:condition="python: layout.isAuthenticated()"
     69            tal:content="structure provider:breadcrumbs" />
     70    </ul>
     71    <!-- /Diazo element-->
     72
     73    <!-- Diazo element-->
     74    <span tal:condition="layout/getStudentName">
     75      <div class="wfstatus">
    6676            <span tal:replace="python:context.student.student_id">
    6777              Id
    6878            </span>
    69             |
     79            &bull;
    7080            <span tal:replace="python:context.student.translated_state">
    7181              State
    7282            </span>
    73         </span>
    74       </ul>
    75       <div class="content">
    76         <div class="actionbar" tal:condition="provider:actionbar">
    77           <tal:actionbar content="structure provider:actionbar" />&nbsp;
    78         </div>
    79         <div tal:define="message context/@@messages"
    80              tal:condition="python: len(message)>11">
    81           <div tal:content="structure message">
    82           </div>
    83         </div>
    84         <div class="alert-message error"
    85           tal:define="status view/status|nothing"
    86           tal:condition="status">
    87           <span tal:content="view/status">
    88             FORM STATUS SUMMARY
    89           </span>:
    90           <ul id="alert-error" tal:condition="view/errors">
    91             <li tal:repeat="error view/error_views">
    92                <span tal:replace="structure error">Error Type</span>
    93             </li>
    94           </ul>
    95         </div>
    96         <div class="pull-right">
    97           <a i18n:translate="" href="#footer">Back to bottom</a>
    98         </div>
    99         <h1 class="kofa-content-label"
    100             tal:condition="view/label|nothing"
    101             tal:content="structure view/label">Label</h1>
    102         <div tal:content="structure view/content">
    103           THE CONTENT
    104         </div>
    105         <div id="footer" class="footer">
    106           <div class="pull-right">
    107             <a i18n:translate="" href="#">Back to top</a>
    108           </div>
    109           <div i18n:translate="">
    110             Kofa - Student Management System
    111           </div>
    112           <div i18n:translate="">
    113             Copyright &copy; WAeUP Group 2008-2014
    114           </div>
     83      </div>
     84    </span>
     85    <!-- /Diazo element-->
     86
     87    <!-- Diazo element-->
     88    <div class="kofa-content">
     89      <div class="actionbar" tal:condition="provider:actionbar">
     90        <tal:actionbar content="structure provider:actionbar" />&nbsp;
     91      </div>
     92      <div tal:define="message context/@@messages"
     93           tal:condition="python: len(message)>11">
     94        <div tal:content="structure message">
    11595        </div>
    11696      </div>
     97      <div class="alert alert-danger"
     98        tal:define="status view/status|nothing"
     99        tal:condition="status">
     100        <span tal:content="view/status">
     101          FORM STATUS SUMMARY
     102        </span>:
     103        <ul id="alert-error" tal:condition="view/errors">
     104          <li tal:repeat="error view/error_views">
     105             <span tal:replace="structure error">Error Type</span>
     106          </li>
     107        </ul>
     108      </div>
     109      <div class="pull-right">
     110        <a i18n:translate="" href="#bottom">Back to bottom</a>
     111      </div>
     112      <h1 class="kofa-content-label"
     113          tal:condition="view/label|nothing"
     114          tal:content="structure view/label">Label</h1>
     115      <div tal:content="structure view/content">
     116        THE CONTENT
     117      </div>
     118      <div id="bottom" class="pull-right">
     119        <a i18n:translate="" href="#">Back to top</a>
     120      </div>
     121      <br />
    117122    </div>
     123    <!-- /Diazo element-->
     124
    118125  </body>
     126  <!-- /Diazo element-->
     127
    119128</html>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/usereditformpage.pt

    r8486 r11254  
    99        <td i18n:translate="" class="fieldname">Password:</td>
    1010        <td>
    11           <input name="password" type="password"  />
     11          <input class="form-control" name="password" type="password"  />
    1212        </td>
    1313      </tr>
     
    1515        <td i18n:translate="" class="fieldname">Retype Password:</td>
    1616        <td>
    17           <input name="control_password" type="password" />
     17          <input class="form-control" name="control_password" type="password" />
    1818        </td>
    1919      </tr>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/userscontainerpage.pt

    r9495 r11254  
    1 <table i18n:domain="waeup.kofa" class="display dataTable">
     1<table i18n:domain="waeup.kofa" class="kofa-data-table dataTable">
    22  <thead>
    33    <tr>
    4       <th i18n:translate="">User Id</th>
     4      <th i18n:translate="">Id</th>
    55      <th i18n:translate="">Name</th>
    66      <th i18n:translate="">Portal Roles</th>
     
    1919          <input type="hidden" name="userid"
    2020           tal:attributes="value account/name"/>
    21             <input class="btn" type="submit" name="manage"
     21            <input class="btn btn-sm btn-primary" type="submit" name="manage"
    2222              tal:attributes="value view/manage_button" />
    23             <input class="btn" type="submit" name="delete"
     23            <input class="btn btn-sm btn-default" type="submit" name="delete"
    2424              tal:attributes="value view/delete_button" />
    2525        </form>
Note: See TracChangeset for help on using the changeset viewer.