Ignore:
Timestamp:
4 Feb 2014, 06:27:18 (11 years ago)
Author:
Henrik Bettermann
Message:

Remove rapping element <div class="table-responsive"> again and apply Diazo rule instead.

Location:
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/certificatemanagepage.pt

    r11037 r11040  
    3131    </div>
    3232    <div id="tab2" class="tab-pane">
    33       <h3>
    34         <span tal:content="context/__name__">Code</span>
    35         <span i18n:domain="waeup.kofa" i18n:translate="">Courses</span>
    36       </h3>
    37       <div class="table-responsive">
    38         <table class="dataTableManage">
    39           <thead>
    40             <tr>
    41               <th>&nbsp;</th>
    42               <th i18n:translate="">Level</th>
    43               <th i18n:translate="">Semester</th>
    44               <th i18n:translate="">Cert. Course</th>
    45               <th i18n:translate="">Dep. Course</th>
    46               <th i18n:translate="">Title</th>
    47               <th i18n:translate="">Required</th>
    48             </tr>
    49           </thead>
    50           <tbody>
    51             <tr tal:repeat="cc context/values">
    52               <td>
    53                 <input type="checkbox" name="val_id"
    54                        tal:attributes="value cc/__name__" />
    55               </td>
    56               <td>
    57                 <span tal:content="cc/level">
    58                   LEVEL
    59                 </span>
    60               </td>
    61               <td tal:content="cc/course/semester">SEMESTER</td>
    62               <td>
    63                 <a tal:attributes="href python: view.url(cc)"
    64                    tal:content="cc/__name__">
    65                 REFERRER CODE
    66                 </a>
    67               </td>
    68               <td>
    69                 <a tal:attributes="href python:view.url(cc.course)"
    70                    tal:content="cc/course/code">
    71                 COURSE CODE
    72                 </a>
    73               </td>
    74               <td>
    75                 <span tal:content="cc/course/title">
    76                   COURSE TITLE
    77                 </span>
    78               </td>
    79               <td>
    80                 <span tal:content="cc/mandatory">
    81                   REQUIRED
    82                 </span>
    83               </td>
    84             </tr>
    85           </tbody>
    86         </table>
    87       </div>
     33      <br />
     34      <table class="dataTableManage">
     35        <thead>
     36          <tr>
     37            <th>&nbsp;</th>
     38            <th i18n:translate="">Level</th>
     39            <th i18n:translate="">Semester</th>
     40            <th i18n:translate="">Cert. Course</th>
     41            <th i18n:translate="">Dep. Course</th>
     42            <th i18n:translate="">Title</th>
     43            <th i18n:translate="">Required</th>
     44          </tr>
     45        </thead>
     46        <tbody>
     47          <tr tal:repeat="cc context/values">
     48            <td>
     49              <input type="checkbox" name="val_id"
     50                     tal:attributes="value cc/__name__" />
     51            </td>
     52            <td>
     53              <span tal:content="cc/level">
     54                LEVEL
     55              </span>
     56            </td>
     57            <td tal:content="cc/course/semester">SEMESTER</td>
     58            <td>
     59              <a tal:attributes="href python: view.url(cc)"
     60                 tal:content="cc/__name__">
     61                REFERRER CODE
     62              </a>
     63            </td>
     64            <td>
     65              <a tal:attributes="href python:view.url(cc.course)"
     66                 tal:content="cc/course/code">
     67                COURSE CODE
     68              </a>
     69            </td>
     70            <td>
     71              <span tal:content="cc/course/title">
     72                COURSE TITLE
     73              </span>
     74            </td>
     75            <td>
     76              <span tal:content="cc/mandatory">
     77                REQUIRED
     78              </span>
     79            </td>
     80          </tr>
     81        </tbody>
     82      </table>
    8883      <div tal:condition="view/availableActions">
    8984        <span tal:repeat="action view/actions"
     
    9691    <div id="tab3" class="tab-pane">
    9792      <br />
    98       <div class="table-responsive">
    99         <table class="dataTableManage">
    100           <thead>
    101             <tr>
    102               <th>&nbsp;
    103               </th>
    104               <th i18n:translate="">User Id
    105               </th>
    106               <th i18n:translate="">Name
    107               </th>
    108               <th i18n:translate="">Local Role
    109               </th>
    110             </tr>
    111           </thead>
    112           <tbody>
    113             <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td>
    114               <input type="checkbox" name="role_id"
    115                      tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    116               <td tal:content="entry/user_name"> USERNAME </td>
    117               <td tal:content="entry/user_title"> USERTITLE </td>
    118               <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
    119             </tr>
    120           </tbody>
    121         </table>
    122       </div>
     93      <table class="dataTableManage">
     94        <thead>
     95          <tr>
     96            <th>&nbsp;
     97            </th>
     98            <th i18n:translate="">User Id
     99            </th>
     100            <th i18n:translate="">Name
     101            </th>
     102            <th i18n:translate="">Local Role
     103            </th>
     104          </tr>
     105        </thead>
     106        <tbody>
     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>
     110            <td tal:content="entry/user_name"> USERNAME </td>
     111            <td tal:content="entry/user_title"> USERTITLE </td>
     112            <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
     113          </tr>
     114        </tbody>
     115      </table>
    123116      <div tal:condition="view/availableActions">
    124117        <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/certificatepage.pt

    r11037 r11040  
    2323</h3>
    2424<br />
    25 <div class="table-responsive">
    26   <table i18n:domain="waeup.kofa" class="dataTable">
    27   <thead>
    28     <tr>
    29       <th i18n:translate="">Level</th>
    30       <th i18n:translate="">Semester</th>
    31       <th i18n:translate="">Cert. Course</th>
    32       <th i18n:translate="">Dep. Course</th>
    33       <th i18n:translate="">Title</th>
    34       <th i18n:translate="">Required</th>
    35     </tr>
    36   </thead>
    37   <tbody>
    38     <tr tal:repeat="cc context/values">
    39        <td>
    40         <span tal:content="cc/level">
    41            LEVEL
    42         </span>
    43       </td>
    44       <td tal:content="cc/course/semester">SEMESTER</td>
    45       <td>
    46         <a tal:attributes="href python: view.url(cc)"
    47              tal:content="cc/__name__">
    48         REFERRER CODE
    49         </a>
    50       </td>
    51       <td>
    52         <a tal:attributes="href python:view.url(cc.course)"
    53              tal:content="cc/course/code">
    54         COURSE CODE
    55         </a>
    56       <td>
    57         <span tal:content="cc/course/title">
    58            COURSE TITLE
    59         </span>
    60       </td>
    61       <td>
    62         <span tal:content="cc/mandatory">
    63            REQUIRED
    64         </span>
    65       </td>
    66     </tr>
    67   </tbody>
    68   </table>
    69 </div>
     25<table i18n:domain="waeup.kofa" class="dataTable">
     26<thead>
     27  <tr>
     28    <th i18n:translate="">Level</th>
     29    <th i18n:translate="">Semester</th>
     30    <th i18n:translate="">Cert. Course</th>
     31    <th i18n:translate="">Dep. Course</th>
     32    <th i18n:translate="">Title</th>
     33    <th i18n:translate="">Required</th>
     34  </tr>
     35</thead>
     36<tbody>
     37  <tr tal:repeat="cc context/values">
     38     <td>
     39      <span tal:content="cc/level">
     40           LEVEL
     41      </span>
     42    </td>
     43    <td tal:content="cc/course/semester">SEMESTER</td>
     44    <td>
     45      <a tal:attributes="href python: view.url(cc)"
     46             tal:content="cc/__name__">
     47        REFERRER CODE
     48      </a>
     49    </td>
     50    <td>
     51      <a tal:attributes="href python:view.url(cc.course)"
     52             tal:content="cc/course/code">
     53        COURSE CODE
     54      </a>
     55    <td>
     56      <span tal:content="cc/course/title">
     57           COURSE TITLE
     58      </span>
     59    </td>
     60    <td>
     61      <span tal:content="cc/mandatory">
     62           REQUIRED
     63      </span>
     64    </td>
     65  </tr>
     66</tbody>
     67</table>
    7068
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/coursemanagepage.pt

    r11037 r11040  
    2828    <div id="tab3" class="tab-pane">
    2929      <br />
    30       <div class="table-responsive">
    31         <table class="dataTableManage">
    32           <thead>
    33             <tr>
    34               <th>&nbsp;
    35               </th>
    36               <th i18n:translate="">User Id
    37               </th>
    38               <th i18n:translate="">Name
    39               </th>
    40               <th i18n:translate="">Local Role
    41               </th>
    42             </tr>
    43           </thead>
    44           <tbody>
    45             <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td>
    46               <input type="checkbox" name="role_id"
    47                      tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    48               <td tal:content="entry/user_name"> USERNAME </td>
    49               <td tal:content="entry/user_title"> USERTITLE </td>
    50               <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
    51             </tr>
    52           </tbody>
    53         </table>
    54       </div>
     30      <table class="dataTableManage">
     31        <thead>
     32          <tr>
     33            <th>&nbsp;
     34            </th>
     35            <th i18n:translate="">User Id
     36            </th>
     37            <th i18n:translate="">Name
     38            </th>
     39            <th i18n:translate="">Local Role
     40            </th>
     41          </tr>
     42        </thead>
     43        <tbody>
     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>
     47            <td tal:content="entry/user_name"> USERNAME </td>
     48            <td tal:content="entry/user_title"> USERTITLE </td>
     49            <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
     50          </tr>
     51        </tbody>
     52      </table>
    5553      <div tal:condition="view/availableActions">
    5654        <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterexportpage.pt

    r11026 r11040  
    4242<br /><br />
    4343
    44 <div class="table-responsive">
    45   <table i18n:domain="waeup.kofa" class="table table-condensed table-hover">
    46     <thead>
    47       <tr>
    48         <th i18n:translate="">Export Number</th>
    49         <th i18n:translate="">Exporter</th>
    50         <th i18n:translate="">Filter</th>
    51         <th i18n:translate="">Creator</th>
    52         <th i18n:translate="">Creation Date</th>
    53         <th i18n:translate="">Status</th>
    54         <th>&nbsp;</th>
    55       </tr>
    56     </thead>
    57     <tbody>
    58       <tr tal:repeat="job view/entries">
    59         <td>
    60           <span tal:replace="job/job">12</span>
    61         </td>
    62         <td>
    63           <span tal:replace="structure job/exporter">EXPORTER</span>
    64         </td>
    65         <td>
    66           <span tal:replace="structure job/args">ARGS</span>
    67         </td>
    68         <td>
    69           <span tal:replace="job/creator">CREATOR</span>
    70         </td>
    71         <td>
    72           <span tal:replace="job/start_time">DATETIME</span>
    73         </td>
    74         <td>
    75           <span tal:replace="job/status">STATUS</span>
    76         </td>
    77         <td nowrap>
    78           <a href="" class="btn btn-default btn-xs" i18n:translate=""
    79              tal:condition="job/show_refresh_button">
    80             <img tal:attributes="src static/actionicon_reload.png" />
    81             Reload
    82           </a>
    83           <form method="POST">
    84             <a href="" class="btn btn-primary btn-xs"
    85                    tal:attributes="href job/download_url"
    86                    tal:condition="job/show_download_button">
    87               Download</a>
    88             <input type="hidden" name="job_id"
    89                    tal:attributes="value job/job" />
    90             <input type="submit" class="btn btn-default btn-xs"
    91                    name="DISCARD" value="Discard"
    92                    tal:condition="job/show_discard_button" />
    93           </form>
    94         </td>
    95       </tr>
    96     </tbody>
    97   </table>
    98 </div>
     44<table i18n:domain="waeup.kofa" class="table table-condensed table-hover">
     45  <thead>
     46    <tr>
     47      <th i18n:translate="">Export Number</th>
     48      <th i18n:translate="">Exporter</th>
     49      <th i18n:translate="">Filter</th>
     50      <th i18n:translate="">Creator</th>
     51      <th i18n:translate="">Creation Date</th>
     52      <th i18n:translate="">Status</th>
     53      <th>&nbsp;</th>
     54    </tr>
     55  </thead>
     56  <tbody>
     57    <tr tal:repeat="job view/entries">
     58      <td>
     59        <span tal:replace="job/job">12</span>
     60      </td>
     61      <td>
     62        <span tal:replace="structure job/exporter">EXPORTER</span>
     63      </td>
     64      <td>
     65        <span tal:replace="structure job/args">ARGS</span>
     66      </td>
     67      <td>
     68        <span tal:replace="job/creator">CREATOR</span>
     69      </td>
     70      <td>
     71        <span tal:replace="job/start_time">DATETIME</span>
     72      </td>
     73      <td>
     74        <span tal:replace="job/status">STATUS</span>
     75      </td>
     76      <td nowrap>
     77        <a href="" class="btn btn-default btn-xs" i18n:translate=""
     78           tal:condition="job/show_refresh_button">
     79          <img tal:attributes="src static/actionicon_reload.png" />
     80          Reload
     81        </a>
     82        <form method="POST">
     83          <a href="" class="btn btn-primary btn-xs"
     84                 tal:attributes="href job/download_url"
     85                 tal:condition="job/show_download_button">
     86            Download</a>
     87          <input type="hidden" name="job_id"
     88                 tal:attributes="value job/job" />
     89          <input type="submit" class="btn btn-default btn-xs"
     90                 name="DISCARD" value="Discard"
     91                 tal:condition="job/show_discard_button" />
     92        </form>
     93      </td>
     94    </tr>
     95  </tbody>
     96</table>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterfinishedpage.pt

    r11037 r11040  
    44  imports. The files contain the imported datasets.
    55</p>
    6 <div class="table-responsive">
    7   <table i18n:domain="waeup.kofa" class="dataTableFiles">
    8     <thead>
    9       <tr>
    10         <th i18n:translate="">File</th>
    11         <th i18n:translate="">Datasets</th>
    12         <th i18n:translate="">Upload Date</th>
    13       </tr>
    14     </thead>
    15     <tbody>
    16       <tr tal:repeat="file context/getFinishedFiles">
    17         <td><a tal:attributes="href python: 'download?filename=' + file.rel_path"
    18                tal:content="file/name">FILENAME</a></td>
    19         <td tal:content="python: file.lines-1">12 k</td>
    20         <td tal:content="file/uploaddate">Mar 12, 2008</td>
    21       </tr>
    22     </tbody>
    23   </table>
    24 </div>
     6<table i18n:domain="waeup.kofa" class="dataTableFiles">
     7  <thead>
     8    <tr>
     9      <th i18n:translate="">File</th>
     10      <th i18n:translate="">Datasets</th>
     11      <th i18n:translate="">Upload Date</th>
     12    </tr>
     13  </thead>
     14  <tbody>
     15    <tr tal:repeat="file context/getFinishedFiles">
     16      <td><a tal:attributes="href python: 'download?filename=' + file.rel_path"
     17             tal:content="file/name">FILENAME</a></td>
     18      <td tal:content="python: file.lines-1">12 k</td>
     19      <td tal:content="file/uploaddate">Mar 12, 2008</td>
     20    </tr>
     21  </tbody>
     22</table>
    2523<form method="POST">
    2624  <input i18n:translate="" type="submit" class="btn btn-default" name="CANCEL"
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterimport1page.pt

    r11005 r11040  
    88</p>
    99<form i18n:domain="waeup.kofa" method="POST">
    10   <div class="table-responsive">
    11     <table class="table">
    12       <thead>
    13         <th />
    14         <th i18n:translate="">Filename</th>
    15         <th i18n:translate="">Datasets</th>
    16         <th i18n:translate="">Size</th>
    17         <th i18n:translate="">Date</th>
    18       </thead>
    19       <tbody>
    20         <tr tal:repeat="file view/getFiles">
    21           <td>
    22             <button i18n:translate=""
    23               type="submit" name="select" class="btn btn-primary"
    24               tal:attributes="value file/name">Select</button>
    25           </td>
    26           <td tal:content="file/name">Filename.csv</td>
    27           <td tal:content="python: file.lines - 1">12</td>
    28           <td tal:content="file/size">123 Bytes</td>
    29           <td tal:content="file/getDate">1.1.1970</td>
    30         </tr>
    31       </tbody>
    32     </table>
    33   </div>
     10  <table class="table">
     11    <thead>
     12      <th />
     13      <th i18n:translate="">Filename</th>
     14      <th i18n:translate="">Datasets</th>
     15      <th i18n:translate="">Size</th>
     16      <th i18n:translate="">Date</th>
     17    </thead>
     18    <tbody>
     19      <tr tal:repeat="file view/getFiles">
     20        <td>
     21          <button i18n:translate=""
     22            type="submit" name="select" class="btn btn-primary"
     23            tal:attributes="value file/name">Select</button>
     24        </td>
     25        <td tal:content="file/name">Filename.csv</td>
     26        <td tal:content="python: file.lines - 1">12</td>
     27        <td tal:content="file/size">123 Bytes</td>
     28        <td tal:content="file/getDate">1.1.1970</td>
     29      </tr>
     30    </tbody>
     31  </table>
    3432  <input type="submit" name="cancel" class="btn btn-default"
    3533      tal:attributes="value view/cancel_button" />
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterimport2page.pt

    r11026 r11040  
    99    Please select a file-processor and a processing-mode from the selections below.
    1010  </p>
    11   <div class="table-responsive">
    12     <table tal:define="prev_table view/getPreviewTable;" class="table table-condensed">
    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>
    3129    <select name="importer" class="form-control">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterpage.pt

    r11037 r11040  
    1111<form action="." tal:attributes="action request/URL" method="post"
    1212      i18n:domain="waeup.kofa" enctype="multipart/form-data">
    13     <div class="table-responsive">
    14       <table i18n:domain="waeup.kofa" class="dataTableManageFiles">
    15         <thead>
    16           <tr>
    17             <th></th>
    18             <th i18n:translate="">File</th>
    19             <th i18n:translate="">Datasets</th>
    20             <th i18n:translate="">Upload Date</th>
    21           </tr>
    22         </thead>
    23         <tbody>
    24           <tr tal:repeat="file context/getPendingFiles">
    25             <td>
    26               <input type="checkbox" name="val_id"
    27                            tal:attributes="value file/name" />
    28             </td>
    29             <td><a tal:attributes="href python: 'download?filename=' + file.name"
    30                    tal:content="file/name">FILENAME</a></td>
    31             <td tal:content="python: file.lines - 1">100</td>
    32             <td tal:content="file/uploaddate">Mar 12, 2008</td>
    33           </tr>
    34         </tbody>
    35       </table>
    36     </div>
     13    <table i18n:domain="waeup.kofa" class="dataTableManageFiles">
     14      <thead>
     15        <tr>
     16          <th></th>
     17          <th i18n:translate="">File</th>
     18          <th i18n:translate="">Datasets</th>
     19          <th i18n:translate="">Upload Date</th>
     20        </tr>
     21      </thead>
     22      <tbody>
     23        <tr tal:repeat="file context/getPendingFiles">
     24          <td>
     25            <input type="checkbox" name="val_id"
     26                         tal:attributes="value file/name" />
     27          </td>
     28          <td><a tal:attributes="href python: 'download?filename=' + file.name"
     29                 tal:content="file/name">FILENAME</a></td>
     30          <td tal:content="python: file.lines - 1">100</td>
     31          <td tal:content="file/uploaddate">Mar 12, 2008</td>
     32        </tr>
     33      </tbody>
     34    </table>
    3735    <div tal:condition="view/availableActions">
    3836      <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenteruploadpage.pt

    r11026 r11040  
    6262<h2 i18n:translate="">Available Processors (Importers)</h2>
    6363
    64 <div class="table-responsive">
    65   <table i18n:domain="waeup.kofa" class="table table-condensed">
    66     <thead>
    67       <tr>
    68         <th i18n:translate="">Processor</th>
    69         <th i18n:translate="">Required Schema Fields</th>
    70         <th i18n:translate="">Optional Schema Fields</th>
    71         <th i18n:translate="">Non-Schema Fields</th>
    72       </tr>
    73     </thead>
    74     <tr tal:repeat="importer view/getImporters">
    75       <td>
    76         <span tal:content="importer/title">TITLE</span><br /><br />
    77         <a i18n:translate="" class="btn btn-primary btn-xs"
    78            tal:attributes="href python: 'skeleton?name=' + importer['name']">
    79            Download CSV Skeleton File
    80         </a>
    81       </td>
    82       <td nowrap>
    83         <span tal:repeat="field importer/fields">
    84             <tal:schemafield condition="field/f_type">
    85               <tal:required condition="field/f_required">
    86                 <span tal:replace="field/f_name"></span>
    87                 (<span tal:replace="field/f_type"></span>)
    88                 <br />
    89               </tal:required>
    90             </tal:schemafield>
    91         </span>
    92       </td>
    93       <td nowrap>
    94         <span tal:repeat="field importer/fields">
    95             <tal:schemafield condition="field/f_type">
    96               <tal:notrequired condition="not:field/f_required">
    97                 <span tal:replace="field/f_name"></span>
    98                 (<span tal:replace="field/f_type"></span>)
    99                 <br />
    100               </tal:notrequired>
    101             </tal:schemafield>
    102         </span>
    103       </td>
    104       <td>
    105         <span tal:repeat="field importer/fields">
    106             <tal:extrafield condition="not:field/f_type">
     64<table i18n:domain="waeup.kofa" class="table table-condensed">
     65  <thead>
     66    <tr>
     67      <th i18n:translate="">Processor</th>
     68      <th i18n:translate="">Required Schema Fields</th>
     69      <th i18n:translate="">Optional Schema Fields</th>
     70      <th i18n:translate="">Non-Schema Fields</th>
     71    </tr>
     72  </thead>
     73  <tr tal:repeat="importer view/getImporters">
     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>
     81    <td nowrap>
     82      <span tal:repeat="field importer/fields">
     83          <tal:schemafield condition="field/f_type">
     84            <tal:required condition="field/f_required">
    10785              <span tal:replace="field/f_name"></span>
     86              (<span tal:replace="field/f_type"></span>)
    10887              <br />
    109             </tal:extrafield>
    110         </span>
    111       </td>
     88            </tal:required>
     89          </tal:schemafield>
     90      </span>
     91    </td>
     92    <td nowrap>
     93      <span tal:repeat="field importer/fields">
     94          <tal:schemafield condition="field/f_type">
     95            <tal:notrequired condition="not:field/f_required">
     96              <span tal:replace="field/f_name"></span>
     97              (<span tal:replace="field/f_type"></span>)
     98              <br />
     99            </tal:notrequired>
     100          </tal:schemafield>
     101      </span>
     102    </td>
     103    <td>
     104      <span tal:repeat="field importer/fields">
     105          <tal:extrafield condition="not:field/f_type">
     106            <span tal:replace="field/f_name"></span>
     107            <br />
     108          </tal:extrafield>
     109      </span>
     110    </td>
    112111
    113     </tr>
    114   </table>
    115 </div>
     112  </tr>
     113</table>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/facultymanagepage.pt

    r11037 r11040  
    6464    </div>
    6565    <div id="tab3" class="tab-pane"> <br />
    66       <div class="table-responsive">
    67         <table class="dataTableManage">
    68           <thead>
    69             <tr>
    70               <th>&nbsp;
    71               </th>
    72               <th i18n:translate="">User Id
    73               </th>
    74               <th i18n:translate="">Name
    75               </th>
    76               <th i18n:translate="">Local Role
    77               </th>
    78             </tr>
    79           </thead>
    80           <tbody>
    81             <tr tal:repeat="entry view/getUsersWithLocalRoles">
    82               <td>
    83                 <input type="checkbox" name="role_id"
    84                 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    85               <td tal:content="entry/user_name"> USERNAME </td>
    86               <td tal:content="entry/user_title"> USERTITLE </td>
    87               <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
    88             </tr>
    89           </tbody>
    90         </table>
    91       </div>
     66      <table class="dataTableManage">
     67        <thead>
     68          <tr>
     69            <th>&nbsp;
     70            </th>
     71            <th i18n:translate="">User Id
     72            </th>
     73            <th i18n:translate="">Name
     74            </th>
     75            <th i18n:translate="">Local Role
     76            </th>
     77          </tr>
     78        </thead>
     79        <tbody>
     80          <tr tal:repeat="entry view/getUsersWithLocalRoles">
     81            <td>
     82              <input type="checkbox" name="role_id"
     83              tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     84            <td tal:content="entry/user_name"> USERNAME </td>
     85            <td tal:content="entry/user_title"> USERTITLE </td>
     86            <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
     87          </tr>
     88        </tbody>
     89      </table>
    9290      <div tal:condition="view/availableActions">
    9391        <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/findstudentspage.pt

    r11037 r11040  
    2525  <input type="hidden" name="old_searchtype"
    2626       tal:attributes="value view/searchtype" />
    27   <div class="table-responsive">
    28     <table class="dataTable">
    29       <thead>
    30       <tr>
    31         <th i18n:translate="">Student Id</th>
    32         <th i18n:translate="">Reg. Number</th>
    33         <th i18n:translate="">Matric. Number</th>
    34         <th i18n:translate="">State</th>
    35         <th i18n:translate="">Full Name</th>
    36       </tr>
    37       </thead>
    38       <tbody>
    39       <tr tal:repeat="item view/hitlist">
    40         <td> <a tal:attributes="href item/url">
    41           <span tal:content="item/student_id">A123456</span></a>
    42         </td>
    43         <td class="center"> <a tal:attributes="href item/url">
    44           <span tal:content="item/reg_number">9999999</span></a>
    45         </td>
    46         <td class="center"> <a tal:attributes="href item/url">
    47           <span tal:content="item/matric_number">9999999</span></a>
    48         </td>
    49         <td tal:content="item/state">admitted</td>
    50         <td tal:content="item/display_fullname">Bob</td>
    51       </tr>
    52       </tbody>
    53     </table>
    54   </div>
    55   <br />
     27  <table class="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>
    5653</div>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/searchpage.pt

    r11037 r11040  
    1313<span  i18n:domain="waeup.kofa" tal:condition="view/hitlist">
    1414    <h3 i18n:translate="">Search Results</h3>
    15     <div class="table-responsive">
    16       <table class="dataTable">
    17           <thead>
    18               <tr>
    19                   <th i18n:translate="">Code</th>
    20                   <th i18n:translate="">Title</th>
    21                   <th i18n:translate="">Faculty</th>
    22                   <th i18n:translate="">Department</th>
    23                   <th i18n:translate="">Type</th>
    24               </tr>
    25           </thead>
    26           <tbody>
    27               <tr tal:repeat="item view/hitlist"  class="gradeB">
    28               <td>
    29                   <a href="" tal:attributes="href item/url"
    30                              tal:content="item/code">CODE</a>
    31               </td>
    32               <td tal:content="item/title">
    33                   TITLE
    34               </td>
    35               <td tal:content="item/fac">
    36                   FACULTY
    37               </td>
    38               <td tal:content="item/dep">
    39                   DEPARTMENT
    40               </td>
    41               <td tal:content="item/type">
    42                   TTYPE
    43               </td>
    44               </tr>
    45           </tbody>
    46       </table>
    47     </div>
     15    <table class="dataTable">
     16        <thead>
     17            <tr>
     18                <th i18n:translate="">Code</th>
     19                <th i18n:translate="">Title</th>
     20                <th i18n:translate="">Faculty</th>
     21                <th i18n:translate="">Department</th>
     22                <th i18n:translate="">Type</th>
     23            </tr>
     24        </thead>
     25        <tbody>
     26            <tr tal:repeat="item view/hitlist"  class="gradeB">
     27            <td>
     28                <a href="" tal:attributes="href item/url"
     29                           tal:content="item/code">CODE</a>
     30            </td>
     31            <td tal:content="item/title">
     32                TITLE
     33            </td>
     34            <td tal:content="item/fac">
     35                FACULTY
     36            </td>
     37            <td tal:content="item/dep">
     38                DEPARTMENT
     39            </td>
     40            <td tal:content="item/type">
     41                TTYPE
     42            </td>
     43            </tr>
     44        </tbody>
     45    </table>
    4846</span>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/userscontainerpage.pt

    r11037 r11040  
    1 <div class="table-responsive">
    2   <table i18n:domain="waeup.kofa" class="table table-striped dataTable">
    3     <thead>
    4       <tr>
    5         <th i18n:translate="">Id</th>
    6         <th i18n:translate="">Name</th>
    7         <th i18n:translate="">Portal Roles</th>
    8         <th i18n:translate="">Local Roles</th>
    9         <th></th>
    10       </tr>
    11     </thead>
    12     <tbody>
    13       <tr tal:repeat="account context/values">
    14         <td tal:content="account/name">USERNAME</td>
    15         <td tal:content="account/title">TITLE</td>
    16         <td nowrap tal:content="structure python:view.getSiteRoles(account)">SITE ROLES</td>
    17         <td tal:content="structure python:view.getLocalRoles(account)">LOCAL ROLES</td>
    18         <td class="text-right">
    19           <form method="post">
    20             <input type="hidden" name="userid"
    21              tal:attributes="value account/name"/>
    22               <input class="btn btn-sm btn-primary" type="submit" name="manage"
    23                 tal:attributes="value view/manage_button" />
    24               <input class="btn btn-sm btn-default" type="submit" name="delete"
    25                 tal:attributes="value view/delete_button" />
    26           </form>
    27         </td>
    28       </tr>
    29     </tbody>
    30   </table>
    31 </div>
     1<table i18n:domain="waeup.kofa" class="table table-striped dataTable">
     2  <thead>
     3    <tr>
     4      <th i18n:translate="">Id</th>
     5      <th i18n:translate="">Name</th>
     6      <th i18n:translate="">Portal Roles</th>
     7      <th i18n:translate="">Local Roles</th>
     8      <th></th>
     9    </tr>
     10  </thead>
     11  <tbody>
     12    <tr tal:repeat="account context/values">
     13      <td tal:content="account/name">USERNAME</td>
     14      <td tal:content="account/title">TITLE</td>
     15      <td nowrap tal:content="structure python:view.getSiteRoles(account)">SITE ROLES</td>
     16      <td tal:content="structure python:view.getLocalRoles(account)">LOCAL ROLES</td>
     17      <td class="text-right">
     18        <form method="post">
     19          <input type="hidden" name="userid"
     20           tal:attributes="value account/name"/>
     21            <input class="btn btn-sm btn-primary" type="submit" name="manage"
     22              tal:attributes="value view/manage_button" />
     23            <input class="btn btn-sm btn-default" type="submit" name="delete"
     24              tal:attributes="value view/delete_button" />
     25        </form>
     26      </td>
     27    </tr>
     28  </tbody>
     29</table>
Note: See TracChangeset for help on using the changeset viewer.