Ignore:
Timestamp:
29 Jan 2014, 15:26:54 (11 years ago)
Author:
Henrik Bettermann
Message:

More adjustments.

File:
1 edited

Legend:

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

    r10999 r11003  
    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="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">
    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">
     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="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  <br />
     54</div>
Note: See TracChangeset for help on using the changeset viewer.