[Mageia-sysadm] [240] rework a little bit the password change dialog
root at mageia.org
root at mageia.org
Fri Jan 7 01:57:34 CET 2011
Revision: 240
Author: misc
Date: 2011-01-07 01:57:33 +0100 (Fri, 07 Jan 2011)
Log Message:
-----------
rework a little bit the password change dialog
Modified Paths:
--------------
identity/CatDap/trunk/root/static/style/ttsite.css
identity/CatDap/trunk/root/user/password.tt
Modified: identity/CatDap/trunk/root/static/style/ttsite.css
===================================================================
--- identity/CatDap/trunk/root/static/style/ttsite.css 2011-01-07 00:57:29 UTC (rev 239)
+++ identity/CatDap/trunk/root/static/style/ttsite.css 2011-01-07 00:57:33 UTC (rev 240)
@@ -100,6 +100,29 @@
float: right;
}
+#password_change_form {
+ display: block;
+ float: left;
+}
+
+#password_change_form input:focus {
+ background: #ddf;
+}
+
+#password_change_form button {
+ margin-bottom: 1.5em;
+ margin-top: 0.5em;
+ float: right;
+}
+
+#password_change_form label {
+ text-align: left;
+ float: left;
+ width: 150px;
+}
+
+
+
/* End changes obgr_seneca */
.message {
Modified: identity/CatDap/trunk/root/user/password.tt
===================================================================
--- identity/CatDap/trunk/root/user/password.tt 2011-01-07 00:57:29 UTC (rev 239)
+++ identity/CatDap/trunk/root/user/password.tt 2011-01-07 00:57:33 UTC (rev 240)
@@ -1,21 +1,18 @@
-
+<div id="password_change_form">
+<h2>Change password</h2>
<form method="post" action="">
- <p>
<label for="password_">[% l('Current password') %]</label>
<input id="password_" name="password" type="password" value="" />
- </p>
-
- <p>
+ <br/>
+ <br/>
<label for="newpassword1_">[% l('New Password') %]</label>
<input id="newpassword1_" name="newpassword1" type="password" value="" />
- </p>
-
- <p>
+ <br/>
<label for="newpassword2_">[% l('Repeat New Password') %]</label>
<input id="newpassword2_" name="newpassword2" type="password" value="" />
- </p>
+ <br/>
+ <button type="submit" value="[% l('Change') %]" />[% l('Change') %]</button>
- <p><input type="submit" value="[% l('Change') %]" /></p>
-
</form>
+</div>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110107/980754c1/attachment.html>
More information about the Mageia-sysadm
mailing list