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 @@ ...@@ -36,13 +36,40 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[ <value> <unicode encoding="cdata"><![CDATA[
<div id="login_form">\n <div id="login-box">\n
<h4>Log in</h4>\n <table id="field_table">\n
<label for="name" class="required">Name</label><br/>\n <tbody>\n
<input type="text" name="__ac_name" id="name" tal:attributes="value python: request.get(\'__ac_name\') or \'\'" /><br/>\n <tr>\n
<label for="password">Password</label><br/>\n <td>\n
<input type="password" name="__ac_password" id="password" /><br/>\n <table>\n
<input type="submit" name="logged_in:method" class="submit" value="Login">\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> </div>
]]></unicode> </value> ]]></unicode> </value>
......
...@@ -850,17 +850,22 @@ iframe#field_my_text_content___Frame {\n ...@@ -850,17 +850,22 @@ iframe#field_my_text_content___Frame {\n
height: 489px !important;\n height: 489px !important;\n
}\n }\n
\n \n
div#login_form {\n div#login-box {\n
font-family: Arial,Helvetica,sans-serif;\n font-family: Arial,Helvetica,sans-serif;\n
font-size: 12px;\n font-size: 12px;\n
margin: 0;\n margin: 0;\n
padding: 0;\n padding: 0 23px 0 0;\n
float:right;\n
}\n }\n
\n \n
div#login_form input {\n div#login-box input {\n
vertical-align: middle; \n vertical-align: middle; \n
}\n }\n
\n \n
div#login-box input.submit {\n
margin-top: 6px;\n
}\n
\n
div#preference_dialog {\n div#preference_dialog {\n
display:none;\n display:none;\n
width: 308px !important;\n width: 308px !important;\n
...@@ -1029,7 +1034,19 @@ div#preference_dialog select{\n ...@@ -1029,7 +1034,19 @@ div#preference_dialog select{\n
}\n }\n
\n \n
a.your_listbox_title {\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> ]]></string> </value>
......
261 262
\ No newline at end of file \ 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