Commit 28c43a07 authored by Christophe Dumez's avatar Christophe Dumez

- use cute button for expand too and move expand to the bottom

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6833 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 83086781
...@@ -98,7 +98,6 @@ ...@@ -98,7 +98,6 @@
\n \n
<tal:js replace="structure \n <tal:js replace="structure \n
here/BusinessTemplate_doCreateJavaScriptStatus">javascript here</tal:js><br>\n here/BusinessTemplate_doCreateJavaScriptStatus">javascript here</tal:js><br>\n
<button onclick="expandCollapse()" value="expand" name="Expand / Collapse" type="button">Expand / Collapse</button>\n
<center><table width="100%" height="300">\n <center><table width="100%" height="300">\n
\t<tr>\n \t<tr>\n
\t\t<td height="300">\n \t\t<td height="300">\n
...@@ -133,12 +132,14 @@ here/BusinessTemplate_doCreateJavaScriptStatus">javascript here</tal:js><br>\n ...@@ -133,12 +132,14 @@ here/BusinessTemplate_doCreateJavaScriptStatus">javascript here</tal:js><br>\n
<script>\n <script>\n
// Menu Customization\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 var MenuToolBar=new CreateToolBarMenu(\'#dae6e6\', \'#FFFFFF\', \'#B1BBBB\', \'#6699FF\', \'font-family:verdana;font-size:11px;color:black;font-weight:bold\', 16, 16)\n
MenuToolBar.Add(\'imgs/expandoff.png\', \'imgs/expandon.png\', \'Expand / Collapse\', \'#\', \'expandCollapse();\');\n
MenuToolBar.Add(\'imgs/diffoff.png\', \'imgs/diffon.png\', \'View Diff\', \'#\', \'viewDiff(0,document.main_form);\');\n MenuToolBar.Add(\'imgs/diffoff.png\', \'imgs/diffon.png\', \'View Diff\', \'#\', \'viewDiff(0,document.main_form);\');\n
MenuToolBar.Add(\'imgs/execoff.png\', \'imgs/execon.png\', \'Commit Changes\', \'#\', \'commit(0,document.main_form);\');\n MenuToolBar.Add(\'imgs/execoff.png\', \'imgs/execon.png\', \'Commit Changes\', \'#\', \'commit(0,document.main_form);\');\n
MenuToolBar.Add(\'imgs/trashoff.png\', \'imgs/trashon.png\', \'Revert Changes\', \'#\', \'revert(0,document.main_form);\');\n MenuToolBar.Add(\'imgs/trashoff.png\', \'imgs/trashon.png\', \'Revert Changes\', \'#\', \'revert(0,document.main_form);\');\n
// Menu Display\n // Menu Display\n
MenuToolBar.Display();\n MenuToolBar.Display();\n
</script>\n </script>\n
\n
</center>\n </center>\n
<script>\n <script>\n
if(upLevel) {\n if(upLevel) {\n
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>Image</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>expandoff.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAA
CxMAAAsTAQCanBgAAAAHdElNRQfWBBQPGhJqgP80AAAA+0lEQVQoz4XOvS5EURTF8R/OMBkkvoZG
MZVCKx5AvJ14FIVX0El0Eo1EQiM+Q5i4c+/cc45i7lxU1m52stbe6z9ztNddj0ojI6VKoVQ2e6V8
DcsnG4PKSOFLoTBnFlGtg+o2LA7Wlb50zZvXMddESJJqEFbtqjzoi6KoFtXGakntVOjZUrix70dJ
EiW1cyH7rTOPOLTUhkICby7RVylQt3YbWLCG3q+KyeRpRc82soPmLomyKJn9YcitObH/fJjaF15k
+3oNQxv4cC1bNvTeQMbmT0jo2GmhJpDTMsLQvWhBlHzatCJ5kmVJNBSuju+MlcYq42arW/Bn/+ob
N/icoFYzitwAAAAASUVORK5CYII=</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>362</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>16</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>Image</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>expandon.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1AcYDyYx+6qT2gAAAe5JREFUeNqlkj9PVFEQxX/v8XaX
PASFZYMFKAkJMZZS8wWM8Yv4ESz8AhaW1hRWNpbWNNpY0EjWmBhiRHRlYWH3vftnZiwusrsEKqeZ
eyY5k3PO3Gz79Y+tudZM26ISasHXgq9i6k5wo4B30/PoBPEVUp/8Ke7carxda5frwRlVZdSVUg2N
0UipRsYoU/JMUTV8UDQ3tFDMHLjut2KxbK6vLZbUNQybUDVhOAPDIvVGBkUGuQECKEgTkEDtDteL
jQXj6QZ4Lxz97LHcWUEiRAERCJGEI/hgxGioGBKVnXc5xeIsPFyGqvKcdD+z9WiF60rVUFVEUo9R
2f2YUWDGTRXeP0N/fAAgf/IGXdhANeWRFhmF6XhBv99nb28PgE6nQ9udYqPfSUEME2RFRFHV6QWt
VoulpSUAyrK8YkEvbNilHTOjsAkLZVmyuroKgJkhj3cw0UvCOAO7UGDkdk0GZmOPY/LkLOGkQO1m
8u5zsl+fyA3i9it07v7UJcxs+gqDwYBu9wtmxvz8bdpnB3C8TwZYqK9YMMwYK2g0GmxuPpgKygyy
iRAnLfzjFf3zwNfDISqKza6kcETonSlH914gdx0qSuwtoL1jTA219BNPzwPF7v7gZfdgQPSR6CLR
h/T2EfGR4BKWKHAl7+89x3/XXx8y0EOu72jxAAAAAElFTkSuQmCC</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>609</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>16</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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