[Erp5-report] r23780 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 24 11:14:56 CEST 2008


Author: fabien
Date: Wed Sep 24 11:14:41 2008
New Revision: 23780

URL: http://svn.erp5.org?rev=23780&view=rev
Log:
2008-09-24 fabien
* Add file fckstyles.xml to have one more style : "Python code" wich improve python code blocks displaying.
* Modify erp5_editor.css file to display this new div class in a nice way.

Added:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckstyles.xml.xml
Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/erp5_editor.css.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/erp5_editor.css.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/erp5_editor.css.xml?rev=23780&r1=23779&r2=23780&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/erp5_editor.css.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/erp5_editor.css.xml Wed Sep 24 11:14:41 2008
@@ -10,12 +10,6 @@
     <pickle>
       <dictionary>
         <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
             <key> <string>__name__</string> </key>
             <value> <string>erp5_editor.css</string> </value>
         </item>
@@ -264,12 +258,6 @@
                   </item>
                 </dictionary>
               </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>_owner</string> </key>
-            <value>
-              <none/>
             </value>
         </item>
         <item>
@@ -1110,7 +1098,27 @@
 \n
 div.page div {\n
   color: black;\n
-}
+}\n
+\n
+/* Css style used to display python code block in web pages */\n
+.python_code{\n
+  background-color:#F3F5F7;\n
+  border:1pt solid #AEBDCC;\n
+  color:black;\n
+  margin:0.5em 0;\n
+  padding:0;\n
+  font-family:sans-serif,Arial,Helvetica;\n
+  font-size:11px;\n
+  font-weight:normal;\n
+  line-height:16px;\n
+  font-family:courier,monospace;\n
+  white-space:-moz-pre-wrap;\n
+  font-size:11px;\n
+  font-weight:normal;\n
+  line-height:16px;\n
+  text-align:left;\n
+}\n
+
 
 ]]></string> </value>
         </item>

Added: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckstyles.xml.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckstyles.xml.xml?rev=23780&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckstyles.xml.xml (added)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckstyles.xml.xml Wed Sep 24 11:14:41 2008
@@ -1,0 +1,87 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="File" module="OFS.Image"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_EtagSupport__etag</string> </key>
+            <value> <string>ts22245888.58</string> </value>
+        </item>
+        <item>
+            <key> <string>__name__</string> </key>
+            <value> <string>fckstyles.xml</string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>text/xml</string> </value>
+        </item>
+        <item>
+            <key> <string>data</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<?xml version="1.0" encoding="utf-8" ?>\n
+<!--\n
+ * FCKeditor - The text editor for internet\n
+ * Copyright (C) 2003-2005 Frederico Caldeira Knabben\n
+ * \n
+ * Licensed under the terms of the GNU Lesser General Public License:\n
+ *    http://www.opensource.org/licenses/lgpl-license.php\n
+ * \n
+ * For further information visit:\n
+ *    http://www.fckeditor.net/\n
+ * \n
+ * File Name: fckstyles.xml\n
+ *  This is the sample style definitions file. It makes the styles combo\n
+ *  completely customizable.\n
+ *  See FCKConfig.StylesXmlPath in the configuration file.\n
+ * \n
+ * File Authors:\n
+ *    Frederico Caldeira Knabben (fredck at fckeditor.net)\n
+ *\n
+      \n
+-->\n
+<Styles xmlns:tal="http://xml.zope.org/namespaces/tal">\n
+      <Style name="Image on Left" element="img">\n
+        <Attribute name="class" value="img_left" />\n
+      </Style>\n
+      <Style name="Image on Right" element="img">\n
+        <Attribute name="class" value="img_right" />\n
+      </Style>\n
+      <Style name="Image on Top" element="img">\n
+        <Attribute name="class" value="img_top" />\n
+      </Style>\n
+      <Style name="Custom Ruler" element="hr">\n
+        <Attribute name="size" value="1" />\n
+        <Attribute name="color" value="#ff0000" />\n
+      </Style>\n
+        <Style name="Python code" element="div">\n
+                <Attribute name="class" value="python_code" />\n
+        </Style> \n
+</Styles>\n
+\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>precondition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>size</string> </key>
+            <value> <long>1331</long> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log?rev=23780&r1=23779&r2=23780&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log Wed Sep 24 11:14:41 2008
@@ -1,3 +1,7 @@
+2008-09-24 fabien
+* Add file fckstyles.xml to have one more style : "Python code" wich improve python code blocks displaying.
+* Modify erp5_editor.css file to display this new div class in a nice way.
+
 2008-09-15 yusei
 * Add i18n mark to access tab templates.
 

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=23780&r1=23779&r2=23780&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Wed Sep 24 11:14:41 2008
@@ -1,1 +1,1 @@
-607
+611




More information about the Erp5-report mailing list