diff options
author | Romain d'Alverny <rda@mageia.org> | 2010-11-06 16:34:51 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2010-11-06 16:34:51 +0000 |
commit | ae4009c1052d9e6163a24c2668dd4d9e039bf3fc (patch) | |
tree | ea45fc747fa4a747ad4952ee10a6b5b639c79627 /root/user | |
parent | ac10cc90fe99a465aaba747a32f469237bcd723e (diff) | |
download | identity-ae4009c1052d9e6163a24c2668dd4d9e039bf3fc.tar identity-ae4009c1052d9e6163a24c2668dd4d9e039bf3fc.tar.gz identity-ae4009c1052d9e6163a24c2668dd4d9e039bf3fc.tar.bz2 identity-ae4009c1052d9e6163a24c2668dd4d9e039bf3fc.tar.xz identity-ae4009c1052d9e6163a24c2668dd4d9e039bf3fc.zip |
more HTML cleanup, doc structure/style broken for now
Diffstat (limited to 'root/user')
-rw-r--r-- | root/user/firstlogin.tt | 27 | ||||
-rw-r--r-- | root/user/index.tt | 36 | ||||
-rw-r--r-- | root/user/password.tt | 38 |
3 files changed, 46 insertions, 55 deletions
diff --git a/root/user/firstlogin.tt b/root/user/firstlogin.tt index 79d15c1..5fa648a 100644 --- a/root/user/firstlogin.tt +++ b/root/user/firstlogin.tt @@ -1,17 +1,16 @@ <form method="post" action=""> -<table border='0'> - <tr> - <td>[% l('New Password') %]</td> - <td><input name="newpassword1" type="password"></td> - </tr> - <tr> - <td>[% l('Repeat New Password') %]</td> - <td><input name="newpassword2" type="password"></td> - </tr> - <tr> - <td></td> - <td align=right><input type="submit" value="[% l('Change') %]" /></td> - </tr> -</table> + + <p> + <label for="newpassword1_">[% l('New Password') %]</label> + <input id="newpassword1_" name="newpassword1" type="password" value="" /> + </p> + + <p> + <label for="newpassword2_">[% l('Repeat New Password') %]</label> + <input id="newpassword2_" name="newpassword2" type="password" value="" /> + </p> + + <p><input type="submit" value="[% l('Change') %]" /></p> + </form> diff --git a/root/user/index.tt b/root/user/index.tt index d0bdb5a..7c70b4a 100644 --- a/root/user/index.tt +++ b/root/user/index.tt @@ -22,30 +22,22 @@ </td> </tr> [% END %] - <tr> - <td colspan=2 align=center> - <input type='Submit' value='[% l('Update') %]'> - </td> - </tr> </table> + + <p><input type="Submit" value="[% l('Update') %]" /></p> </form> +<hr /> + <form method="post" action="/user/add"> - <table> - <tr> - <td> - <select name="attribute"> - [% FOREACH attr IN may %] - <option value="[% attr %]">[% attr %]</option> - [% END %] - </select> - </td> - <td> - <input name="value" /> - </td> - <td> - <input type="submit" value="[% l('Add') %]" /> - </td> - </tr> - </table> + <p> + <select name="attribute"> + [% FOREACH attr IN may %] + <option value="[% attr %]">[% attr %]</option> + [% END %] + + <input name="value" value="" /> + + <input type="submit" value="[% l('Add') %]" /> + </p> </form> diff --git a/root/user/password.tt b/root/user/password.tt index 38832a2..85db475 100644 --- a/root/user/password.tt +++ b/root/user/password.tt @@ -1,21 +1,21 @@ -<form method="post"> -<table> - <tr> - <td>[% l('Current password') %]</td> - <td><input name="password" type="password" /></td> - </tr> - <tr> - <td>[% l('New Password') %]</td> - <td><input name="newpassword1" type="password" /></td> - </tr> - <tr> - <td>[% l('Repeat New Password') %]</td> - <td><input name="newpassword2" type="password" /></td> - </tr> - <tr> - <td></td> - <td align="right"><input type="submit" value="[% l('Change') %]"></td> - </tr> -</table> +<form method="post" action=""> + + <p> + <label for="password_">[% l('Current password') %]</label> + <input id="password_" name="password" type="password" value="" /> + </p> + + <p> + <label for="newpassword1_">[% l('New Password') %]</label> + <input id="newpassword1_" name="newpassword1" type="password" value="" /> + </p> + + <p> + <label for="newpassword2_">[% l('Repeat New Password') %]</label> + <input id="newpassword2_" name="newpassword2" type="password" value="" /> + </p> + + <p><input type="submit" value="[% l('Change') %]" /></p> + </form> |