[Erp5-report] r39484 gabriel - in /experimental/bt5/erp5_web_ung_theme: SkinTemplateItem/po...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Oct 22 21:32:35 CEST 2010


Author: gabriel
Date: Fri Oct 22 21:32:35 2010
New Revision: 39484

URL: http://svn.erp5.org?rev=39484&view=rev
Log:
rename Page Template and added toolbar styles

Added:
    experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_createCloneDocument.xml
Modified:
    experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/erp5_web_ung_content_layout/toolbar.xml
    experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml
    experimental/bt5/erp5_web_ung_theme/bt/revision

Added: experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_createCloneDocument.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_createCloneDocument.xml?rev=39484&view=auto
==============================================================================
--- experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_createCloneDocument.xml (added)
+++ experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_createCloneDocument.xml [utf8] Fri Oct 22 21:32:35 2010
@@ -0,0 +1,125 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </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_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <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>_body</string> </key>
+            <value> <string>portal_type = context.getPortalType()\n
+request = context.REQUEST\n
+editor_name = context.Base_getEditorViewName(portal_type)\n
+return context.Base_createCloneDocument(form_id=editor_name)\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>_getattr_</string>
+                            <string>context</string>
+                            <string>portal_type</string>
+                            <string>request</string>
+                            <string>editor_name</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>WebSection_createCloneDocument</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/erp5_web_ung_content_layout/toolbar.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/erp5_web_ung_content_layout/toolbar.xml?rev=39484&r1=39483&r2=39484&view=diff
==============================================================================
--- experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/erp5_web_ung_content_layout/toolbar.xml [utf8] (original)
+++ experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/erp5_web_ung_content_layout/toolbar.xml [utf8] Fri Oct 22 21:32:35 2010
@@ -219,11 +219,15 @@
                     <key> <string>default</string> </key>
                     <value> <string encoding="cdata"><![CDATA[
 
-<select onchange="submitAction(this.form,\'\')" name="select_action">\n
-<option value="" selected="selected">Share</option>\n
+<span id="action" metal:define-macro="action">\n
+<select onchange="submitAction(this.form,\'Base_doAction\')" name="select_action">\n
+<option selected="selected">Share</option>\n
+<tal:block tal:repeat="action actions/workflow">\n
+<option tal:content="action/name" tal:attributes="value python: \'workflow %s\' % action[\'url\']"/>\n
+</tal:block>\n
 </select>\n
-\n
-<input type="submit" name="Clone" value="Clone"/>
+</span>\n
+<button class="clone" type="submit" title="Clone" name="WebSection_createCloneDocument:method">
 
 ]]></string> </value>
                 </item>

Modified: experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml?rev=39484&r1=39483&r2=39484&view=diff
==============================================================================
--- experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml [utf8] (original)
+++ experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml [utf8] Fri Oct 22 21:32:35 2010
@@ -2,25 +2,31 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="File" module="OFS.Image"/>
+      <global name="DTMLDocument" module="OFS.DTMLDocument"/>
     </pickle>
     <pickle>
       <dictionary>
         <item>
-            <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts87715019.79</string> </value>
-        </item>
-        <item>
             <key> <string>__name__</string> </key>
             <value> <string>ung_theme.css</string> </value>
         </item>
         <item>
-            <key> <string>content_type</string> </key>
-            <value> <string>text/css</string> </value>
+            <key> <string>_vars</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+        <item>
+            <key> <string>globals</string> </key>
+            <value>
+              <dictionary/>
+            </value>
         </item>
         <item>
-            <key> <string>data</string> </key>
-            <value> <string>/* No margins, take all screen */\n
+            <key> <string>raw</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+/* No margins, take all screen */\n
 \n
 body {\n
  background: #fff !important;\n
@@ -309,15 +315,20 @@ div#wrapper_toolbar {\n
 }\n
 div#wrapper_center {\n
  height:20em;\n
-}</string> </value>
-        </item>
-        <item>
-            <key> <string>precondition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>size</string> </key>
-            <value> <int>4679</int> </value>
+}\n
+\n
+button.clone {\n
+ background-image: url(\'<dtml-var expr="portal_url()">/images/fileclone.png\');\n
+ border: 0 none;\n
+ height:22px;\n
+ width:23px;\n
+}\n
+\n
+div#wrapper_toolbar fieldset.widget div.field div.input {\n
+  margin-top:-2px;\n
+}
+
+]]></string> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: experimental/bt5/erp5_web_ung_theme/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_web_ung_theme/bt/revision?rev=39484&r1=39483&r2=39484&view=diff
==============================================================================
--- experimental/bt5/erp5_web_ung_theme/bt/revision [utf8] (original)
+++ experimental/bt5/erp5_web_ung_theme/bt/revision [utf8] Fri Oct 22 21:32:35 2010
@@ -1 +1 @@
-20
\ No newline at end of file
+22
\ No newline at end of file




More information about the Erp5-report mailing list