[Erp5-report] r12177 - in /erp5/trunk/bt5/erp5_web: ActionTemplateItem/portal_types/Web%20S...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jan 22 11:18:22 CET 2007
Author: jp
Date: Mon Jan 22 11:18:19 2007
New Revision: 12177
URL: http://svn.erp5.org?rev=12177&view=rev
Log:
2007-01-22 Updated forms for erp5_web
Modified:
erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/view.xml
erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/view.xml
erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_viewAsWeb/listbox.xml
erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_viewAsWeb/listbox.xml
erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_editable_content.css.xml
Modified: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%2520Section/view.xml?rev=12177&r1=12176&r2=12177&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/view.xml (original)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/view.xml Mon Jan 22 11:18:19 2007
@@ -102,7 +102,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>python: not (hasattr(request, \'current_web_section\') and not (getattr(request, \'ignore_layout\', False) or getattr(request, \'editable_mode\', False)))</string> </value>
+ <value> <string>python: object is not None and not object.isWebMode()</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%2520Site/view.xml?rev=12177&r1=12176&r2=12177&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/view.xml (original)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/view.xml Mon Jan 22 11:18:19 2007
@@ -102,7 +102,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>python: not (hasattr(request, \'current_web_section\') and not (getattr(request, \'ignore_layout\', False) or getattr(request, \'editable_mode\', False)))</string> </value>
+ <value> <string>python: object is not None and not object.isWebMode()</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_viewAsWeb/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_viewAsWeb/listbox.xml?rev=12177&r1=12176&r2=12177&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_viewAsWeb/listbox.xml (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_viewAsWeb/listbox.xml Mon Jan 22 11:18:19 2007
@@ -300,9 +300,7 @@
</item>
<item>
<key> <string>url_columns</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
- </value>
+ <value> <string></string> </value>
</item>
</dictionary>
</value>
@@ -402,12 +400,12 @@
</item>
<item>
<key> <string>list_action</string> </key>
- <value> <string>Folder_viewContentList</string> </value>
+ <value> <string>list</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<value>
- <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
@@ -418,7 +416,7 @@
</item>
<item>
<key> <string>page_template</string> </key>
- <value> <string>ListBox_asWebStyleHTML</string> </value>
+ <value> <string></string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
@@ -503,25 +501,6 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
- <pickle>
- <tuple>
- <tuple>
- <string>Products.Formulator.TALESField</string>
- <string>TALESMethod</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>_text</string> </key>
- <value> <string>python: [(\'title\', \'WebSite_getDocumentUrl\') ]</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
- <record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_viewAsWeb/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_viewAsWeb/listbox.xml?rev=12177&r1=12176&r2=12177&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_viewAsWeb/listbox.xml (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_viewAsWeb/listbox.xml Mon Jan 22 11:18:19 2007
@@ -300,9 +300,7 @@
</item>
<item>
<key> <string>url_columns</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
- </value>
+ <value> <string></string> </value>
</item>
</dictionary>
</value>
@@ -398,12 +396,12 @@
</item>
<item>
<key> <string>list_action</string> </key>
- <value> <string>Folder_viewContentList</string> </value>
+ <value> <string>list</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<value>
- <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
@@ -414,7 +412,7 @@
</item>
<item>
<key> <string>page_template</string> </key>
- <value> <string>ListBox_asWebStyleHTML</string> </value>
+ <value> <string></string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
@@ -499,25 +497,6 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
- <pickle>
- <tuple>
- <tuple>
- <string>Products.Formulator.TALESField</string>
- <string>TALESMethod</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>_text</string> </key>
- <value> <string>python: [(\'title\', \'WebSite_getDocumentUrl\') ]</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
- <record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_editable_content.css.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_editable_content.css.xml?rev=12177&r1=12176&r2=12177&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_editable_content.css.xml (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_editable_content.css.xml Mon Jan 22 11:18:19 2007
@@ -101,7 +101,16 @@
** TODO: change colors to have better integration in default erp5 web theme.\n
------------------------------------------------------------------ */\n
\n
-div#main_content .ListSummary table {display: none}\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
@@ -114,10 +123,19 @@
vertical-align: top;\n
}\n
\n
-div#main_content .ListContent td.Data {background-color: #adb9cc}\n
-div#main_content .ListContent td.DataA {background-color: #fff}\n
-div#main_content .ListContent td.DataB {background-color: #eee}\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
@@ -199,7 +217,11 @@
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:hover {background: #f6f6f6}\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
@@ -224,7 +246,6 @@
text-decoration: none;\n
background: #eee;\n
}\n
-\n
\n
/*========================================================================================\n
** PAGE LAYOUT\n
@@ -463,15 +484,6 @@
line-height: 140%;\n
text-align: left;\n
}\n
-\n
-div#main_content .headline legend,\n
-div#main_content .headline label {\n
- margin: 0;\n
- width: 0em;\n
- text-align: left;\n
- float: left;\n
- display: none;\n
-}\n
]]></string> </value>
More information about the Erp5-report
mailing list