Commit a6346e8b authored by Gabriel Monnerat's avatar Gabriel Monnerat

Improve login dialog of UNG

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43899 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e090c8fc
......@@ -36,13 +36,40 @@
<key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[
<div id="login_form">\n
<h4>Log in</h4>\n
<label for="name" class="required">Name</label><br/>\n
<input type="text" name="__ac_name" id="name" tal:attributes="value python: request.get(\'__ac_name\') or \'\'" /><br/>\n
<label for="password">Password</label><br/>\n
<input type="password" name="__ac_password" id="password" /><br/>\n
<input type="submit" name="logged_in:method" class="submit" value="Login">\n
<div id="login-box">\n
<table id="field_table">\n
<tbody>\n
<tr>\n
<td>\n
<table>\n
<tr>\n
<td align="center" colspan="2">\n
<font size="-1">Login in</font>\n
</td>\n
</tr>\n
<tr></tr>\n
<tr>\n
<td>\n
<label for="name">Name:</label>\n
</td>\n
<td>\n
<input type="text" name="__ac_name" id="name" tal:attributes="value python: request.get(\'__ac_name\') or \'\'" />\n
</td>\n
</tr>\n
<tr>\n
<td>\n
<label for="password">Password:</label>\n
</td>\n
<td>\n
<input type="password" name="__ac_password" id="password" />\n
</td>\n
</tr>\n
<td align="center" colspan="2">\n
<input type="submit" name="logged_in:method" class="submit" value="Sign In">\n
</td>\n
</tr>\n
</tbody>\n
</table>\n
</div>
]]></unicode> </value>
......
......@@ -850,17 +850,22 @@ iframe#field_my_text_content___Frame {\n
height: 489px !important;\n
}\n
\n
div#login_form {\n
div#login-box {\n
font-family: Arial,Helvetica,sans-serif;\n
font-size: 12px;\n
margin: 0;\n
padding: 0;\n
padding: 0 23px 0 0;\n
float:right;\n
}\n
\n
div#login_form input {\n
div#login-box input {\n
vertical-align: middle; \n
}\n
\n
div#login-box input.submit {\n
margin-top: 6px;\n
}\n
\n
div#preference_dialog {\n
display:none;\n
width: 308px !important;\n
......@@ -1029,7 +1034,19 @@ div#preference_dialog select{\n
}\n
\n
a.your_listbox_title {\n
display: none\n
display: none;\n
}\n
\n
div#login-box table#field_table {\n
border: 1px solid #C3D9FF;\n
}\n
\n
div#login-box table#field_table tbody {\n
background: #E8EEFA;\n
}\n
\n
div#login-box table#field_table tbody label {\n
font-size: 10pt;\n
}
]]></string> </value>
......
261
\ No newline at end of file
262
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment