diff --git a/bt5/erp5_jquery_sheet_editor/SkinTemplateItem/portal_skins/erp5_jquery_sheet_editor/jquery.sheet.erp5.css.xml b/bt5/erp5_jquery_sheet_editor/SkinTemplateItem/portal_skins/erp5_jquery_sheet_editor/jquery.sheet.erp5.css.xml index 6625bec0653cd4734841f13c2198a2aa3a7a6575..5338e3aa6f158b96f4ae3bfde3c83829a96442b9 100644 --- a/bt5/erp5_jquery_sheet_editor/SkinTemplateItem/portal_skins/erp5_jquery_sheet_editor/jquery.sheet.erp5.css.xml +++ b/bt5/erp5_jquery_sheet_editor/SkinTemplateItem/portal_skins/erp5_jquery_sheet_editor/jquery.sheet.erp5.css.xml @@ -114,9 +114,11 @@ body div.content{\n width:24px;\n padding:5px;\n }\n +\n .menuContainer td.img img{\n width:20px;\n }\n +\n .menuContainer .textBox{\n padding: 5px;\n font-family:Arial,Helvetica,sans-serif;\n @@ -124,6 +126,7 @@ body div.content{\n background-color:#ffffff;\n color: #c3c3c3;\n }\n +\n .menuContainer .selected td{\n background-color:#f3f3f3;\n background-image:url("../images/bgnd_sel_2.jpg")\n @@ -216,6 +219,10 @@ body div.content{\n .verticalMenu .menuShadow{\n background:black;\n padding:5px;\n +}\n +\n +span#themeSwitcher{\n + display:none;\n }</string> </value> </item> <item> diff --git a/bt5/erp5_jquery_sheet_editor/SkinTemplateItem/portal_skins/erp5_jquery_sheet_editor/sheet_editor_support.xml b/bt5/erp5_jquery_sheet_editor/SkinTemplateItem/portal_skins/erp5_jquery_sheet_editor/sheet_editor_support.xml index 273b91182c0f3ea05d8d9694b1d6cda084031762..88d6bacbc0790309db10f4aad98abc0f77792b80 100644 --- a/bt5/erp5_jquery_sheet_editor/SkinTemplateItem/portal_skins/erp5_jquery_sheet_editor/sheet_editor_support.xml +++ b/bt5/erp5_jquery_sheet_editor/SkinTemplateItem/portal_skins/erp5_jquery_sheet_editor/sheet_editor_support.xml @@ -105,37 +105,85 @@ $(function() {\n <span id="themeSwitcher"></span>\n <span id="inlineMenu" style="display: none;">\n <span>\n -<a href="#" onclick="sheetInstance.controlFactory.addRow(); return false;" title="Insert Row After Selected"><img alt="Insert Row After Selected" src="jquery_sheet_image/sheet_row_add.png"/></a>\n -<a href="#" onclick="sheetInstance.controlFactory.addRow(null, true); return false;" title="Insert Row Before Selected"><img alt="Insert Row Before Selected" src="jquery_sheet_image/sheet_row_add.png"/></a>\n -<a href="#" onclick="sheetInstance.controlFactory.addRow(null, null, \':last\'); return false;" title="Add Row At End"><img alt="Add Row" src="jquery_sheet_image/sheet_row_add.png"/></a>\n -<a href="#" onclick="sheetInstance.controlFactory.addRowMulti(); return false;" title="Add Multi-Rows"><img alt="Add Multi-Rows" src="jquery_sheet_image/sheet_row_add_multi.png"/></a>\n -<a href="#" onclick="sheetInstance.deleteRow(); return false;" title="Delete Row"><img alt="Delete Row" src="jquery_sheet_image/sheet_row_delete.png"/></a>\n -<a href="#" onclick="sheetInstance.controlFactory.addColumn(); return false;" title="Insert Column After Selected"><img alt="Insert Column After Selected" src="jquery_sheet_image/sheet_col_add.png"/></a>\n -<a href="#" onclick="sheetInstance.controlFactory.addColumn(null, true); return false;" title="Insert Column Before Selected"><img alt="Insert Column Before Selected" src="jquery_sheet_image/sheet_col_add.png"/></a>\n -<a href="#" onclick="sheetInstance.controlFactory.addColumn(null, null, \':last\'); return false;" title="Add Column At End"><img alt="Add Column At End" src="jquery_sheet_image/sheet_col_add.png"/></a>\n -<a href="#" onclick="sheetInstance.controlFactory.addColumnMulti(); return false;" title="Insert Multi-Columns"><img alt="Add Multi-Columns" src="jquery_sheet_image/sheet_col_add_multi.png"/></a>\n -<a href="#" onclick="sheetInstance.deleteColumn(); return false;" title="Delete Column"><img alt="Delete Column" src="jquery_sheet_image/sheet_col_delete.png"/></a>\n -<a href="#" onclick="sheetInstance.getTdRange(null, sheetInstance.obj.formula().val()); return false;" title="Get Cell Range"><img alt="Get Cell Range" src="jquery_sheet_image/sheet_get_range.png"/></a>\n -<a href="#" onclick="sheetInstance.s.fnSave(); return false;" title="Save Sheets"><img alt="Save Sheet" src="jquery_sheet_image/disk.png"/></a>\n -<a href="#" onclick="sheetInstance.deleteSheet(); return false;" title="Delete Current Sheet"><img alt="Delete Current Sheet" src="jquery_sheet_image/table_delete.png"/></a>\n -<a href="#" onclick="sheetInstance.calc(sheetInstance.i); return false;" title="Refresh Calculations"><img alt="Refresh Calculations" src="jquery_sheet_image/arrow_refresh.png"/></a>\n -<a href="#" onclick="sheetInstance.cellFind(); return false;" title="Find"><img alt="Find" src="jquery_sheet_image/find.png"/></a>\n -<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleBold\'); return false;" title="Bold"><img alt="Bold" src="jquery_sheet_image/text_bold.png"/></a>\n -<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleItalics\'); return false;" title="Italic"><img alt="Italic" src="jquery_sheet_image/text_italic.png"/></a>\n -<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleUnderline\', \'styleLineThrough\'); return false;" title="Underline"><img alt="Underline" src="jquery_sheet_image/text_underline.png"/></a>\n -<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleLineThrough\', \'styleUnderline\'); return false;" title="Strikethrough"><img alt="Strikethrough" src="jquery_sheet_image/text_strikethrough.png"/></a>\n -<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleLeft\', \'styleCenter styleRight\'); return false;" title="Align Left"><img alt="Align Left" src="jquery_sheet_image/text_align_left.png"/></a>\n -<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleCenter\', \'styleLeft styleRight\'); return false;" title="Align Center"><img alt="Align Center" src="jquery_sheet_image/text_align_center.png"/></a>\n -<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleRight\', \'styleLeft styleCenter\'); return false;" title="Align Right"><img alt="Align Right" src="jquery_sheet_image/text_align_right.png"/></a>\n -<a href="#" onclick="sheetInstance.fillUpOrDown(); return false;" title="Fill Down"><img alt="Fill Down" src="jquery_sheet_image/arrow_down.png"/></a>\n -<a href="#" onclick="sheetInstance.fillUpOrDown(true); return false;" title="Fill Up"><img alt="Fill Up" src="jquery_sheet_image/arrow_up.png"/></a>\n +<a href="#" onclick="sheetInstance.controlFactory.addRow(); return false;" title="Insert Row After Selected">\n + <img alt="Insert Row After Selected" src="jquery_sheet_image/sheet_row_add.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.controlFactory.addRow(null, true); return false;" title="Insert Row Before Selected">\n + <img alt="Insert Row Before Selected" src="jquery_sheet_image/sheet_row_add.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.controlFactory.addRow(null, null, \':last\'); return false;" title="Add Row At End">\n + <img alt="Add Row" src="jquery_sheet_image/sheet_row_add.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.controlFactory.addRowMulti(); return false;" title="Add Multi-Rows">\n + <img alt="Add Multi-Rows" src="jquery_sheet_image/sheet_row_add_multi.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.deleteRow(); return false;" title="Delete Row">\n + <img alt="Delete Row" src="jquery_sheet_image/sheet_row_delete.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.controlFactory.addColumn(); return false;" title="Insert Column After Selected">\n + <img alt="Insert Column After Selected" src="jquery_sheet_image/sheet_col_add.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.controlFactory.addColumn(null, true); return false;" title="Insert Column Before Selected">\n + <img alt="Insert Column Before Selected" src="jquery_sheet_image/sheet_col_add.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.controlFactory.addColumn(null, null, \':last\'); return false;" title="Add Column At End">\n + <img alt="Add Column At End" src="jquery_sheet_image/sheet_col_add.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.controlFactory.addColumnMulti(); return false;" title="Insert Multi-Columns">\n + <img alt="Add Multi-Columns" src="jquery_sheet_image/sheet_col_add_multi.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.deleteColumn(); return false;" title="Delete Column">\n + <img alt="Delete Column" src="jquery_sheet_image/sheet_col_delete.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.getTdRange(null, sheetInstance.obj.formula().val()); return false;" title="Get Cell Range">\n + <img alt="Get Cell Range" src="jquery_sheet_image/sheet_get_range.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.deleteSheet(); return false;" title="Delete Current Sheet">\n + <img alt="Delete Current Sheet" src="jquery_sheet_image/table_delete.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.calc(sheetInstance.i); return false;" title="Refresh Calculations">\n + <img alt="Refresh Calculations" src="jquery_sheet_image/arrow_refresh.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.cellFind(); return false;" title="Find">\n + <img alt="Find" src="jquery_sheet_image/find.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleBold\'); return false;" title="Bold">\n + <img alt="Bold" src="jquery_sheet_image/text_bold.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleItalics\'); return false;" title="Italic">\n + <img alt="Italic" src="jquery_sheet_image/text_italic.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleUnderline\', \'styleLineThrough\'); return false;" title="Underline">\n + <img alt="Underline" src="jquery_sheet_image/text_underline.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleLineThrough\', \'styleUnderline\'); return false;" title="Strikethrough">\n + <img alt="Strikethrough" src="jquery_sheet_image/text_strikethrough.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleLeft\', \'styleCenter styleRight\'); return false;" title="Align Left">\n + <img alt="Align Left" src="jquery_sheet_image/text_align_left.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleCenter\', \'styleLeft styleRight\'); return false;" title="Align Center">\n + <img alt="Align Center" src="jquery_sheet_image/text_align_center.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.cellStyleToggle(\'styleRight\', \'styleLeft styleCenter\'); return false;" title="Align Right">\n + <img alt="Align Right" src="jquery_sheet_image/text_align_right.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.fillUpOrDown(); return false;" title="Fill Down">\n + <img alt="Fill Down" src="jquery_sheet_image/arrow_down.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.fillUpOrDown(true); return false;" title="Fill Up">\n + <img alt="Fill Up" src="jquery_sheet_image/arrow_up.png"/>\n +</a>\n <span class="colorPickers">\n -<input title="Foreground color" class="colorPickerFont" style="background-image: url(\'jquery_sheet_image/palette.png\') ! important; width: 16px; height: 16px;" />\n -<input title="Background Color" class="colorPickerCell" style="background-image: url(\'jquery_sheet_image/palette_bg.png\') ! important; width: 16px; height: 16px;" />\n + <input title="Foreground color" class="colorPickerFont" style="background-image: url(\'jquery_sheet_image/palette.png\') ! important; width: 16px; height: 16px;" />\n + <input title="Background Color" class="colorPickerCell" style="background-image: url(\'jquery_sheet_image/palette_bg.png\') ! important; width: 16px; height: 16px;" />\n </span>\n -<a href="#" onclick="sheetInstance.obj.formula().val(\'=HYPERLINK(\\\'\' + prompt(\'Enter Web Address\', \'http://www.visop-dev.com/\') + \'\\\')\').keydown(); return false;" title="HyperLink"><img alt="Web Link" src="jquery_sheet_image/page_link.png"/></a>\n -<a href="#" onclick="sheetInstance.toggleFullScreen(); $(\'#lockedMenu\').toggle(); return false;" title="Toggle Full Screen"><img alt="Web Link" src="jquery_sheet_image/arrow_out.png"/></a>\n -<!--<a href="#" onclick="insertAt(\'jSheetControls_formula\', \'~np~text~\'+\'/np~\');return false;" title="Non-parsed"><img alt="Non-parsed" src="jquery_sheet_image/noparse.png"/></a>-->\n +<a href="#" onclick="sheetInstance.obj.formula().val(\'=HYPERLINK(\\\'\' + prompt(\'Enter Web Address\', \'http://www.visop-dev.com/\') + \'\\\')\').keydown(); return false;" title="HyperLink">\n + <img alt="Web Link" src="jquery_sheet_image/page_link.png"/>\n +</a>\n +<a href="#" onclick="sheetInstance.toggleFullScreen(); $(\'#lockedMenu\').toggle(); return false;" title="Toggle Full Screen">\n + <img alt="Web Link" src="jquery_sheet_image/arrow_out.png"/>\n +</a>\n </span>\n </span> diff --git a/bt5/erp5_jquery_sheet_editor/bt/revision b/bt5/erp5_jquery_sheet_editor/bt/revision index b5045cc4046dbc1d7cafa4c603fd3cdf35dc5dde..8fdd954df9831dfd29ceec0d74829b02f3f5d8c3 100644 --- a/bt5/erp5_jquery_sheet_editor/bt/revision +++ b/bt5/erp5_jquery_sheet_editor/bt/revision @@ -1 +1 @@ -21 \ No newline at end of file +22 \ No newline at end of file