From 64b21d800f8c9b24a453e618c0589c0e06914879 Mon Sep 17 00:00:00 2001 From: Piotr Kuchciak Date: Fri, 10 Oct 2014 10:17:01 +0200 Subject: [PATCH] WEBUI: cosmetic changes with add icon for tabs I also add icon named tv_cards.png but i do not know how add this icon to tabs named: TV adapters. Please correct the more well-known for adding the icon to the tabs. --- src/webui/static/app/esfilter.js | 3 ++ src/webui/static/app/ext.css | 36 ++++++++++++++++++++++ src/webui/static/app/mpegts.js | 4 +++ src/webui/static/app/servicemapper.js | 1 + src/webui/static/icons/mux_schedulers.png | Bin 0 -> 674 bytes src/webui/static/icons/muxes.png | Bin 0 -> 789 bytes src/webui/static/icons/networks.png | Bin 0 -> 1002 bytes src/webui/static/icons/other_filters.png | Bin 0 -> 567 bytes src/webui/static/icons/service_mapper.png | Bin 0 -> 781 bytes src/webui/static/icons/services.png | Bin 0 -> 955 bytes src/webui/static/icons/subtitle.png | Bin 0 -> 607 bytes src/webui/static/icons/teletext.png | Bin 0 -> 165 bytes src/webui/static/icons/tv_cards.png | Bin 0 -> 641 bytes 13 files changed, 44 insertions(+) create mode 100644 src/webui/static/icons/mux_schedulers.png create mode 100644 src/webui/static/icons/muxes.png create mode 100644 src/webui/static/icons/networks.png create mode 100644 src/webui/static/icons/other_filters.png create mode 100644 src/webui/static/icons/service_mapper.png create mode 100644 src/webui/static/icons/services.png create mode 100644 src/webui/static/icons/subtitle.png create mode 100644 src/webui/static/icons/teletext.png create mode 100644 src/webui/static/icons/tv_cards.png diff --git a/src/webui/static/app/esfilter.js b/src/webui/static/app/esfilter.js index 2972c48e..c71ad0c4 100644 --- a/src/webui/static/app/esfilter.js +++ b/src/webui/static/app/esfilter.js @@ -86,6 +86,7 @@ tvheadend.esfilter_tab = function(panel) url: 'api/esfilter/teletext', titleS: 'Teletext Stream Filter', titleP: 'Teletext Stream Filters', + iconCls: 'teletext', tabIndex: 3, edit: { params: { list: eslist } }, add: { @@ -104,6 +105,7 @@ tvheadend.esfilter_tab = function(panel) url: 'api/esfilter/subtit', titleS: 'Subtitle Stream Filter', titleP: 'Subtitle Stream Filters', + iconCls: 'subtitle', tabIndex: 4, edit: { params: { list: eslist } }, add: { @@ -140,6 +142,7 @@ tvheadend.esfilter_tab = function(panel) url: 'api/esfilter/other', titleS: 'Other Stream Filter', titleP: 'Other Stream Filters', + iconCls: 'otherFilters', tabIndex: 6, edit: { params: { list: eslist } }, add: { diff --git a/src/webui/static/app/ext.css b/src/webui/static/app/ext.css index 2c41c9dc..8c987784 100644 --- a/src/webui/static/app/ext.css +++ b/src/webui/static/app/ext.css @@ -346,6 +346,42 @@ background-image: url(../icons/exclamation.png) !important; } +.tvCards { + background-image: url(../icons/tv_cards.png) !important; +} + +.networks { + background-image: url(../icons/networks.png) !important; +} + +.muxes { + background-image: url(../icons/muxes.png) !important; +} + +.muxSchedulers { + background-image: url(../icons/mux_schedulers.png) !important; +} + +.services { + background-image: url(../icons/services.png) !important; +} + +.teletext { + background-image: url(../icons/teletext.png) !important; +} + +.subtitle { + background-image: url(../icons/subtitle.png) !important; +} + +.serviceMapper { + background-image: url(../icons/service_mapper.png) !important; +} + +.otherFilters { + background-image: url(../icons/other_filters.png) !important; +} + .x-linked { display: inline-block; background-image: url(../icons/linked.gif) !important; diff --git a/src/webui/static/app/mpegts.js b/src/webui/static/app/mpegts.js index bb5c193d..b92eb4e8 100644 --- a/src/webui/static/app/mpegts.js +++ b/src/webui/static/app/mpegts.js @@ -31,6 +31,7 @@ tvheadend.networks = function(panel, index) url: 'api/mpegts/network', titleS: 'Network', titleP: 'Networks', + iconCls: 'networks', tabIndex: index, help: function() { new tvheadend.help('Networks', 'config_networks.html'); @@ -62,6 +63,7 @@ tvheadend.muxes = function(panel, index) url: 'api/mpegts/mux', titleS: 'Mux', titleP: 'Muxes', + iconCls: 'muxes', tabIndex: index, hidemode: true, help: function() { @@ -254,6 +256,7 @@ tvheadend.services = function(panel, index) url: 'api/mpegts/service', titleS: 'Service', titleP: 'Services', + iconCls: 'services', tabIndex: index, hidemode: true, add: false, @@ -290,6 +293,7 @@ tvheadend.mux_sched = function(panel, index) url: 'api/mpegts/mux_sched', titleS: 'Mux Scheduler', titleP: 'Mux Schedulers', + iconCls: 'muxSchedulers', tabIndex: index, help: function() { new tvheadend.help('Mux Schedulers', 'config_muxsched.html'); diff --git a/src/webui/static/app/servicemapper.js b/src/webui/static/app/servicemapper.js index 26b2857e..89e63707 100644 --- a/src/webui/static/app/servicemapper.js +++ b/src/webui/static/app/servicemapper.js @@ -32,6 +32,7 @@ tvheadend.service_mapper_status = function(panel, index) var mpanel = new Ext.FormPanel({ method: 'get', title: 'Service Mapper', + iconCls: 'serviceMapper', frame: true, border: true, bodyStyle: 'padding: 5px', diff --git a/src/webui/static/icons/mux_schedulers.png b/src/webui/static/icons/mux_schedulers.png new file mode 100644 index 0000000000000000000000000000000000000000..a693c8b4d0c904c3a66c57ac26d4bd9629ddc203 GIT binary patch literal 674 zcmV;T0$u%yP)c!|{qNY}NqqQ|! z8QRvO#UN6!Zem_YT2{nJqhec2FRZ?yqka4OzHh0FCWH?h&U+5;^SsY_&r8aV2Cf3I zVhdnd^b$^h9lYL#U&$5NZ4!l|U z1h!Ir4aD#Fvj&4fI807XLZ{RHckJ`|vH}W)f_o49_gx!?^4+bS#bPmHvDk(Knx+vB zhtb&BC?rfxO+i_$gzJq59_lJRZ-6gLFEbQ)P~R3un}Y zcBK*Z#RpL$DZ$d}5@zVvco6mDLgjf#zezwwM@Lzc$%J@3j@j8+Xti3zl5w<$Ot_-4 zp{eEwD2jqeBm%=QNF)+?{_X{OBmL-LOdwvbmsP1$NTpKQt`dSf@q5^(*o*FFD`YZR zj;6UYG`Pxm>KpV#(=ngX<97Iwu;c>R~h*q1WqSHk;SUd|XjmiT1}Q zK^zXp%SY?0J&T)5O|_mtwtmg5y-sY^3P>x+_fypHyk^z?fm>y zAFAXX@CXC~7#kZ~C-ZnUKZ9ez)-Rg~l;1pCWjWW~-1ScncqEfa^i2%Fy>Q!^SD@@h z*={i@n(ME&7jO0pJ@0KaLso0@3J5NS%UcS!Ngtl7=qTprpj29l#g#>24(@)vPp8r= zhVPf-&o&j{K@CxR*aA@}H^{AAqLSOA+#VtsW+>5__{8V@0n%_DR0@F-^#A|>07*qo IM6N<$g0dhqAOHXW literal 0 HcmV?d00001 diff --git a/src/webui/static/icons/muxes.png b/src/webui/static/icons/muxes.png new file mode 100644 index 0000000000000000000000000000000000000000..febe150721560a2d2cde074c202ed45f67186781 GIT binary patch literal 789 zcmV+w1M2*VP)GT6rG=%X_Fw3R_%Ae2HM2JM_k z9fCI-7MTyJbYnE<84hjaLS-#O=h zz7G-M*|4n4en7LV%&=u;WNhsE5MX%wTX`iS0L0_B1Hdhy5yfDwj7(vDlkqz$FpM11QVN z1b|zPQ(361(_h#1`pEMNJbF~vynlaXwYBxt>hyH{L@G70s*6-lDW!Gze2pC*m`*2i zQ&Z!Mj~^E|B9WJj-rke@4jg!^Js1od!C-hFz^+{{j4P#Lb*33zZD=s|`~AUIfSH-A z%U7;^Hs`vPB=AkCRQz^+{>RjwJ+DMev!xv%o1I;oocvw?}|qEHb_(iv@%sW7j2Oc@ne=r>0J))F~iAbT= zV4naZ9@Ep)*CryFMB+?B4GfH$otGvQ~5X9&m2Q zj%F9&=FO|iw*5!RGc29Ho&#uX^lP=`3&1%MS<;{Rs)ACg^VqRdU#3!*Hcy|v{4&tB zvhr(jVq*A)ZRfTplV4YX2S8Co3b19E0F+X@ffs=_;C-N*f2VXBhycsA<^td!nu1yx T$}2#k00000NkvXXu0mjfEf;`Q literal 0 HcmV?d00001 diff --git a/src/webui/static/icons/networks.png b/src/webui/static/icons/networks.png new file mode 100644 index 0000000000000000000000000000000000000000..d2a77971c72e741284365f11de43e1c4e1ddc8bf GIT binary patch literal 1002 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GXl47?%Y2gt!8^cz}zG0|enw!_Llz zRT(2ABeE_Q78XuUPOK`Kn3#aFaK!=w{6Lio3i2iX2M17=jg6I)lLMj)q72BkwY37e)7aPm%~h-Qw>IAN|Sj~T4NnA*T zNlf|Ndh^*FVVRml~=s zU%SY4UU`=a*S%ZX`!&zAUYPIDk!ro`Xh21co$X2?Imy@0OwBLwuC?6gZsPGz+1FRy zOqemmt{|eRq#$cmrP*ANqYFGDiy0WWg+Z8+Vb&Z8px}2;7sn8Z%gG4|DM@J!Ok!$b z3MY@9J9zTI(X)ro9zA_r|G)tS4HX?FEj2wwJxx{J!%Eu671l3Uv1HAnRm;vTSh#ZO z+Qp|AEYDBKNXbcBm64WrFex+jY{KD$)oIJq-amM8->ai^8}~PJUU_S z;%T#|#|K0lIS>#N6m=}&T3p=1u#HAczjC!{*%tH0h)H)6f?^i!T)mt1%p=B03iG#>m2Y>9V31-l&=NS_RR#Lo#b!9bIV01VAx({BQ`FeZ7syV%<$8e*7g!zIAlYELm$P~$x6My?P zOfp3Gs&$8a5=eXXslRGULn(*Dj`bI_^WIkrUfmR<_vrljRexDluIXRx6L&{-=L=`u zcLkz1&CEAe-&~%jbv(>QI)N#XDe+K#E#tEyiHC1~&U^&4QMJT1q9nN}HL)aBHw8#A z7#SE?=o%X68X1Qe8d{lJSQ(pX8(3Hw7_1bIya&^eo1c=IR*6-ErIo1xM8lr@6`4Q{ N44$rjF6*2UngFaN(y9Oe literal 0 HcmV?d00001 diff --git a/src/webui/static/icons/service_mapper.png b/src/webui/static/icons/service_mapper.png new file mode 100644 index 0000000000000000000000000000000000000000..45f10a415314d1880ef42470ed00e3a1968cf7ca GIT binary patch literal 781 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!6#=yXs@#Xw?AcwQSBeIx*fm;}a85w5HkpK#^ zq&xaLGB8~Koo_6`2;?gydj$D1Fyzc;U?|FGVEDF-NC6A>RkWQfhIsy9CGMUHJ15rY+zszAyHw_5;4WtXqo@j zR_(u^9$gpT5p+G|;CUV(fT`y7uKj1O&;Ntd+<5Kb8S&oH|CxoAjhTVq@c#exl6C)o zA3bpJ(8+?gzmCT1e1Eq$z2aku_#GBLJ2AGrK(n@T{(ZGKEgo{}w~3lPoTE|340h%r z2U+RnJs-7hloo#bf9z@9JqfvXM&Ht8Ha<1EHty^E)n(~#?jD?RGy7Y-bL{lSi4!{? z{{LUkQ~&R8;*Y=I)tN8Hhqdkgo>#G{=HG{j4{sd~mI(X%^Jo9V+sE(6N7&W=IQ8M> z;qVt}Q?F@peZ!8<7q4C{Tii6cb(dvHh`6|;j)umf8zH_v zlfUeJ9w4~V$@a&x$K?gz=PvNil{q7=nUb?abG@!iX!Y;1{fvnM0a{@}Z!Ik1?sF$k zeevnpC(p0#Z*JC<8D#A=_U2F&aH?zXz4&9{@yFTBYptGaQf^5+aP_R~nyE8yN3Ol@ zlDc|^e9$UWGs8aBT%DH+OAcf-J2tYJ?%5+eo4FA6>|GprvLbLUUW-S zzd3Kil-NDDPna`(FW4RUzS^aHX#&?|%S(r6{oZ^ayz}j~GWl2kw*^Fnz9 z7Z(Qz0ly%4767*b$j~W2q+Nbcr}B_a zt2qcHfogzO804)m%v}bwLc8LycHuD~sZ+Ao$;s6ssYNAs8&HjY)<*rpjV38mv@7=O zlR$|>hA7%)l6Gso0S@^QRmC}d`!9nsgQYj?q1q~e^pl#57ZkCDY3#eIwB zwRGos2pzJQw_x8ZdOTQV_J-X%iyfRp5<{0BcyW1!*?YcB5~QbFFg2=gNU2G=Em-gubUR-?TFOA!OH#ZUbX6t>P6ga z|MyC#&H1=z&hNR)xi!2R>X~Z(IRt25J@seb{-#e|r&hg^de5a4vif!DSKeOVv%3~8 z70qQ7>)YaPwP(TrJ329 z@86JdNr*k(uVd=ftzUUJ?sPpApeTCy+qrl5>||xQDirx-WS9Hf-9@q1%i+?|5q#|9oHL_w(V$my-JHFX{dfiFx^O-(F_ICHpc z-gcyqV(DC SY@~pS7(8A5T-G@yGywof@?H=C literal 0 HcmV?d00001 diff --git a/src/webui/static/icons/subtitle.png b/src/webui/static/icons/subtitle.png new file mode 100644 index 0000000000000000000000000000000000000000..b3ff4b9f8501c26c3d538f9748a7422e784d96d1 GIT binary patch literal 607 zcmV-l0-*hgP)KLZ*U+=)p!fv7f#TG` zAxLl%!EgG`&*5<32cu%worY0{L9A7~=}6b}76Isk~1IN~P)K3@?4 z&zpALY4A7Z!>t0&I7qECf*j`WHIYAjW_h^ivJu4lvb8y9VL`DD`rG0ZKvcZ$L@8 zo)6*!Fng}&gE0q~LGCMnsiR8`P)pL0I_sTkS+y)n+TA3GN!Y~XxSE=N}61(5Phw%F>4EzQpY(y%; zY^Xw1IEgn~zSEr_WM=4z007ghO)QUFqOeZ9Kq3OG7yu0DjPPA>+M!JXua#-mb_FG6 zVwHLYMASZmk}|o5xYhV~3%}%5uaQ;aYgtaiI3B7ASS3D7xdi4b04XWoJp`XiT!D{X tFaW^JFz$E8DrZ)SHU7;E)celw0RXQNK0^v)9|8aX002ovPDHLkV1kf^`#%5x literal 0 HcmV?d00001 diff --git a/src/webui/static/icons/teletext.png b/src/webui/static/icons/teletext.png new file mode 100644 index 0000000000000000000000000000000000000000..e9642ccf8393bc41950ab5b672535a8ece3a28ed GIT binary patch literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ii4<#Ar`%7Cm-ZHpupjL`{@7w zPv33Wk?4}}*~l+wL#5CXl{YTT43p-^sBD~>lBMwS)!s7Uh{UTqx+W+r(iBcH(L9*N zx1M9sEbj@v@j-q8s=qGF-SAeE{F3-s|FQBG{Ue`QR$sF9lVm9PZasgyjDEzic|L!E P_A+?7`njxgN@xNASG7K% literal 0 HcmV?d00001 diff --git a/src/webui/static/icons/tv_cards.png b/src/webui/static/icons/tv_cards.png new file mode 100644 index 0000000000000000000000000000000000000000..76e6c2f8dcb0dd2f8b450287b14c497247757829 GIT binary patch literal 641 zcmV-{0)G98P)+VebS5Kxf9m2D{1i_k)| zN34lJ77B$v2?<9gFz4Ta5^~L8TY^{cprPr0eMTgN%LMA*$$xmsYUafbZ5%E3gki+b z(KKl=?_z>+l68TF@s1g&#c^WQN|&@r4xgiZAn^5baZ5p9S+b!JF1HnB$I8n{%U0znTBg|F#*f1H-8}2 zp2o*%h2E2d57PqD$Y;RT6A{WwRjxT@Z~d}V!{$bsagqrbEZO)Ot{|OCVaFMu*^1CR zVzF^UNul#V1zk)S@dF0YGW=hgEKZvQ#d04!Ti{`G(2NLgCoiIW_a3?rA4Iu0hwh<6 z$X}X7LMaBf@aD>8^k0~O3h8M)2SU^6*l3@*Z0G5LCjn8`bYfM3=}1Dz+RJON_Vypo zPpG8c!{fHX=e*!aiPU2J=^6Z)c42mpKY{pWF5B`P6)l?Tx%cJ};~W^Z)H{ b{4Kx$)MU}fjoHf|00000NkvXXu0mjftdk_$ literal 0 HcmV?d00001