Index: lams_central/web/ckeditor/plugins/jlatexmath/buttons.css =================================================================== diff -u -r662e144da0df02dfacd0f157c29bc12012cab224 -ra03658ad0a347b749a0f84ef831fab7cbcfd5746 --- lams_central/web/ckeditor/plugins/jlatexmath/buttons.css (.../buttons.css) (revision 662e144da0df02dfacd0f157c29bc12012cab224) +++ lams_central/web/ckeditor/plugins/jlatexmath/buttons.css (.../buttons.css) (revision a03658ad0a347b749a0f84ef831fab7cbcfd5746) @@ -1,26 +1,16 @@ -#formulaButtonsTable { - border-spacing: 0; - border-collapse: collapse; - margin-bottom: 10px; +#formulaTabs { + height: 170px; } -#formulaButtonsTable td { - padding: 6px 0 3px 0; - border-bottom: 1px solid gray; +#formulaTabs > div.ui-tabs-panel { + padding-left: 5px; } -#formulaButtonsTable th { - font-size: 14px; - font-weight: normal; - padding-right: 15px; - border-bottom: 1px solid gray; +#formulaTabs > ul a { + font-size: 12px; } -#formulaButtonsTable tbody tr:last-child td, #formulaButtonsTable tbody tr:last-child th { - border-bottom: none; -} - -#formulaButtonsTable button { +#formulaTabs button { width: 30px; height: 25px; margin: 0 0 4px 0; @@ -31,14 +21,18 @@ font-weight: normal; } -#formulaButtonsTable button:hover { +#formulaTabs button:hover { background-color: #DDDDDD; } -#formulaButtonsTable button span { +#formulaTabs button span { padding: 2px 3px 3px 3px !important; } -#formulaButtonsTable button.formulaButtonShifted span { +#formulaTabs button.formulaButtonShifted span { padding-top: 0px !important; +} + +img#preview { + margin-top: 20px; } \ No newline at end of file Index: lams_central/web/ckeditor/plugins/jlatexmath/buttons.js =================================================================== diff -u -r662e144da0df02dfacd0f157c29bc12012cab224 -ra03658ad0a347b749a0f84ef831fab7cbcfd5746 --- lams_central/web/ckeditor/plugins/jlatexmath/buttons.js (.../buttons.js) (revision 662e144da0df02dfacd0f157c29bc12012cab224) +++ lams_central/web/ckeditor/plugins/jlatexmath/buttons.js (.../buttons.js) (revision a03658ad0a347b749a0f84ef831fab7cbcfd5746) @@ -12,5 +12,7 @@ } $(document).ready(function(){ - $('#formulaButtonsTable button').button(); + $('#formulaTabs').tabs().removeClass('ui-widget-content'); + $('#formulaTabs > ul').removeClass('ui-widget-header'); + $('#formulaTabs button').button(); }); \ No newline at end of file Index: lams_central/web/ckeditor/plugins/jlatexmath/buttons.jsp =================================================================== diff -u -r662e144da0df02dfacd0f157c29bc12012cab224 -ra03658ad0a347b749a0f84ef831fab7cbcfd5746 --- lams_central/web/ckeditor/plugins/jlatexmath/buttons.jsp (.../buttons.jsp) (revision 662e144da0df02dfacd0f157c29bc12012cab224) +++ lams_central/web/ckeditor/plugins/jlatexmath/buttons.jsp (.../buttons.jsp) (revision a03658ad0a347b749a0f84ef831fab7cbcfd5746) @@ -1,64 +1,65 @@ <%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - -
+
+
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+
@@ -83,172 +84,152 @@ -
- - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
\ No newline at end of file + +
+ + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+ \ No newline at end of file Index: lams_central/web/ckeditor/plugins/jlatexmath/plugin.js =================================================================== diff -u -r662e144da0df02dfacd0f157c29bc12012cab224 -ra03658ad0a347b749a0f84ef831fab7cbcfd5746 --- lams_central/web/ckeditor/plugins/jlatexmath/plugin.js (.../plugin.js) (revision 662e144da0df02dfacd0f157c29bc12012cab224) +++ lams_central/web/ckeditor/plugins/jlatexmath/plugin.js (.../plugin.js) (revision a03658ad0a347b749a0f84ef831fab7cbcfd5746) @@ -31,8 +31,8 @@ 'Jlatexmath', editor.lang.jlatexmath.DlgJlatexmathTitle, pluginPath + 'jlatexmath.jsp', - 1050, - 635 + 930, + 400 ); editor.on(