From dc2475af7ae19c2fa39745ebb0c260138bce0dda Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 16 Jan 2018 14:12:13 +0300 Subject: [PATCH] [DE] Change settings for table of contents. --- .../main/app/view/TableOfContentsSettings.js | 25 ++++-------------- .../main/resources/img/toolbar/contents.png | Bin 941 -> 733 bytes .../resources/img/toolbar/contents@2x.png | Bin 2079 -> 1624 bytes 3 files changed, 5 insertions(+), 20 deletions(-) diff --git a/apps/documenteditor/main/app/view/TableOfContentsSettings.js b/apps/documenteditor/main/app/view/TableOfContentsSettings.js index 2d3167c3f..e3684197c 100644 --- a/apps/documenteditor/main/app/view/TableOfContentsSettings.js +++ b/apps/documenteditor/main/app/view/TableOfContentsSettings.js @@ -49,7 +49,7 @@ define([ DE.Views.TableOfContentsSettings = Common.Views.AdvancedSettingsWindow.extend(_.extend({ options: { contentWidth: 500, - height: 445 + height: 430 }, initialize : function(options) { @@ -66,8 +66,8 @@ define([ '', '
', '', - '', - '
', + '', + '
', '
', '
', '', @@ -83,14 +83,9 @@ define([ '
', '', '', - '', - '', - '', - '', - '', '', '', - '
', + '', '', '', '', @@ -102,7 +97,7 @@ define([ '', '', '', - '
', + '
', '', '
', '
', @@ -183,17 +178,8 @@ define([ labelText: this.strLinks }); this.chLinks.on('change', _.bind(function(field, newValue, oldValue, eOpts){ - this.chUnderline.setDisabled(field.getValue()!=='checked'); - if (this._changedProps) { - } }, this)); - this.chUnderline = new Common.UI.CheckBox({ - el: $('#tableofcontents-chb-underline'), - labelText: this.strUnderline, - disabled: true - }); - this.radioLevels = new Common.UI.RadioBox({ el: $('#tableofcontents-radio-levels'), labelText: this.textRadioLevels, @@ -359,7 +345,6 @@ define([ strShowPages: 'Show page numbers', strAlign: 'Right align page numbers', strLinks: 'Format Table of Contents as links', - strUnderline: 'Underline links', textNone: 'None', textRadioLevels: 'Outline levels', textRadioStyles: 'Selected styles', diff --git a/apps/documenteditor/main/resources/img/toolbar/contents.png b/apps/documenteditor/main/res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4DhPvRn0l)oOAApcb3_u-pp0C71_O*dE2YnOv_$Xi&Dm5RfC-ERW%^UTvdw= tayM7ihNRrEz^mHrc~x`HIp>^v3+DoIbr2W!ea!#>002ovPDHLkV1jb*;Hdxr diff --git a/apps/documenteditor/main/resources/img/toolbar/contents@2x.png b/apps/documenteditor/main/resources/img/toolbar/contents@2x.png index b622082dcf878f44e34d9d5b6d9f489d01d726d0..e1946694c9974e5160557535ca55c6a1647179e8 100644 GIT binary patch literal 1624 zcmb7CeK^x=7@kT#B6T^Z$)ZnR)ljsP96HOIB&r=1c6`hZmRV%JYKqb!A*IGaMJ>9> z*fd`eWjIW-fKQlct{mTRJg71r+^D_(le+FEZ#ZGlOo~*FNtD9*o^-Igmoqwls3=ny3z0+vX6nxNcZwvaeN7WR=_PHucBdAF>|) zl@a2;eUWw28Y_?f+o4^D+a3ToA$D0Lh2h}t73Wlu(iS1R6mY@+sBiC{t`}jEY}dMA z%IFo7JFiY~)+Iv-Z=G_|e#8dgkMyEfUt46N3^0qG*#VX|kMui5-1DyRzpvC5acN^( z*FV~#XkUTsdguBhZa? z4;Y0hpV)MfTsGvr=)cTw3j}dJGOK%x!&V6NLb{u$@sjr`>t@kIb55O;Mlhh z0uVOU^G(kO_HFbf=kd@|=szJ_C1Kzzq+ObP#+I8nUIKOFRLAat(btc3D1(TbZAh%L z5-6pBhE(UAMuxEu<5eO;Hq!2$T*=&Zn%WXDknnrJxBNLJN0cXcO3(rTlg z-ye3*=b?$hLWy_v+jY_$JhP1nk1Qby;Gh}s;Zde9Bn|o^JDx<=aC6%C^ zwI9u?gq^m=*7N3W9gBg+>S$r1%TSYAX(+C=z3@>d?n}L;K zKE?5J0Rs7>W5+>X&vMl+f>UEPWc@e4smO3kPf^t zTWPO6C~)c2sAEKg)bP(fTj^?TIf>PnXVaS{E>F!9pee23)Qa#<*-NA+k>=7g=}s;_ zL2ZM@FN-tZjXjY1o8T1aZN|ER0DM}&ljb7fO|@|n>rdCSsFu8Sy?Cow-u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