Commit 0e626538 authored by Fabien Morin's avatar Fabien Morin

* improve register button display and css

* add manager permissions on validated state
* add french translated messages

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21222 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 367968ad
......@@ -58,6 +58,13 @@
\n
<tal:block define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \'text/css;; charset=utf-8\')"/>\n
\n
/* Define some constant to make the css flexible without pain */\n
<tal:block\n
define="unit python: \'px\';\n
PADDING python: 15;\n
MIN_WIDTH python: 400;\n
">\n
\n
.document .status{\n
width:100%;\n
}\n
......@@ -70,9 +77,8 @@
padding-top: 50px !important;\n
}\n
\n
.document .tools .tabberlive,\n
.become_vip_member{\n
min-width: 400px;\n
.document .tools .tabberlive{\n
min-width: <tal:block replace="python: (\'%s%s\') % (MIN_WIDTH, unit)"/>;\n
}\n
\n
/*--------------------------------------------------\n
......@@ -152,7 +158,7 @@ ul.tabbernav li.tabberactive a:hover\n
Add style only after the tabber interface is set up (.tabberlive)\n
--------------------------------------------------*/\n
.tabberlive .tabbertab {\n
padding:15px;\n
padding: <tal:block replace="python: (\'%s%s\') % (PADDING, unit)"/>;\n
border:1px solid #aaa;\n
border-top:0;\n
\n
......@@ -228,12 +234,20 @@ div.fields div{\n
VIP CSS !\n
-------------------------------------------------*/\n
\n
.become_vip_member{\n
min-width: <tal:block replace="python: (\'%s%s\') % (MIN_WIDTH - 2*PADDING - 2, unit)"/>;\n
}\n
\n
.become_vip_member{\n
border: 1px solid #aaa;\n
padding: 1em 2em 3.5em 2em;\n
/*padding: 1em 2em 3.5em 2em;*/\n
padding: <tal:block replace="python: (\'%s%s\') % (PADDING, unit)"/>;\n
background: #fff;\n
}\n
\n
#register_button{\n
}\n
\n
.become_vip_member{\n
margin-bottom: 40px;\n
}\n
......@@ -274,6 +288,8 @@ margin-right: 1em;\n
\n
.tabbertab .advanced_search_fields input{\n
}\n
\n
</tal:block>\n
]]></string> </value>
......
......@@ -63,6 +63,7 @@ Description:\n
name="EGov_register:method"\n
value="Register >>"/>\n
</div>\n
<div class="clear"></div>\n
</tal:block>\n
......
......@@ -72,6 +72,7 @@
<tuple>
<string>Assignor</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
......@@ -81,6 +82,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
......@@ -89,6 +91,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
......@@ -97,6 +100,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
......@@ -106,6 +110,7 @@
<tuple>
<string>Assignor</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
......
107
\ No newline at end of file
111
\ 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