Commit 4c2d68ea authored by Fabien Morin's avatar Fabien Morin

fix editable problems.

Now it's always in editable mode and tabs are hide on citizen web_site.
Citizen steps are hide in dgid web_site

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23286 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 97c1f8c7
......@@ -70,9 +70,10 @@
# check captcha\n
if not context.isCaptchaTextCorrect(captcha_text):\n
message = "text entered at the right of the picture is wrong"\n
translated_message = context.Base_translateString(message)\n
return request[\'RESPONSE\'].redirect(\n
"%s/%s?portal_status_message=%s" %\n
(context.absolute_url(), form_id, message))\n
(context.absolute_url(), form_id, translated_message))\n
\n
return context.EGov_createNewProcedure(new_application_procedure=\'Subscription Form\')\n
</string> </value>
......@@ -138,6 +139,7 @@ return context.EGov_createNewProcedure(new_application_procedure=\'Subscription
<string>context</string>
<string>request</string>
<string>message</string>
<string>translated_message</string>
<string>_getitem_</string>
</tuple>
</value>
......@@ -159,6 +161,12 @@ return context.EGov_createNewProcedure(new_application_procedure=\'Subscription
<key> <string>id</string> </key>
<value> <string>EGov_register</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
......@@ -50,6 +50,10 @@
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Base_edit</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -64,14 +68,10 @@
<key> <string>group_list</string> </key>
<value>
<list>
<string>left column transparent (Logo)</string>
<string>left column (Navigation)</string>
<string>left column (Contents)</string>
<string>left column (Search)</string>
<string>left column (Debug)</string>
<string>right column (Demo)</string>
<string>right column (Toolbox)</string>
<string>footer</string>
<string>left</string>
<string>right</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -80,68 +80,38 @@
<value>
<dictionary>
<item>
<key> <string>footer</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left column (Contents)</string> </key>
<value>
<list>
<string>subsection_list</string>
<string>section_content_list</string>
</list>
</value>
</item>
<item>
<key> <string>left column (Debug)</string> </key>
<value>
<list>
<string>applicable_layout</string>
</list>
</value>
</item>
<item>
<key> <string>left column (Navigation)</string> </key>
<key> <string>bottom</string> </key>
<value>
<list>
<string>language_selector</string>
<string>breadcrumb</string>
<string>listbox</string>
</list>
</value>
</item>
<item>
<key> <string>left column (Search)</string> </key>
<key> <string>hidden</string> </key>
<value>
<list>
<string>your_search_text</string>
<string>search_action</string>
<string>listbox_registration_number</string>
<string>my_agence_title</string>
<string>my_succursale_title</string>
<string>my_collateral_parent_list</string>
<string>my_inscription_parent_list</string>
</list>
</value>
</item>
<item>
<key> <string>left column transparent (Logo)</string> </key>
<key> <string>left</string> </key>
<value>
<list>
<string>website_logo</string>
<string>my_title</string>
<string>my_corporate_registration_code</string>
</list>
</value>
</item>
<item>
<key> <string>right column (Demo)</string> </key>
<key> <string>right</string> </key>
<value>
<list>
<string>about_box</string>
</list>
</value>
</item>
<item>
<key> <string>right column (Toolbox)</string> </key>
<value>
<list>
<string>admin_toolbox</string>
</list>
<list/>
</value>
</item>
</dictionary>
......@@ -149,7 +119,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_egov_layout</string> </value>
<value> <string>Organisation_viewFormList</string> </value>
</item>
<item>
<key> <string>isIndexable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -157,15 +131,15 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>erp5_web_default_layout</string> </value>
<value> <string>Organisation_viewFormList</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>template_erp5_web</string> </value>
<value> <string>form_view</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>6</int> </value>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
......@@ -173,7 +147,13 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Default Web Layout</string> </value>
<value> <string>Related Forms</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -50,6 +50,10 @@
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Base_edit</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -64,14 +68,10 @@
<key> <string>group_list</string> </key>
<value>
<list>
<string>left column transparent (Logo)</string>
<string>left column (Navigation)</string>
<string>left column (Contents)</string>
<string>left column (Search)</string>
<string>left column (Debug)</string>
<string>right column (Demo)</string>
<string>right column (Toolbox)</string>
<string>footer</string>
<string>left</string>
<string>right</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -80,68 +80,37 @@
<value>
<dictionary>
<item>
<key> <string>footer</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left column (Contents)</string> </key>
<value>
<list>
<string>subsection_list</string>
<string>section_content_list</string>
</list>
</value>
</item>
<item>
<key> <string>left column (Debug)</string> </key>
<value>
<list>
<string>applicable_layout</string>
</list>
</value>
</item>
<item>
<key> <string>left column (Navigation)</string> </key>
<key> <string>bottom</string> </key>
<value>
<list>
<string>language_selector</string>
<string>breadcrumb</string>
<string>listbox</string>
</list>
</value>
</item>
<item>
<key> <string>left column (Search)</string> </key>
<key> <string>hidden</string> </key>
<value>
<list>
<string>your_search_text</string>
<string>search_action</string>
<string>listbox_registration_number</string>
<string>my_agence_title</string>
<string>my_succursale_title</string>
<string>my_collateral_parent_list</string>
<string>my_inscription_parent_list</string>
</list>
</value>
</item>
<item>
<key> <string>left column transparent (Logo)</string> </key>
<key> <string>left</string> </key>
<value>
<list>
<string>website_logo</string>
<string>my_title</string>
</list>
</value>
</item>
<item>
<key> <string>right column (Demo)</string> </key>
<key> <string>right</string> </key>
<value>
<list>
<string>about_box</string>
</list>
</value>
</item>
<item>
<key> <string>right column (Toolbox)</string> </key>
<value>
<list>
<string>admin_toolbox</string>
</list>
<list/>
</value>
</item>
</dictionary>
......@@ -149,7 +118,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_egov_section_layout</string> </value>
<value> <string>Person_viewFormList</string> </value>
</item>
<item>
<key> <string>isIndexable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -157,15 +130,15 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>erp5_web_default_layout</string> </value>
<value> <string>Organisation_viewFormList</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>template_erp5_web</string> </value>
<value> <string>form_view</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>6</int> </value>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
......@@ -173,7 +146,13 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Default Section Layout</string> </value>
<value> <string>Related Forms</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -115,6 +115,7 @@ li {margin-left: 1em}\n
display: none !important\n
}\n
\n
\n
table {\n
border-collapse: collapse;\n
border-spacing: 0;\n
......@@ -217,6 +218,204 @@ div.breadcrumb li a.selected {\n
}\n
\n
div.breadcrumb li a.selected:hover {border-bottom-color: #39f} /* same as "a:hover" rule */\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
/*========================================================================================\n
** FORMs & INPUTs\n
**========================================================================================*/\n
\n
/*\n
Inspired by Aleksandar Vaci?\'s work,\n
distributed under Creative Commons Paternity Licence:\n
* http://www.aplus.co.yu/css/forms/?css=1\n
* http://creativecommons.org/licenses/by/2.0/\n
------------------------------------------------------------------ */\n
\n
div#main_content input, textarea, select {\n
border: 1px solid #999;\n
}\n
\n
div#main_content input, textarea {\n
padding: 1px;\n
}\n
\n
div#main_content input.button, input[type="submit"] {\n
/* XXX Is this case happend in current web implementation ? */\n
background: #fff url(erp5-website-button.png) bottom repeat-x;\n
}\n
\n
div#main_content input[type="image"] {\n
border: 0;\n
vertical-align: bottom;\n
background-color: transparent;\n
}\n
\n
div#main_content button {\n
margin: .8em .5em;\n
padding: .3em;\n
}\n
\n
\n
/* Default Listbox styling\n
** TODO: change colors to have better integration in default erp5 web theme.\n
------------------------------------------------------------------ */\n
\n
div#main_content .ListSummary table {\n
width: 100%;\n
background-color: white;\n
padding: .1em;\n
margin-top: 1em;\n
background: #fff url(erp5-website-field.png) top repeat-x;\n
border: 1pt solid #ccc;\n
color: #666;\n
padding: 2px;\n
}\n
\n
div#main_content .ListContent table {\n
margin-bottom: 2em;\n
width: 100%;\n
}\n
\n
div#main_content .ListContent td {\n
padding: .1em;\n
border: 1pt solid #adb9cc;\n
vertical-align: top;\n
}\n
\n
div#main_content .ListContent td.Data {\n
background: #adb9cc\n
}\n
\n
div#main_content .ListContent tr.DataA {\n
background: #fff\n
}\n
\n
div#main_content .ListContent tr.DataB {\n
background: #eee\n
}\n
\n
div#main_content .ListContent table tr:hover {background: #ccc}\n
\n
/* Custom web Listbox styling.\n
** TODO: change colors to have better integration in default erp5 web theme.\n
------------------------------------------------------------------ */\n
\n
div#main_content table.listbox,\n
div#main_content table.listbox tr,\n
div#main_content table.listbox td,\n
div#main_content table.listbox th {\n
border: 0;\n
color: #000;\n
line-height: 1.5em;\n
margin: 0;\n
padding: 0;\n
}\n
\n
div#main_content table.listbox {\n
margin-bottom: 3em;\n
width: 100%;\n
}\n
\n
div#main_content table.listbox .right {float: right}\n
div#main_content table.listbox .left {float: left}\n
\n
div#main_content table.listbox caption,\n
div#main_content div.searchResultHeader {\n
border-top: 1px #3366CC solid;\n
background-color: #c3e3df;\n
padding: .2em;\n
color: #000;\n
}\n
\n
div#main_content table.listbox caption em,\n
div#main_content div.searchResultHeader em {\n
font-weight: bold;\n
font-style: normal;\n
}\n
\n
div#main_content table.listbox thead th,\n
div#main_content table.listbox thead td {\n
border-right: 1px #ccc solid;\n
text-align: center;\n
color: #666;\n
background: #ddd;\n
}\n
\n
div#main_content table.listbox thead th:last-child,\n
div#main_content table.listbox thead td:last-child {\n
border-right: none;\n
}\n
\n
div#main_content table.listbox thead th {\n
text-transform: capitalize;\n
font-variant: small-caps;\n
}\n
\n
div#main_content table.listbox tbody td.externalLink a,\n
div#main_content table.listbox tbody th.externalLink a {\n
text-decoration: none;\n
background: transparent url(erp5-website-external-link.png) center right no-repeat;\n
padding-right: 15px;\n
color: #637dc1;\n
}\n
\n
div#main_content table.listbox tbody td.externalLink a:hover,\n
div#main_content table.listbox tbody th.externalLink a:hover {\n
text-decoration: underline;\n
color: #637dc1;\n
}\n
\n
div#main_content table.listbox tbody td, table.listbox tbody th {border-top: 1px solid #ddd}\n
\n
div#main_content table.listbox td, table.listbox th {\n
text-align: left;\n
padding: .2em .5em;\n
}\n
\n
div#main_content table.listbox tbody td a,\n
div#main_content table.listbox tbody td a:hover,\n
div#main_content table.listbox tbody td a:visited {color: #4343D9}\n
\n
div#main_content table.listbox tbody tr {\n
background: #fff;\n
}\n
\n
div#main_content table.listbox tbody tr:hover {background: #ccc}\n
\n
div#main_content table.listbox tbody span.number, tbody span.date {float: right}\n
\n
div#main_content table.listbox tbody .mainLink {\n
font-weight: bold;\n
display: block;\n
}\n
\n
div#main_content table.listbox tfoot th, table.listbox tfoot td {border-top: 1px solid #999}\n
\n
div#main_content table.listbox tfoot td {text-align: right}\n
\n
div#main_content table.listbox tfoot .pageNavigation button {\n
border: 1px #eee solid;\n
background: #fff;\n
padding: .2em .4em;\n
margin: 0 .1em;\n
}\n
\n
div#main_content table.listbox tfoot .pageNavigation button:hover {\n
border: 1px #999 solid;\n
text-decoration: none;\n
background: #eee;\n
}\n
]]></string> </value>
......@@ -237,6 +436,12 @@ div.breadcrumb li a.selected:hover {border-bottom-color: #39f} /* same as "a:hov
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -213,6 +213,12 @@ button:hover {\n
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -118,7 +118,7 @@
</value>
</item>
<item>
<key> <string>vip_space</string> </key>
<key> <string>vip_space</string> </key>
<value>
<list>
<string>become_vip</string>
......@@ -142,7 +142,7 @@
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>template_erp5_egov</string> </value>
<value> <string>template_erp5_egov_workspace</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
......@@ -156,6 +156,12 @@
<key> <string>title</string> </key>
<value> <string>Captcha Layout</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
......
......@@ -173,7 +173,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_egov_form_layout</string> </value>
<value> <string>erp5_egov_citizen_form_layout</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -185,7 +185,7 @@
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>template_erp5_egov</string> </value>
<value> <string>template_erp5_egov_form</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
......@@ -199,6 +199,12 @@
<key> <string>title</string> </key>
<value> <string>Form Layout</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
......
......@@ -204,6 +204,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -214,6 +214,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -208,6 +208,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -190,6 +190,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -206,6 +206,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -214,6 +214,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -214,6 +214,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -206,6 +206,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -216,6 +216,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -119,6 +119,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -206,6 +206,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -206,6 +206,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -206,6 +206,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -190,6 +190,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
......
......@@ -56,6 +56,12 @@
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
......@@ -176,7 +182,7 @@
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>template_erp5_egov</string> </value>
<value> <string>template_erp5_egov_workspace</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
......@@ -190,6 +196,12 @@
<key> <string>title</string> </key>
<value> <string>Workspace Layout</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
......
......@@ -185,7 +185,7 @@
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>template_erp5_egov_dgid_agent_workspace</string> </value>
<value> <string>template_erp5_egov_form</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
......@@ -199,6 +199,12 @@
<key> <string>title</string> </key>
<value> <string>Form Layout</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
......
......@@ -182,7 +182,7 @@
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>template_erp5_egov</string> </value>
<value> <string>template_erp5_egov_workspace</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
......@@ -196,6 +196,12 @@
<key> <string>title</string> </key>
<value> <string>Workspace Layout</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
......
......@@ -9,10 +9,6 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>style_cache</string> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
......@@ -62,16 +58,17 @@
\n
<tal:block define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \'text/css;; charset=utf-8\')"/>\n
\n
/*========================================================================================\n
** FORMs & INPUTs\n
**========================================================================================*/\n
\n
/*\n
Inspired by Aleksandar Vaci?\'s work,\n
distributed under Creative Commons Paternity Licence:\n
* http://www.aplus.co.yu/css/forms/?css=1\n
* http://creativecommons.org/licenses/by/2.0/\n
------------------------------------------------------------------ */\n
/*------------ widget style -------------*/\n
\n
/* hide WebSite_viewWorkspaceWidget */\n
div#wrapper_footer{\n
display: none;\n
}\n
\n
div.next_step_action{\n
display:none;\n
}\n
\n
div#main_content input, textarea, select {\n
border: 1px solid #999;\n
......@@ -433,20 +430,7 @@ div#main_content fieldset.webcontent span.headline {\n
text-shadow: .1em .1em .1em #eee;\n
line-height: 140%;\n
text-align: left;\n
}\n
\n
\n
/*------------ widget style -------------*/\n
\n
/* hide WebSite_viewWorkspaceWidget */\n
div#wrapper_footer{\n
display: none;\n
}\n
\n
div.next_step_action{ \n
display:none;\n
}\n
}
]]></string> </value>
</item>
......@@ -460,12 +444,18 @@ div.next_step_action{ \n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_egov_editable_content.css</string> </value>
<value> <string>erp5_egov_dgid_form_layout.css</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -51,44 +51,19 @@
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
<tal:block tal:replace="nothing"\n
<tal:block replace="nothing"\n
xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal"\n
xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n
<!--\n
Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.\n
Vincent Pelletier <vincent@nexedi.com>\n
Christophe Dumez <christophe@nexedi.com>\n
Fabien MORIN <fabien@nexedi.com>\n
xmlns:i18n="http://xml.zope.org/namespaces/i18n"/>\n
\n
This program is Free Software; you can redistribute it and/or\n
modify it under the terms of the GNU General Public License\n
as published by the Free Software Foundation; either version 2\n
of the License, or (at your option) any later version.\n
<tal:block define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \'text/css;; charset=utf-8\')"/>\n
\n
This program is distributed in the hope that it will be useful,\n
but WITHOUT ANY WARRANTY; without even the implied warranty of\n
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n
GNU General Public License for more details.\n
\n
You should have received a copy of the GNU General Public License\n
along with this program; if not, write to the Free Software\n
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
-->\n
</tal:block>\n
\n
<tal:block metal:define-macro="master">\n
<tal:block tal:define="dummy python: request.set(\'editable_mode\', True);">\n
<tal:block metal:use-macro="here/template_erp5_egov/macros/master">\n
<tal:block metal:fill-slot="main">\n
<div id="workspace">\n
<tal:block metal:define-slot="main"/>\n
</div>\n
</tal:block> \n
</tal:block>\n
</tal:block>\n
</tal:block>\n
/* hide tabs */\n
.document > .actions,\n
.bottom_actions{\n
display: none;\n
}
]]></string> </value>
</item>
......@@ -102,12 +77,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>template_erp5_egov_dgid_agent_workspace</string> </value>
<value> <string>erp5_egov_egov_portal_form_layout.css</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="InputButtonField" module="Products.ERP5Form.InputButtonField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>search_action</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string>hiddenLabel searchButton</string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string>Go</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Base_searchResultList:method</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Search</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal"\n
xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n
<tal:block tal:replace="nothing">\n
<!--\n
IDEAS:\n
- Add callbacks to ERP5Form object (selection ?) to gather needed fields -> put them in http_parameter_list.\n
-->\n
</tal:block>\n
<tal:block metal:define-macro="master">\n
<tal:block\n
tal:define="ignore_layout request/ignore_layout | nothing;\n
layout_form_id request/layout_form_id | here/getApplicableLayout | nothing;\n
layout_form python: layout_form_id and getattr(here, layout_form_id, None) or None;\n
is_web_mode python: (layout_form is not None) and (not ignore_layout);\n
editable_mode python: True;\n
editable_mode_backup editable_mode;\n
dummy python: request.set(\'editable_mode\', editable_mode);\n
dummy python: request.set(\'is_web_mode\', is_web_mode);\n
page_template python: is_web_mode and ((layout_form.meta_type==\'Page Template\' and layout_form.id) or getattr(layout_form, \'pt\', None)) or \'template_erp5_xhtml_style\';">\n
<tal:block metal:use-macro="python: getattr(here, page_template).macros[\'master\']">\n
<tal:block metal:fill-slot="context_bar">\n
<tal:block metal:define-slot="context_bar" />\n
</tal:block>\n
<tal:block metal:fill-slot="main"\n
tal:define="editable_mode editable_mode_backup;\n
dummy python: request.set(\'editable_mode\', editable_mode);">\n
<tal:block metal:define-slot="main" />\n
</tal:block>\n
</tal:block>\n
</tal:block>\n
</tal:block>\n
</tal:block>\n
]]></string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>main_template</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -83,6 +83,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
editable request/editable_mode | python: 0; \n
global css_list_template python:[\'%s/erp5_egov.css\' % portal_path,\n
\'%s/erp5_egov_%scontent.css\' % (portal_path, editable and \'editable_\' or \'\'),\n
\'%s/template_erp5_egov_workspace.css\' % portal_path,\n
\'%s/erp5_egov_admin_toolbox.css\' % portal_path,\n
\'%s/template_erp5_egov.css\' % portal_path,\n
\'%s/tabber.css\' % portal_path,\n
......@@ -177,7 +178,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>template_erp5_egov</string> </value>
<value> <string>template_erp5_egov_workspace</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
261
\ 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