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,9 +71,9 @@ ...@@ -71,9 +71,9 @@
</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
...@@ -93,7 +93,9 @@ ...@@ -93,7 +93,9 @@
</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
......
...@@ -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