Ignore:
Timestamp:
24 Jan 2014, 08:17:11 (11 years ago)
Author:
Henrik Bettermann
Message:

This could be the new form pattern.

File:
1 edited

Legend:

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

    r10974 r10975  
    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" />
    3017  <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.
Note: See TracChangeset for help on using the changeset viewer.