Commit 1340be6f authored by Lingnan Wu's avatar Lingnan Wu

change the theme.html for using the jquery sheet

parent b8f8bf21
......@@ -39,8 +39,46 @@
$(document).ready(init);
</script>
</head>
<!--Table Required-->
<link rel="stylesheet" type="text/css" href="jquery.sheet/jquery.sheet.css" />
<link rel="stylesheet" type="text/css" href="jquery.sheet/jquery-ui/theme/jquery-ui.css" />
<script type="text/javascript" src="jquery.sheet/jquery-1.5.2.js">
</script>
<script type="text/javascript" src="jquery.sheet/jquery.sheet.js">
</script>
<script type="text/javascript" src="jquery.sheet/parser.js">
</script>
<!--/Required-->
<!--Table Optional-->
<!--ScrollTo-->
<script type="text/javascript" src="jquery.sheet/plugins/jquery.scrollTo-min.js"></script>
<!--/ScrollTo-->
<!--jQuery UI-->
<script type="text/javascript" src="jquery.sheet/jquery-ui/ui/jquery-ui.min.js"></script>
<!--/jQuery UI-->
<!--Raphaeljs - for charts-->
<script type="text/javascript" src="jquery.sheet/plugins/raphael-min.js"></script>
<script type="text/javascript" src="jquery.sheet/plugins/g.raphael-min.js"></script>
<!--/Raphaeljs-->
<!--ColorPicker-->
<link rel="stylesheet" type="text/css" href="jquery.sheet/plugins/jquery.colorPicker.css" />
<script type="text/javascript" src="jquery.sheet/plugins/jquery.colorPicker.min.js"></script>
<!--/ColorPicker-->
<!--Theme Switcher Tool-->
<!--<script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>-->
<!--/Theme Switcher Tool-->
<!--Elastic-->
<script type="text/javascript" src="jquery.sheet/plugins/jquery.elastic.min.js"></script>
<!--/Elastic-->
<!--Advanced_Math-->
<script type="text/javascript" src="jquery.sheet/jquery.sheet.advancedfn.js"></script>
<!--/Advanced_Math-->
<!--Finance-->
<script type="text/javascript" src="jquery.sheet/jquery.sheet.financefn.js"></script>
<!--/Finance-->
</head>
<body>
<div id="diag" style="padding:0;"></div>
<div class="container">
......@@ -224,6 +262,7 @@
<fieldset class="bottom editable">
<div id="page_content" class="field page">
</div>
<div id="document_content" class="field hidden">
</div>
......@@ -234,5 +273,67 @@
</div>
</div>
</div>
<!--jquery sheet content-->
<span id="inlineMenu" style="display: none;">
<span>
<span>
<a href="#" onclick="sheetInstance.controlFactory.addRow(); return false;" title="Insert Row After Selected">
<img alt="Insert Row After Selected" src="jquery.sheet/images/sheet_row_add.png"/></a>
<a href="#" onclick="sheetInstance.controlFactory.addRow(null, true); return false;" title="Insert Row Before Selected">
<img alt="Insert Row Before Selected" src="jquery.sheet/images/sheet_row_add.png"/></a>
<a href="#" onclick="sheetInstance.controlFactory.addRow(null, null, ':last'); return false;" title="Add Row At End">
<img alt="Add Row" src="jquery.sheet/images/sheet_row_add.png"/></a>
<a href="#" onclick="sheetInstance.controlFactory.addRowMulti(); return false;" title="Add Multi-Rows">
<img alt="Add Multi-Rows" src="jquery.sheet/images/sheet_row_add_multi.png"/></a>
<a href="#" onclick="sheetInstance.deleteRow(); return false;" title="Delete Row">
<img alt="Delete Row" src="jquery.sheet/images/sheet_row_delete.png"/></a>
<a href="#" onclick="sheetInstance.controlFactory.addColumn(); return false;" title="Insert Column After Selected">
<img alt="Insert Column After Selected" src="jquery.sheet/images/sheet_col_add.png"/></a>
<a href="#" onclick="sheetInstance.controlFactory.addColumn(null, true); return false;" title="Insert Column Before Selected">
<img alt="Insert Column Before Selected" src="jquery.sheet/images/sheet_col_add.png"/></a>
<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/images/sheet_col_add.png"/></a>
<a href="#" onclick="sheetInstance.controlFactory.addColumnMulti(); return false;" title="Insert Multi-Columns">
<img alt="Add Multi-Columns" src="jquery.sheet/images/sheet_col_add_multi.png"/></a>
<a href="#" onclick="sheetInstance.deleteColumn(); return false;" title="Delete Column">
<img alt="Delete Column" src="jquery.sheet/images/sheet_col_delete.png"/></a>
<a href="#" onclick="sheetInstance.getTdRange(null, sheetInstance.obj.formula().val()); return false;" title="Get Cell Range">
<img alt="Get Cell Range" src="jquery.sheet/images/sheet_get_range.png"/></a>
<a href="#" onclick="sheetInstance.s.fnSave(); return false;" title="Save Sheets">
<img alt="Save Sheet" src="jquery.sheet/images/disk.png"/></a>
<a href="#" onclick="sheetInstance.deleteSheet(); return false;" title="Delete Current Sheet">
<img alt="Delete Current Sheet" src="jquery.sheet/images/table_delete.png"/></a>
<a href="#" onclick="sheetInstance.calc(sheetInstance.i); return false;" title="Refresh Calculations">
<img alt="Refresh Calculations" src="jquery.sheet/images/arrow_refresh.png"/></a>
<a href="#" onclick="sheetInstance.cellFind(); return false;" title="Find">
<img alt="Find" src="jquery.sheet/images/find.png"/></a>
<a href="#" onclick="sheetInstance.cellStyleToggle('styleBold'); return false;" title="Bold">
<img alt="Bold" src="jquery.sheet/images/text_bold.png"/></a>
<a href="#" onclick="sheetInstance.cellStyleToggle('styleItalics'); return false;" title="Italic">
<img alt="Italic" src="jquery.sheet/images/text_italic.png"/></a>
<a href="#" onclick="sheetInstance.cellStyleToggle('styleUnderline', 'styleLineThrough'); return false;" title="Underline">
<img alt="Underline" src="jquery.sheet/images/text_underline.png"/></a>
<a href="#" onclick="sheetInstance.cellStyleToggle('styleLineThrough', 'styleUnderline'); return false;" title="Strikethrough">
<img alt="Strikethrough" src="jquery.sheet/images/text_strikethrough.png"/></a>
<a href="#" onclick="sheetInstance.cellStyleToggle('styleLeft', 'styleCenter styleRight'); return false;" title="Align Left">
<img alt="Align Left" src="jquery.sheet/images/text_align_left.png"/></a>
<a href="#" onclick="sheetInstance.cellStyleToggle('styleCenter', 'styleLeft styleRight'); return false;" title="Align Center">
<img alt="Align Center" src="jquery.sheet/images/text_align_center.png"/></a>
<a href="#" onclick="sheetInstance.cellStyleToggle('styleRight', 'styleLeft styleCenter'); return false;" title="Align Right">
<img alt="Align Right" src="jquery.sheet/images/text_align_right.png"/></a>
<a href="#" onclick="sheetInstance.fillUpOrDown(); return false;" title="Fill Down">
<img alt="Fill Down" src="jquery.sheet/images/arrow_down.png"/></a>
<a href="#" onclick="sheetInstance.fillUpOrDown(true); return false;" title="Fill Up">
<img alt="Fill Up" src="jquery.sheet/images/arrow_up.png"/></a>
<span class="colorPickers">
<input title="Foreground color" class="colorPickerFont" style="background-image: url('jquery.sheet/images/palette.png') ! important; width: 16px; height: 16px;"/>
<input title="Background Color" class="colorPickerCell" style="background-image: url('jquery.sheet/images/palette_bg.png') ! important; width: 16px; height: 16px;"/>
</span>
<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/images/page_link.png"/></a>
<a href="#" onclick="sheetInstance.toggleFullScreen(); $('#lockedMenu').toggle(); return false;" title="Toggle Full Screen">
<img alt="Web Link" src="jquery.sheet/images/arrow_out.png"/></a><!--<a href="#" onclick="insertAt('jSheetControls_formula', '~np~text~'+'/np~');return false;" title="Non-parsed"><img alt="Non-parsed" src="images/noparse.png"/></a>-->
</span>
</span>
</body>
</html>
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