blob: ca0a64509ce1a67023965ace884e4946ec30172d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] [186] - rework the layout of the login form ( less table )
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B186%5D%20-%20rework%20the%20layout%20of%20the%20login%20form%20%28%20less%0A%09table%20%29&In-Reply-To=%3C20101221020500.2F357408E0%40valstar.mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="001336.html">
<LINK REL="Next" HREF="001338.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] [186] - rework the layout of the login form ( less table )</H1>
<B>root at mageia.org</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B186%5D%20-%20rework%20the%20layout%20of%20the%20login%20form%20%28%20less%0A%09table%20%29&In-Reply-To=%3C20101221020500.2F357408E0%40valstar.mageia.org%3E"
TITLE="[Mageia-sysadm] [186] - rework the layout of the login form ( less table )">root at mageia.org
</A><BR>
<I>Tue Dec 21 03:05:00 CET 2010</I>
<P><UL>
<LI>Previous message: <A HREF="001336.html">[Mageia-sysadm] [185] do not proceed with registration if ldap gives errors, patch from Maarten Vanraes
</A></li>
<LI>Next message: <A HREF="001338.html">[Mageia-sysadm] [187] mark various string as translatable, patch from Marianne Lombard
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1337">[ date ]</a>
<a href="thread.html#1337">[ thread ]</a>
<a href="subject.html#1337">[ subject ]</a>
<a href="author.html#1337">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Revision: 186
Author: misc
Date: 2010-12-21 03:04:59 +0100 (Tue, 21 Dec 2010)
Log Message:
-----------
- rework the layout of the login form ( less table )
Modified Paths:
--------------
identity/CatDap/trunk/root/index.tt
identity/CatDap/trunk/root/static/style/ttsite.css
Modified: identity/CatDap/trunk/root/index.tt
===================================================================
--- identity/CatDap/trunk/root/index.tt 2010-12-21 02:04:56 UTC (rev 185)
+++ identity/CatDap/trunk/root/index.tt 2010-12-21 02:04:59 UTC (rev 186)
@@ -1,31 +1,22 @@
<h1>[% l('Login') %]</h1>
-<div id="input_form">
+<div id="login_form">
<form method="post" action="/user">
-
- <table>
- <tr><td>
+ <div id="login_form_inputs">
<label for="username_">[% l('Username') %]</label>
- </td><td>
<input id="username_" type="text" name="username" value="[% c.user.username %]" />
- </td></tr>
+ <br />
- <tr><td>
<label for="password_">[% l('Password') %]</label>
- </td><td>
<input id="password_" type="password" name="password" />
- </td></tr>
-
- <tr><td colspan="2" style="text-align:center;">
- <button type="submit" value="[% l('Login') %]" />[% l('Login') %]</button>&nbsp;&nbsp;
- [% l('or') %]&nbsp;&nbsp;
- <a href="/register">[% l('Register') %]</a>
- </td></tr>
-
- <tr><td colspan="2">
- @todo [% l('Forgotten password?') %]
- </td></tr>
- </table>
-
+ <br />
+ <button type="submit" value="[% l('Login') %]" />[% l('Login') %]</button>
+ </div>
+ <div id="login_form_line">
+ <span><a href="/register">[% l('Register') %]</a> |
+ @todo [% l('Forgotten password?') %]
+ <!--<a href="/forgot_password">[% l('Forgotten password?') %]</a> -->
+ </span>
+ </div>
</form>
</div>
Modified: identity/CatDap/trunk/root/static/style/ttsite.css
===================================================================
--- identity/CatDap/trunk/root/static/style/ttsite.css 2010-12-21 02:04:56 UTC (rev 185)
+++ identity/CatDap/trunk/root/static/style/ttsite.css 2010-12-21 02:04:59 UTC (rev 186)
@@ -67,6 +67,34 @@
padding: 4px;
}
+#login_form label {
+ text-align:left;
+ float: left;
+ width: 140px;
+}
+
+#login_form {
+ display: block;
+ float: left;
+ margin-bottom: 2.5em;
+}
+
+#login_form_inputs {
+ margin-bottom: 1.5em;
+}
+
+#login_form input:focus {
+ background: #ddf;
+}
+
+#login_form_line span {
+ float: left;
+}
+
+#login_form button {
+ float: right;
+}
+
/* End changes obgr_seneca */
.message {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101221/46e3bedf/attachment-0001.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="001336.html">[Mageia-sysadm] [185] do not proceed with registration if ldap gives errors, patch from Maarten Vanraes
</A></li>
<LI>Next message: <A HREF="001338.html">[Mageia-sysadm] [187] mark various string as translatable, patch from Marianne Lombard
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1337">[ date ]</a>
<a href="thread.html#1337">[ thread ]</a>
<a href="subject.html#1337">[ subject ]</a>
<a href="author.html#1337">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>
|