[Erp5-report] r20917 - in /experimental/bt5/erp5_xhtml_style_experimental: SkinTemplateItem...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon May 12 16:25:37 CEST 2008


Author: mikolaj
Date: Mon May 12 16:25:37 2008
New Revision: 20917

URL: http://svn.erp5.org?rev=20917&view=rev
Log:
rewritten to use portal_css and portal_javascript (r20396)

Added:
    experimental/bt5/erp5_xhtml_style_experimental/SkinTemplateItem/portal_skins/erp5_xhtml_style_experimental/BusinessTemplate_viewSvnDiff.xml
Modified:
    experimental/bt5/erp5_xhtml_style_experimental/bt/revision
    experimental/bt5/erp5_xhtml_style_experimental/bt/version

Added: experimental/bt5/erp5_xhtml_style_experimental/SkinTemplateItem/portal_skins/erp5_xhtml_style_experimental/BusinessTemplate_viewSvnDiff.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_xhtml_style_experimental/SkinTemplateItem/portal_skins/erp5_xhtml_style_experimental/BusinessTemplate_viewSvnDiff.xml?rev=20917&view=auto
==============================================================================
--- experimental/bt5/erp5_xhtml_style_experimental/SkinTemplateItem/portal_skins/erp5_xhtml_style_experimental/BusinessTemplate_viewSvnDiff.xml (added)
+++ experimental/bt5/erp5_xhtml_style_experimental/SkinTemplateItem/portal_skins/erp5_xhtml_style_experimental/BusinessTemplate_viewSvnDiff.xml Mon May 12 16:25:37 2008
@@ -1,0 +1,156 @@
+<?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>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<tal:block tal: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
+                   Christophe Dumez <christophe at nexedi.com>\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
+\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
+<tal:block tal:define="portal_path here/portal_url;\n
+                       dummy python: here.portal_css.register(\'%s/ERP5Subversion_movableMenu.css\',request);\n
+                       dummy python: here.portal_javascript.register(\'%s/erp5.js\',request);\n
+                       dummy python: here.portal_javascript.register(\'ERP5Subversion_menuico.js\',request);\n
+                       dummy python: here.portal_javascript.register(\'ERP5Subversion_movableMenu.js\',request);\n
+                       dummy python: here.portal_javascript.register(\'ERP5Subversion_doCreateJavaScriptDiff.js\',request);">\n
+  <tal:block metal:use-macro="here/view_master/macros/master">\n
+    <tal:block metal:fill-slot="main">\n
+<tal:py replace="structure \n
+here/BusinessTemplate_doSvnDiff">diff here</tal:py>\n
+\n
+<script type="text/javascript">\n
+  // Menu Customization\n
+  var MenuToolBar=new CreateToolBarMenu("#dae6e6", "#ffffff", "#b1bbbb", "#6699ff", "font-family:verdana;font-size:11px;color:black;font-weight:bold", 16, 16)\n
+  MenuToolBar.Add("ERP5Subversion_imgs/revertoff.png", "ERP5Subversion_imgs/reverton.png", "Back", "#", "goBack()");\n
+  MenuToolBar.Add("ERP5Subversion_imgs/captionoff.png", "ERP5Subversion_imgs/captionon.png", "Show Legend", "#", "winList[\'captionWindow\'].open();");\n
+  MenuToolBar.Add("ERP5Subversion_imgs/execoff.png", "ERP5Subversion_imgs/execon.png", "Commit Changes", "#", "doCommit(document.getElementById(\'main_form\'));");\n
+  // Menu Display\n
+  MenuToolBar.Display();\n
+</script>\n
+\n
+<div id="captionWindow" class="window" style="right:20px;left:auto;top:180px;width:120px;background-color:#dae6e6;border-color:#ebf8f8 #c0caca #c0caca #c0caca;">\n
+  <div class="titleBar" style="background-color:#dae6e6;color:black;">\n
+    <span class="titleBarText">Legend -- SVN</span>\n
+    <img class="titleBarButtons" alt="" src="ERP5Subversion_imgs/altbuttons.gif" longdesc="ERP5Subversion_imgs/altbuttonslow.gif" usemap="#sampleMap3" />\n
+    <map id="sampleMap3" name="sampleMap3">\n
+      <area shape="rect" coords="0,0,15,13"  href="" alt="" title="Minimize" onclick="this.parentWindow.minimize();return false;" />\n
+      <area shape="rect" coords="16,0,31,13" href="" alt="" title="Restore"  onclick="this.parentWindow.restore();return false;" />\n
+      <area shape="rect" coords="34,0,49,13" href="" alt="" title="Close"    onclick="this.parentWindow.close();return false;" />\n
+    </map>\n
+  </div>\n
+  <div class="clientArea" style="background-color:#fffdfd;color:#806040;border-color:#c0caca #c0caca #c0caca #c0caca;text-align:center;">\n
+  <span style="font-weight: bold; color: black;">Legend</span><hr/>\n
+  <table cellpadding="0" cellspacing="0" style="margin-left:auto; margin-right:auto;width:80%; border: 1px solid gray;">\n
+        <tbody>\n
+          <tr>\n
+            <td style="text-align: center; background-color: rgb(253, 117, 74);">Removed</td>\n
+            <td>&nbsp;</td>\n
+          </tr>\n
+          <tr>\n
+            <td colspan="2" style="text-align: center; background-color: rgb(253, 228, 6);">Changed</td>\n
+          </tr>\n
+          <tr>\n
+            <td>&nbsp;</td>\n
+            <td style="text-align: center; background-color: rgb(83, 253, 74);">Added</td>\n
+          </tr>\n
+        </tbody>\n
+      </table>\n
+  </div>\n
+</div>\n
+\n
+<script type="text/javascript">\n
+  winInit();\n
+  if (winList[\'captionWindow\']){\n
+    winList[\'captionWindow\'].open();\n
+    winList[\'captionWindow\'].close();\n
+  }\n
+</script>\n
+\n
+\n
+</tal:block>\n
+</tal:block>\n
+</tal:block>
+
+]]></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>BusinessTemplate_viewSvnDiff</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: experimental/bt5/erp5_xhtml_style_experimental/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_xhtml_style_experimental/bt/revision?rev=20917&r1=20916&r2=20917&view=diff
==============================================================================
--- experimental/bt5/erp5_xhtml_style_experimental/bt/revision (original)
+++ experimental/bt5/erp5_xhtml_style_experimental/bt/revision Mon May 12 16:25:37 2008
@@ -1,1 +1,1 @@
-24
+25

Modified: experimental/bt5/erp5_xhtml_style_experimental/bt/version
URL: http://svn.erp5.org/experimental/bt5/erp5_xhtml_style_experimental/bt/version?rev=20917&r1=20916&r2=20917&view=diff
==============================================================================
--- experimental/bt5/erp5_xhtml_style_experimental/bt/version (original)
+++ experimental/bt5/erp5_xhtml_style_experimental/bt/version Mon May 12 16:25:37 2008
@@ -1,1 +1,1 @@
-0.2.3
+0.2.4




More information about the Erp5-report mailing list