From 66370233e293f4451ae15d1fb3506a83a1b47bb2 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 25 Aug 2020 15:34:03 +0300 Subject: [PATCH] Add icons --- .../main/resources/img/toolbar/1.25x/btn-cut.png | Bin 0 -> 405 bytes .../img/toolbar/1.25x/btn-inserthyperlink.png | Bin 0 -> 440 bytes .../main/resources/img/toolbar/1.5x/btn-cut.png | Bin 0 -> 528 bytes .../img/toolbar/1.5x/btn-inserthyperlink.png | Bin 0 -> 479 bytes .../main/resources/img/toolbar/1.75x/btn-cut.png | Bin 0 -> 682 bytes .../img/toolbar/1.75x/btn-inserthyperlink.png | Bin 0 -> 572 bytes .../main/resources/img/toolbar/1x/btn-cut.png | Bin 0 -> 328 bytes .../img/toolbar/1x/btn-inserthyperlink.png | Bin 0 -> 354 bytes .../main/resources/img/toolbar/2x/btn-cut.png | Bin 0 -> 638 bytes .../img/toolbar/2x/btn-inserthyperlink.png | Bin 0 -> 695 bytes .../main/app/view/DocumentHolder.js | 7 +++++++ .../main/app/view/DocumentHolder.js | 7 +++++++ .../main/app/view/DocumentHolder.js | 8 ++++++++ 13 files changed, 22 insertions(+) create mode 100644 apps/common/main/resources/img/toolbar/1.25x/btn-cut.png create mode 100644 apps/common/main/resources/img/toolbar/1.25x/btn-inserthyperlink.png create mode 100644 apps/common/main/resources/img/toolbar/1.5x/btn-cut.png create mode 100644 apps/common/main/resources/img/toolbar/1.5x/btn-inserthyperlink.png create mode 100644 apps/common/main/resources/img/toolbar/1.75x/btn-cut.png create mode 100644 apps/common/main/resources/img/toolbar/1.75x/btn-inserthyperlink.png create mode 100644 apps/common/main/resources/img/toolbar/1x/btn-cut.png create mode 100644 apps/common/main/resources/img/toolbar/1x/btn-inserthyperlink.png create mode 100644 apps/common/main/resources/img/toolbar/2x/btn-cut.png create mode 100644 apps/common/main/resources/img/toolbar/2x/btn-inserthyperlink.png diff --git a/apps/common/main/resources/img/toolbar/1.25x/btn-cut.png b/apps/common/main/resources/img/toolbar/1.25x/btn-cut.png new file mode 100644 index 0000000000000000000000000000000000000000..8dc87972810774b7cf550da2aa4ff21fa91f33b1 GIT binary patch literal 405 zcmV;G0c!qX1ONa4*{~$RX@p2VlF3Kr&Nu_O9+$hf z!RGa9zK~CbfCf+MpD5SpNqsd0dNm3rxEjIaU!_yF+39gahMb;-3OZ$5h!;G43VaR_ z`jp*f*CU@l<+Fg$XLk>Y)Dz!B07lPE1qxbED6+;&8;qA$I!U@W8 zq`V9wd7uekkX7a+Vz4x4MGWTWEC-lf5L`Ot(#0KUae-4O4*78yr}e1*oc|pvhH+X( zHR`-_s5Xq05JPC4L6pMCXzfwwAP>Sw7dI;R+wF2v4r4&OrN62$#sP1ogKKpdgIdB| z3t^PDdY+ar9#rhY_|({@FdkMk_y&C;p9lE^E207wdYE5u00000NkvXXu0mjfGvldg literal 0 HcmV?d00001 diff --git a/apps/common/main/resources/img/toolbar/1.25x/btn-inserthyperlink.png b/apps/common/main/resources/img/toolbar/1.25x/btn-inserthyperlink.png new file mode 100644 index 0000000000000000000000000000000000000000..84d84e2545cefeca463bd3793a45b88b64e11a0e GIT binary patch literal 440 zcmV;p0Z0CcP)X1ONa4*{P2xj$xocC77#=57OeRFUZ1+4_Fj#R@U@~Ct z5ky3?$fq4aM1%#pLeAkjdT`_FV^tAn3nzoq$6@(mToD5swZ%=_LO^T$C>Q)sEN_VMNF*O`2To2+U|` zxSA1hjhDVl9l=gYtkPuBmbULwN5G+=qG5TNi@l3|czQ1OF81LW5bU&teTIO8u8?_) z-rj{kMa;M8?Ovz~inWjB;5Wp<2R+|)M9<$4dcNu@JFf0C#;d}u;EGwuIDTIgs0000IrqjJzZjv?MvJ0Z!&WX84F$+-<~q&NhRV5J6x%9IrloR@h;5YCAa);XUh(By zOZ_pC4cKU$SA6-V@G%umnnqvDQ{||o_hm9+V#H;E%aPLiGQsXk+F`u+_uY>@sZDe6 zGgE$X7;)re8cORlWCe7TZO!`ZAclLH3LhF)lpA4OM;Aq+v+4H+UDvi7$#(97%*B)!ty@ zIPnF@p*CqXi79d(mrd}RYSU&#_JGlnFyK5E!jmwX6>GH&V$y1QaKp=~wm*jjYs>8% zw~uES&k19e>*^@o-Eu9no_vbw`O$PD-N^D;E}z)ciz}YHGUpS2?#f(9eB2o7xZEV1 z3trl3iH#crkrghU_MyZy_dC&0ztR>v{Pj-W$aSHTR_x`6K#RTj5P0K_UxI&0B~pFF S^gZhU0000R$~9V8{t0VPm^OK=G;;ok$#fF;J9R@(T8H2UOu z8KUp`TSpgF$yygzVo{)k#+6u8b7ap0gIzXTBf?_X+1YHslX~jN|hC@I}L<9w& zMYA(Ot2O29xyfSHCgmQ@C3d7ukk$H=o#-H{b@kk{L`3Xa3)ttLB_e`{mfUwCs*>B~ z>mY&`0wtDM3<6je9A~zg+KcF>Oc0GwT-d3-h@c>dB_hU=t%9t%fD|iiE@KmHD+(pp z1lyjZ_{aX(n@ZlcJx#HN9h)kXH8n>bOwY|H%UZzJh#1hL*|GYR-OlaI8q46w-dOqE z&MYi|2oIahj>$h?87X#3{#k5_WmlD=R!ZI0K@z*&QtNH2u6hdCXX>`-Ac!R%%;T73 z)AL;b4|pV!+~Y2RG1pP6b$}ShU7cDMa~+{J0|Y1u9QTBLT_ElW!Q3wM`{vg*mI!aW zF0$i0yZ&9|u+uy1F0o^6O<;FZx{z$CL~0!r3c;32(j7;J?8QCM9U>rlalhwZoL|aZ VU&q!Mo{#_l002ovPDHLkV1jDI*Qx*j literal 0 HcmV?d00001 diff --git a/apps/common/main/resources/img/toolbar/1.75x/btn-cut.png b/apps/common/main/resources/img/toolbar/1.75x/btn-cut.png new file mode 100644 index 0000000000000000000000000000000000000000..0bde626ab2285b5c94cb237c26edc72976b5bd33 GIT binary patch literal 682 zcmeAS@N?(olHy`uVBq!ia0vp^Za}Qe!3-qjPWHqDsc8W|A+A8$+1c6E)z!tt1<3I5 z@c54kfZ`C~;NSpM03=c6{{!^`#eo2#3|ST~4i|)21mObJ0~tUOpqW6@$;k;Q;^yWC zWEV<5&H}p3s3gcQm?8iE|M?1FqJO`G!U6#xxj-P{{)C451R!1?{~m}8&KsOBD9ATB zpRhiDLD1E9c?Jf?iJmTwAr*{oudr@XvKC=`AkTXwXN%FWK{>Wk$Y@}SwC4G$bNz#i4yO$O@+CF-`Tj5ImB8ghROE!~*{;Hq8_+0$0 z@#?Mrl+9mwniUG)FI)cqf^Ah-?Y(2iS+@vU9hu;5GKD+0jc>XJ*V@@E+Mc z-u*0@|I^?Et30=YoN9x`Cu^T8!NuYy(pewOyUHn6WO&7O;{v&ht{V#{CH|Ok;Fvy# zW$+D_*&CbFGorgo?7vT}i{uvkcs=?grwn!F*RgX|DdKQ|EWH$ZAFg9oQFa zWqjIi=FHkAE%Ps)_vR?*uPt(x4}HriblhnBM$5hxJDz{K{p^`V*`bH*9%5cK&sPe+ sm=tisreC>svCgH>YxV@%+y7^tK0&JNzOwl*VAL{ry85}Sb4q9e03lRFV*mgE literal 0 HcmV?d00001 diff --git a/apps/common/main/resources/img/toolbar/1.75x/btn-inserthyperlink.png b/apps/common/main/resources/img/toolbar/1.75x/btn-inserthyperlink.png new file mode 100644 index 0000000000000000000000000000000000000000..5e394bee2a41a0c76f1ab884c792ea71c0235d7b GIT binary patch literal 572 zcmV-C0>k}@P)@XN%_XJJTH4zn>L^6pAc`sBt;#9kt%@kE;+4GG)@y4#ZwYRL-0WJcPeP0iJ&kgQjRISQ@P!(FpkhKDf((a zxI=&=G@FuBaY{zTD5l}x^%OKn@6xJRDyCtdOi|GRHSp=V$hLN_2DIqv8$}T_kU)CSv;EOwfHqTJ6>w|D(91BypttZm!`rO?VRg}~` z&=~>7v2<;mS%;-x1^{wJKv5e{v#J)ocnHQ!(T6fDlK~8LIsw1Zx>fxorzu!gdgMuyg<&P=ZTv2`<4U{2kjEg5)vRghPm>ua}JH zciqQ6dZdlqv^<7(4kI==EEw*%Kt_#Zv~Q8j1sMJ`@C`C@UqAUf8L~}o&oL?G9>d8c zGN|frV>r2V4#Iz&W-^i0UXMH2SHT%3u^!_N_H}S06}iar_{%g418-1?OF3SPkn66T zUd0={a%<)8riJXuslLuJv%sDl`YM-;QaIIx>SoK6 zcKVcyav*W1Pq8RhlJ5}|q+wsk72ws}<% z<+&Av;>YHZmjV4m30DevqlgnNYni)KIbL2 zM(%a>M{s7>wWNYG&89Tc>O# zW|~3FAQWF8`S4FXT_-N)y2+~>#`86F7uLJZk${(F+36-u5EWOHp00Lz_>n(dSF~yI zFPyScHntYi}oe>!}o3A#B)Zl2zCMOi$aVlM?tg2bKcN*?~(HoUOS_&CunPC`d+x-Z{m ze4J<(C!r%#>DAMi8OF)!_H<;L*rPTRiw)oo8cvTboIU?QLyl-I3ecOoAiR+sxopBO0C?N&I@g)Mf^! z8Z=cg!)z9P{7i Y7dgP{;-PYO9{>OV07*qoM6N<$g3n_oZ2$lO literal 0 HcmV?d00001 diff --git a/apps/common/main/resources/img/toolbar/2x/btn-inserthyperlink.png b/apps/common/main/resources/img/toolbar/2x/btn-inserthyperlink.png new file mode 100644 index 0000000000000000000000000000000000000000..743cd23b39a7df5bf0eb17e6e9c68352cb5b2edc GIT binary patch literal 695 zcmV;o0!aOdP)qw7&Ub&d@6{UdP+B@Vwv@+H=g-FE^;w8>oSClALY`d=i@vRQ ze(z7EL>w0&(z0XEsgQW(`JmPC&D)`bc;kip#&Rei&UqptZ#%;(PwV5I%Aq6zqMFz z((L8{aWKshTOyk;+06m^k7mm{u8E0LFM!Kvq1dcZTmC^VHSh ze)UD*4(Pt&Il}#FHgL{cYM$r72fT&mS*pQ{y0v&WhFgs{bnRNap=%3y>gv5U)(qWQ z%EPgzp&7cfh^Nku+m`c$8nriW}Az{p@baX#W3t_jc>p5>TaNC@GbzH zX=rD>Zlve%razwWHr5*!t+ysUO`h;Va$COhHuONGr@ySHA%_f#)a|xLv)q6FYSd!YaXuQ@IH$XL;Skn7m1Tx~u z+aW#jeMop}_>h&qLwe*B5}pEC@x+?6SGBUky*lfV+sQO(uTpWCRA2g8o*@W!e;uErD5jm7jKyo4vhhL}Et7xC^y-(CL_ zGA-dvh}{*07V;)pqz>2j65fOeVSF!&Cn8$;(-mj&)rn=1SaG`H;)@f@Ys|9DJz%aH d?|1!2>o2hWM`D{MuAl$_002ovPDHLkV1g43TDJfI literal 0 HcmV?d00001 diff --git a/apps/documenteditor/main/app/view/DocumentHolder.js b/apps/documenteditor/main/app/view/DocumentHolder.js index b12b7c8c8..c6e99822e 100644 --- a/apps/documenteditor/main/app/view/DocumentHolder.js +++ b/apps/documenteditor/main/app/view/DocumentHolder.js @@ -2470,6 +2470,7 @@ define([ }).on('click', _.bind(me.onCutCopyPaste, me)); var menuImgCut = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-cut', caption : me.textCut, value : 'cut' }).on('click', _.bind(me.onCutCopyPaste, me)); @@ -2807,6 +2808,7 @@ define([ }); var menuHyperlinkTable = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.hyperlinkText, menu : new Common.UI.Menu({ cls: 'shifted-right', @@ -2873,6 +2875,7 @@ define([ /** coauthoring end **/ var menuAddHyperlinkTable = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.hyperlinkText }).on('click', _.bind(me.addHyperlink, me)); @@ -2981,6 +2984,7 @@ define([ }).on('click', _.bind(me.onCutCopyPaste, me)); var menuTableCut = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-cut', caption : me.textCut, value : 'cut' }).on('click', _.bind(me.onCutCopyPaste, me)); @@ -3565,6 +3569,7 @@ define([ }); var menuAddHyperlinkPara = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.hyperlinkText }).on('click', _.bind(me.addHyperlink, me)); @@ -3580,6 +3585,7 @@ define([ }); var menuHyperlinkPara = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.hyperlinkText, menu : new Common.UI.Menu({ cls: 'shifted-right', @@ -3678,6 +3684,7 @@ define([ }).on('click', _.bind(me.onCutCopyPaste, me)); var menuParaCut = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-cut', caption : me.textCut, value : 'cut' }).on('click', _.bind(me.onCutCopyPaste, me)); diff --git a/apps/presentationeditor/main/app/view/DocumentHolder.js b/apps/presentationeditor/main/app/view/DocumentHolder.js index 7cee7a225..3e24b8da3 100644 --- a/apps/presentationeditor/main/app/view/DocumentHolder.js +++ b/apps/presentationeditor/main/app/view/DocumentHolder.js @@ -2544,6 +2544,7 @@ define([ }); var menuAddHyperlinkPara = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.hyperlinkText }).on('click', _.bind(me.addHyperlink, me)); @@ -2563,6 +2564,7 @@ define([ }); var menuHyperlinkPara = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.hyperlinkText, menu : new Common.UI.Menu({ cls: 'shifted-right', @@ -2575,6 +2577,7 @@ define([ }); var menuAddHyperlinkTable = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.hyperlinkText }).on('click', _.bind(me.addHyperlink, me)); @@ -2594,6 +2597,7 @@ define([ }); var menuHyperlinkTable = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.hyperlinkText, menu : new Common.UI.Menu({ cls: 'shifted-right', @@ -3037,6 +3041,7 @@ define([ }).on('click', _.bind(me.onCutCopyPaste, me)); var menuParaCut = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-cut', caption : me.textCut, value : 'cut' }).on('click', _.bind(me.onCutCopyPaste, me)); @@ -3054,6 +3059,7 @@ define([ }).on('click', _.bind(me.onCutCopyPaste, me)); var menuImgCut = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-cut', caption : me.textCut, value : 'cut' }).on('click', _.bind(me.onCutCopyPaste, me)); @@ -3071,6 +3077,7 @@ define([ }).on('click', _.bind(me.onCutCopyPaste, me)); var menuTableCut = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-cut', caption : me.textCut, value : 'cut' }).on('click', _.bind(me.onCutCopyPaste, me)); diff --git a/apps/spreadsheeteditor/main/app/view/DocumentHolder.js b/apps/spreadsheeteditor/main/app/view/DocumentHolder.js index 28378eec1..7e430963e 100644 --- a/apps/spreadsheeteditor/main/app/view/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/view/DocumentHolder.js @@ -138,6 +138,7 @@ define([ var me = this; me.pmiCut = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-cut', caption : me.txtCut, value : 'cut' }); @@ -340,6 +341,7 @@ define([ }); me.menuAddHyperlink = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.txtInsHyperlink, inCell : true }); @@ -354,6 +356,7 @@ define([ }); me.menuHyperlink = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.txtInsHyperlink, menu : new Common.UI.Menu({ cls: 'shifted-right', @@ -614,6 +617,7 @@ define([ }); me.pmiImgCut = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-cut', caption : me.txtCut, value : 'cut' }); @@ -941,6 +945,7 @@ define([ }; me.menuAddHyperlinkShape = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.txtInsHyperlink }); @@ -953,6 +958,7 @@ define([ }); me.menuHyperlinkShape = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-inserthyperlink', caption : me.txtInsHyperlink, menu : new Common.UI.Menu({ cls: 'shifted-right', @@ -970,6 +976,7 @@ define([ }); me.pmiTextCut = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-cut', caption : me.txtCut, value : 'cut' }); @@ -1004,6 +1011,7 @@ define([ }); me.pmiCommonCut = new Common.UI.MenuItem({ + iconCls: 'menu__icon btn-cut', caption : me.txtCut, value : 'cut' });