Commit 6dccbbab authored by Gabriel Monnerat's avatar Gabriel Monnerat

refactor the align of login page

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44193 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cccbeabc
...@@ -36,69 +36,86 @@ ...@@ -36,69 +36,86 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[ <value> <unicode encoding="cdata"><![CDATA[
<div id="advertisement">\n
<h2>Welcome to UNG Web Office</h2>\n <h2>Welcome to UNG Web Office</h2>\n
<p>Sign in to edit documents, spreadsheets and drawing and share this document with your friends</p>\n <div id="main-content">\n
</div>\n <table border="0" width="100%" cellpadding="0" cellspacing="0">\n
<div id="login-box">\n <tbody>\n
<table id="field_table">\n <tr>\n
<tbody>\n <td valign="top">\n
<tr>\n <div id="advertisement">\n
<b>Sign in to edit documents, spreadsheets and drawing and share this document with your friends</b>\n
</div>\n
</td>\n
<td>\n <td>\n
<table>\n <table id="field_table">\n
<tr>\n <tbody>\n
<td align="center" colspan="2"><font size="-1">Login in</font></td>\n <tr>\n
</tr>\n <td align="center">\n
<tr></tr>\n <table>\n
<tr>\n <tr><td align="center" colspan="2"><font size="-1">Login in</font></td></tr>\n
<td><label for="name">Name:</label></td>\n <tr></tr>\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 align="center"><label for="name">Name:</label></td>\n
<tr>\n <td align="center"><input type="text" name="__ac_name" id="name" tal:attributes="value python: request.get(\'__ac_name\') or \'\'" /></td>\n
<td><label for="password">Password:</label></td>\n </tr>\n
<td><input type="password" name="__ac_password" id="password" /></td>\n <tr>\n
</tr>\n <td align="center"><label for="password">Password:</label></td><td><input type="password" name="__ac_password" id="password" /></td>\n
<td align="center" colspan="2"><input type="submit" name="logged_in:method" class="submit" value="Sign In"></td>\n </tr>\n
</tr>\n <td align="center" colspan="2"><input type="submit" name="logged_in:method" class="submit" value="Sign In"></td>\n
</tbody>\n </table>\n
</table>\n </td>\n
<p>\n </tr>\n
<table id="new-account-table">\n </tbody>\n
<tbody>\n </table>\n
<tr>\n \n
</td>\n
</tr>\n
<tr>\n
<td><p></td>\n
<td>\n <td>\n
<table width="100%">\n <table id="create-new-user">\n
<tr>\n <tbody>\n
<td align="center" colspan="2"><b>Don\'t have an UNG Account?</b></td>\n <tr>\n
</tr>\n <td>\n
<tr>\n <form id="create-user" method="post">\n
<td id="new-account-form" align="center" colspan="2">Create an account now</td>\n <table width="100%">\n
</tr>\n <tr><td align="center" colspan="2"><b>Create an account</b></td></tr>\n
</tr>\n <tr><td id="form-message" align="center" colspan="2"></td></tr>\n
</tbody>\n <tr><td>First name:</td><td><input type="text" name="firstname"/></td></tr>\n
</table>\n <tr><td>Last name:</td><td><input type="text" name="lastname"/></td></tr>\n
<p>\n <tr><td>Email:</td><td><input type="text" name="email"/></td></tr>\n
<table id="create-new-user">\n <tr><td>Login name:</td><td><input type="text" name="login_name"/></td></tr>\n
<tbody>\n <tr><td>Password:</td><td><input type="password" name="password"/></td></tr>\n
<tr>\n <tr><td>Confirm Password:</td><td><input type="password" name="confirm"/></td></tr>\n
<td>\n <td align="center" colspan="2"><input type="submit" name="logged_in:method" class="submit" value="Create Account"></td>\n
<form id="create-user" method="post">\n </table>\n
<table width="100%">\n </form>\n
<tr><td align="center" colspan="2"><b>Create an account</b></td></tr>\n </td>\n
<tr><td id="form-message" align="center" colspan="2"></td></tr>\n </tr>\n
<tr><td>First name:</td><td><input type="text" name="firstname"/></td></tr>\n </tbody>\n
<tr><td>Last name:</td><td><input type="text" name="lastname"/></td></tr>\n </table></td><tr>\n
<tr><td>Email:</td><td><input type="text" name="email"/></td></tr>\n <tr>\n
<tr><td>Login name:</td><td><input type="text" name="login_name"/></td></tr>\n <td></td>\n
<tr><td>Password:</td><td><input type="password" name="password"/></td></tr>\n <td>\n
<tr><td>Confirm Password:</td><td><input type="password" name="confirm"/></td></tr>\n <table id="new-account-table">\n
<td align="center" colspan="2"><input type="submit" name="logged_in:method" class="submit" value="Create Account"></td>\n <tbody>\n
</table>\n <tr>\n
</form>\n <td>\n
</td>\n <table width="100%">\n
</tr>\n <tr><td align="center" colspan="2"><b>Don\'t have an UNG Account?</b></td></tr>\n
</tbody>\n <tr><td id="new-account-form" align="center" colspan="2">Create an account now</td></tr>\n
</table>\n </table>\n
</td>\n
</tr>\n
</tbody>\n
</table>\n
</td>\n
</tr>\n
<div id="login-box">\n
\n
</div>\n
</tbody>\n
</table> \n
</div> </div>
]]></unicode> </value> ]]></unicode> </value>
......
...@@ -1026,11 +1026,11 @@ div#pad-navigation-wrapper {\n ...@@ -1026,11 +1026,11 @@ div#pad-navigation-wrapper {\n
border: 0px !important;\n border: 0px !important;\n
}\n }\n
\n \n
img[alt="calendar_logo_box"]{\n img[alt="calendar_logo_box"] {\n
margin-top: 10px;\n margin-top: 10px;\n
}\n }\n
\n \n
div#preference_dialog select{\n div#preference_dialog select {\n
border: 0px;\n border: 0px;\n
}\n }\n
\n \n
...@@ -1051,12 +1051,12 @@ table#field_table tbody,\n ...@@ -1051,12 +1051,12 @@ table#field_table tbody,\n
background: #E8EEFA;\n background: #E8EEFA;\n
}\n }\n
\n \n
div#login-box table#field_table tbody label {\n table#field_table tbody label {\n
font-size: 10pt;\n font-size: 10pt;\n
float: right;\n float: right;\n
}\n }\n
\n \n
div#login-box table#new-account-table table td,\n table#new-account-table table td,\n
table#create-new-user td {\n table#create-new-user td {\n
font-size: 10pt;\n font-size: 10pt;\n
}\n }\n
...@@ -1082,7 +1082,7 @@ div#advertisement h2 {\n ...@@ -1082,7 +1082,7 @@ div#advertisement h2 {\n
font-size: 15pt;\n font-size: 15pt;\n
}\n }\n
\n \n
div#advertisement p {\n div#advertisement b {\n
font-size: 12px !important; \n font-size: 12px !important; \n
} }
......
285 286
\ 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