Commit f51aee42 authored by Gabriel Monnerat's avatar Gabriel Monnerat

fix import and improve css

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44210 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8738dcfa
...@@ -71,29 +71,31 @@ ...@@ -71,29 +71,31 @@
</td>\n </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td><p></td>\n <td><br/></td>\n
<td>\n <td>\n
<table id="create-new-user">\n <table id="create-new-user">\n
<tbody>\n <tbody>\n
<tr>\n <tr>\n
<td>\n <td>\n
<form id="create-user" method="post">\n <form id="create-user" method="post">\n
<table width="100%">\n <table width="100%">\n
<tr><td align="center" colspan="2"><b>Create an account</b></td></tr>\n <tr><td align="center" colspan="2"><b>Create an account</b></td></tr>\n
<tr><td id="form-message" align="center" colspan="2"></td></tr>\n <tr><td id="form-message" align="center" colspan="2"></td></tr>\n
<tr><td>First name:</td><td><input type="text" name="firstname"/></td></tr>\n <tr><td>First name:</td><td><input type="text" name="firstname"/></td></tr>\n
<tr><td>Last name:</td><td><input type="text" name="lastname"/></td></tr>\n <tr><td>Last name:</td><td><input type="text" name="lastname"/></td></tr>\n
<tr><td>Email:</td><td><input type="text" name="email"/></td></tr>\n <tr><td>Email:</td><td><input type="text" name="email"/></td></tr>\n
<tr><td>Login name:</td><td><input type="text" name="login_name"/></td></tr>\n <tr><td>Login name:</td><td><input type="text" name="login_name"/></td></tr>\n
<tr><td>Password:</td><td><input type="password" name="password"/></td></tr>\n <tr><td>Password:</td><td><input type="password" name="password"/></td></tr>\n
<tr><td>Confirm Password:</td><td><input type="password" name="confirm"/></td></tr>\n <tr><td>Confirm Password:</td><td><input type="password" name="confirm"/></td></tr>\n
<td align="center" colspan="2"><input type="submit" name="logged_in:method" class="submit" value="Create Account"></td>\n <td align="center" colspan="2"><input type="submit" name="logged_in:method" class="submit" value="Create Account"></td>\n
</table>\n </table>\n
</form>\n </form>\n
</td>\n </td>\n
</tr>\n </tr>\n
</tbody>\n </tbody>\n
</table></td><tr>\n </table>\n
</td>\n
<tr>\n
<tr>\n <tr>\n
<td></td>\n <td></td>\n
<td>\n <td>\n
...@@ -111,8 +113,8 @@ ...@@ -111,8 +113,8 @@
</table>\n </table>\n
</td>\n </td>\n
</tr>\n </tr>\n
</tbody>\n </tbody>\n
</table> \n </table> \n
</div>\n </div>\n
<div class="footer">\n <div class="footer">\n
<a href="http://www.freecloudalliance.org/">Free Cloud Alliance</a>\n <a href="http://www.freecloudalliance.org/">Free Cloud Alliance</a>\n
......
...@@ -1042,7 +1042,7 @@ table#field_table,\n ...@@ -1042,7 +1042,7 @@ table#field_table,\n
table#new-account-table,\n table#new-account-table,\n
table#create-new-user {\n table#create-new-user {\n
border: 1px solid #C3D9FF;\n border: 1px solid #C3D9FF;\n
width: 100%;\n width: 78%;\n
}\n }\n
\n \n
table#field_table tbody,\n table#field_table tbody,\n
...@@ -1087,9 +1087,9 @@ div#advertisement b {\n ...@@ -1087,9 +1087,9 @@ div#advertisement b {\n
}\n }\n
\n \n
div.footer {\n div.footer {\n
text-align: center;\n text-align: center !important;\n
margin-top: 40px;\n margin-top: 40px !important;\n
font-size: 10pt;\n font-size: 10pt !important;\n
} }
]]></string> </value> ]]></string> </value>
......
...@@ -141,6 +141,7 @@ function displayLoginForm(){ \n ...@@ -141,6 +141,7 @@ function displayLoginForm(){ \n
$("table#create-new-user input[type=\'text\'], table#create-new-user input[type=\'password\']").each(function(){\n $("table#create-new-user input[type=\'text\'], table#create-new-user input[type=\'password\']").each(function(){\n
$(this).attr("value", "");\n $(this).attr("value", "");\n
});\n });\n
$("table#field_table, table#new-account-table, table#create-new-user").css("width", "100%");\n
$("table#create-new-user").show();\n $("table#create-new-user").show();\n
$("form#create-user").submit(function(event){\n $("form#create-user").submit(function(event){\n
event.preventDefault();\n event.preventDefault();\n
...@@ -483,6 +484,7 @@ $().ready(function(){\n ...@@ -483,6 +484,7 @@ $().ready(function(){\n
displayLoginForm();\n displayLoginForm();\n
}\n }\n
if ($("table#create-new-user").css("display") != "none"){\n if ($("table#create-new-user").css("display") != "none"){\n
$("table#field_table, table#new-account-table, table#create-new-user").css("width", "78%");\n
$("table#create-new-user").hide();\n $("table#create-new-user").hide();\n
$("table#field_table, table#new-account-table").show();\n $("table#field_table, table#new-account-table").show();\n
}\n }\n
......
288 289
\ 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