Commit e93d48f7 authored by Gabriel Monnerat's avatar Gabriel Monnerat

improve login dialog and your css

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43911 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0ef2af0
......@@ -37,39 +37,42 @@
<value> <unicode encoding="cdata"><![CDATA[
<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
<table id="field_table">\n
<tbody>\n
<tr>\n
<td>\n
<table>\n
<tr>\n
<td align="center" colspan="2"><font size="-1">Login in</font></td>\n
</tr>\n
<tr></tr>\n
<tr>\n
<td><label for="name">Name:</label></td>\n
<td><input type="text" name="__ac_name" id="name" tal:attributes="value python: request.get(\'__ac_name\') or \'\'" /></td>\n
</tr>\n
<tr>\n
<td><label for="password">Password:</label></td>\n
<td><input type="password" name="__ac_password" id="password" /></td>\n
</tr>\n
<td align="center" colspan="2"><input type="submit" name="logged_in:method" class="submit" value="Sign In"></td>\n
</tr>\n
</tbody>\n
</table>\n
<p>\n
<table id="new-account-table">\n
<tbody>\n
<tr>\n
<td>\n
<table width="100%">\n
<tr>\n
<td align="center" colspan="2"><b>Don\'t have an UNG Account?</b></td>\n
</tr>\n
<tr>\n
<td id="new-account-form" align="center" colspan="2">Create an account now</td>\n
</tr>\n
</tr>\n
</tbody>\n
</table>\n
</div>
]]></unicode> </value>
......
......@@ -854,7 +854,7 @@ div#login-box {\n
font-family: Arial,Helvetica,sans-serif;\n
font-size: 12px;\n
margin: 0;\n
padding: 0 23px 0 0;\n
padding: 23px 23px 0 0;\n
float:right;\n
}\n
\n
......@@ -1037,16 +1037,32 @@ a.your_listbox_title {\n
display: none;\n
}\n
\n
div#login-box table#field_table {\n
div#login-box table#field_table,\n
div#login-box table#new-account-table {\n
border: 1px solid #C3D9FF;\n
}\n
\n
div#login-box table#field_table tbody {\n
div#login-box table#field_table tbody,\n
div#login-box table#new-account-table tbody {\n
background: #E8EEFA;\n
}\n
\n
div#login-box table#field_table tbody label {\n
font-size: 10pt;\n
}\n
\n
div#login-box table#new-account-table {\n
width: 100%;\n
}\n
\n
div#login-box table#new-account-table table td {\n
font-size: 10pt;\n
}\n
\n
td#new-account-form {\n
text-decoration: underline;\n
color: #00C;\n
font-weight: bold;\n
}
]]></string> </value>
......
......@@ -105,6 +105,7 @@ function changeCheckBoxValue(value){\n
}\n
\n
function displayLoginForm(){\n
$("a.ung_docs, img[alt=\'calendar_logo_box\']").hide();\n
$("div.header-left div.field input, div.main-right, div.main-left").hide();\n
if ($("div#login_form").html() == null){\n
$.get("WebSection_loginDialog", function(data){\n
......
262
\ No newline at end of file
263
\ 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