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:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk

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

  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/containerpage.pt

    r10647 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     <option i18n:translate="" value="current_session">in session</option>
    12     <option i18n:translate="" value="depcode">in department</option>
    13     <option i18n:translate="" value="current_mode">in study mode</option>
    14     <option i18n:translate="" value="suspended">
    15       with deactivated account (search term omitted)
    16     </option>
    17     <option i18n:translate="" value="transcript">
    18       who requested transcript (search term omitted)
    19     </option>
    20   </select>
    21 
    22   <input type="text" name="searchterm" />
    23 
    24   <p>&nbsp;</p>
    25   <div tal:condition="view/hitlist">
    26     <h3 i18n:translate="">Search Results</h3>
    27     <input type="hidden" name="old_searchterm"
    28          tal:attributes="value view/searchterm" />
    29     <input type="hidden" name="old_searchtype"
    30          tal:attributes="value view/searchtype" />
    31     <table class="display dataTable">
    32       <thead>
    33       <tr>
    34         <th i18n:translate="">Student Id</th>
    35         <th i18n:translate="">Reg. Number</th>
    36         <th i18n:translate="">Matric. Number</th>
    37         <th i18n:translate="">State</th>
    38         <th i18n:translate="">Full Name</th>
    39       </tr>
    40       </thead>
    41       <tbody>
    42       <tr tal:repeat="item view/hitlist" class="gradeC">
    43         <td> <a tal:attributes="href item/url">
    44           <span tal:content="item/student_id">A123456</span></a>
    45         </td>
    46         <td class="center"> <a tal:attributes="href item/url">
    47           <span tal:content="item/reg_number">9999999</span></a>
    48         </td>
    49         <td class="center"> <a tal:attributes="href item/url">
    50           <span tal:content="item/matric_number">9999999</span></a>
    51         </td>
    52         <td tal:content="item/state">admitted</td>
    53         <td tal:content="item/display_fullname">Bob</td>
    54       </tr>
    55       </tbody>
    56     </table>
    57     <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      <option i18n:translate="" value="current_session">in session</option>
     14      <option i18n:translate="" value="depcode">in department</option>
     15      <option i18n:translate="" value="current_mode">in study mode</option>
     16      <option i18n:translate="" value="suspended">
     17        with deactivated account (search term omitted)
     18      </option>
     19      <option i18n:translate="" value="transcript">
     20        who requested transcript (search term omitted)
     21      </option>
     22    </select>
     23  </div>
     24  <div class="form-group">
     25    <input type="text" class="form-control" name="searchterm" />
    5826  </div>
    5927</form>
     28<br />
     29<div tal:condition="view/hitlist">
     30  <h3 i18n:translate="">Search Results</h3>
     31  <input type="hidden" name="old_searchterm"
     32       tal:attributes="value view/searchterm" />
     33  <input type="hidden" name="old_searchtype"
     34       tal:attributes="value view/searchtype" />
     35  <table class="kofa-data-table dataTable">
     36    <thead>
     37    <tr>
     38      <th i18n:translate="">Student Id</th>
     39      <th i18n:translate="">Reg. Number</th>
     40      <th i18n:translate="">Matric. Number</th>
     41      <th i18n:translate="">State</th>
     42      <th i18n:translate="">Full Name</th>
     43    </tr>
     44    </thead>
     45    <tbody>
     46    <tr tal:repeat="item view/hitlist">
     47      <td> <a tal:attributes="href item/url">
     48        <span tal:content="item/student_id">A123456</span></a>
     49      </td>
     50      <td class="center"> <a tal:attributes="href item/url">
     51        <span tal:content="item/reg_number">9999999</span></a>
     52      </td>
     53      <td class="center"> <a tal:attributes="href item/url">
     54        <span tal:content="item/matric_number">9999999</span></a>
     55      </td>
     56      <td tal:content="item/state">admitted</td>
     57      <td tal:content="item/display_fullname">Bob</td>
     58    </tr>
     59    </tbody>
     60  </table>
     61</div>
     62
Note: See TracChangeset for help on using the changeset viewer.