From 0c765e552cce5e7af1e64f59b8c0dc6166222e1d Mon Sep 17 00:00:00 2001 From: JackDandy Date: Fri, 24 Oct 2014 14:16:46 +0100 Subject: [PATCH] Add an in progress spinner that is suitable for the dark theme. Add dark spinner to "Add New Show" (searching indexers), "Add existing shows" (Loading Folders), Coming Eps and all config pages (when saving). --- CHANGES.md | 3 +++ gui/slick/css/browser.css | 6 +----- gui/slick/images/loading16-dark.gif | Bin 0 -> 1849 bytes gui/slick/images/loading32-dark.gif | Bin 0 -> 3208 bytes .../interfaces/default/comingEpisodes.tmpl | 2 +- gui/slick/interfaces/default/inc_top.tmpl | 1 + .../interfaces/default/restart_bare.tmpl | 18 +++++++++++++++--- gui/slick/js/addExistingShow.js | 2 +- gui/slick/js/ajaxEpSearch.js | 4 ++-- gui/slick/js/ajaxEpSubtitles.js | 4 ++-- gui/slick/js/config.js | 2 +- gui/slick/js/configBackupRestore.js | 2 +- gui/slick/js/configNotifications.js | 2 +- gui/slick/js/configSearch.js | 2 +- gui/slick/js/newShow.js | 2 +- 15 files changed, 31 insertions(+), 19 deletions(-) create mode 100644 gui/slick/images/loading16-dark.gif create mode 100644 gui/slick/images/loading32-dark.gif diff --git a/CHANGES.md b/CHANGES.md index 7f2e769a..65e29848 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -23,6 +23,9 @@ * Clean up text, correct quotations, use spaces for code lines, tabs for html * Implement automatic saving of poster layout sorting options on show list * Clarify description for backlog searches option on provider settings page +* Fix Layout "Poster" sort of Paused, Ended, and Continuing shows as they were random +* Fix Layout "Simple" sort of tvrage "New" and "Returning" series by changing status column text to "Continuing" +* Add dark spinner to "Add New Show" (searching indexers), "Add existing shows" (Loading Folders), Coming Eps and all config pages (when saving) ### 0.2.1 (2014-10-22 06:41:00 UTC) diff --git a/gui/slick/css/browser.css b/gui/slick/css/browser.css index 812de3a7..db5957dd 100644 --- a/gui/slick/css/browser.css +++ b/gui/slick/css/browser.css @@ -23,11 +23,7 @@ margin: 0 4px; float: left; } -/* -.browserDialog.busy .ui-dialog-buttonpane { - background: url("/images/loading.gif") 10px 50% no-repeat; -} -*/ + /* jquery ui autocomplete overrides to make it look more like the old autocomplete */ .ui-autocomplete { diff --git a/gui/slick/images/loading16-dark.gif b/gui/slick/images/loading16-dark.gif new file mode 100644 index 0000000000000000000000000000000000000000..febc9707302438e19d38fbe4f122328e857ea691 GIT binary patch literal 1849 zcmb8wdr(tX9tZI2z31lM+(&YVNJFGf2tkvOm;fO}5qlFr5Lh-)1JB~YSmrZqDTw)m~OWqMrO3zaVt}2JAKV)hjz5JE%Y(fnZ6SK=wIm{{r!37 zoH?KQ{?2bs_SP-N4K|2CfQv`%LYqz zYF?Rg&$xcuE=9{_wezIT>O=la#r{ecWNmvo!(_=yTCc-a1kc9)BFSj9+xFP2rOl2# zwNhK1t;M<9R=wWwY|U;Y_A%g7!CmUmEg>X=H%p}`%8&hQ6wNe~H%tR#IWhjbHv<<$ z7q8hSuvaoY0r)v5{o9pD(}Nw41}r1o(i^hvUeCqCIR5|cncd}Sr*F~M6VHnnF~0lV zjY)FJUW@~jyj7hHgfzthPh}iR@({Kfw5I@G@^KmcTnbIwW5ZeYhAa-wzM(JEM80i; zJyYFtOS6Iq?O3$cRVx?wX4v96Dc*DAfh*@6NuGieEz?_2ccAHMe5LYK;1QmOSHKv}L*?)S9iHM&zxjo~rN zxqP4xVtlb=&XVjMm8gF;eY>z<%XufeGy*7c>)Ro~ub*>4y`ZNk;m5Z$BI5M@%dTf5px)_i8CgOCwkrURl(pky6>s7;wktl2^m*ZmA zTz%r&Wl^L=n|RHE>0wvEI$b<2@dM2K=}a*YvQ7JavMPeWZ3PZ3LsSrqQrW8^NF?9x zJisUDddGeQ5Ny4@EFmoE`4DL<43Yve@-N>R=2U@ES!&j;V?H;Rtx)8zz2j=A<4QYT z^*??yLdy8QiRZ=v#G5aaDy7ipa$*XqzteqZypJRserQsyj3S7lwN*UGC#-}}sZ=lo zMm%?*GIs!UZLTaA5bFfl^{Hf!JiKOkpqDkMN_|MGm{ZLteln+&i4w&trlc>IPQAC) zRvXL9K7QWbBHlOkFjv=QziOBbaK)|L$8fNufAdOa{ZvQ1TyX0jU%JE$#V;rDYy@lJ z^V$6fmjGG;!=OSUJ%J(;k7)Q=wiMK<3~yOZMtO2!^rdyClX>S3zkc__UiCk({44-R z{8{A+r}yN!wP`8R-n%eGldw z5pi>R;z=o>NnSj)86#K{rx_|q1qdP9jq-#J70uV;_(nLKAjh!1;WbU6SF@~fmYtX1 zqo#6UL)pIq4NUT|wXp1wAZ4Zd(Z*;&_t8bLbw{jjw$YSn6f+rn#|GYx#6Qll)Hot$ z792?75a{=sESzgK%;2%{nFwp)K_D#D8yGx@VI5Tt6p{sXx@Oj=3_nu8cWFJ-Ff&T2 zvr+oBT!=I(UXRHgFfwFk#^Qo1qPz2;`I35A(%13DTJa{T!`*Y~qi9j>BvaC+fo~03 z=hb|s^Vkm~V)et#7z%l56l*Lh*rcYh4!9|Cn-Es;Q0m1hFnD|&+ptScaUo4w=p$OL F-vDIu3c&yX literal 0 HcmV?d00001 diff --git a/gui/slick/images/loading32-dark.gif b/gui/slick/images/loading32-dark.gif new file mode 100644 index 0000000000000000000000000000000000000000..9c6e410aaf961b1113438443ea0ecaa7d14e3a9a GIT binary patch literal 3208 zcmc(iX;4#H9>pJdFE7h`I{03&1A#Fh5kVUQ0umM#LI@C$ML zl{x2te=Y03BO7^9o4CH=JQqhcXfn5N{WlA4`p%@xog!v-N@g-MX-`tlzSJaVu+0gkUbZ7_u8G=_5aeL}TOfC(?}jC*CQym>8cvkk#rT^Z_J&2W_U(hO z&z=#{NZC1jpE!uRn+BC+2MWuq4#B=Y3N|GsUL7y@q7aB+r%rv$OJ`IC8Y;9WPPX-0 zHM7s3%VgCBW|SXEkMj;JbS%P0$}coht|)|G;ae<(qhY+=o=|fkKQ6&>z~`awpTi>5 z8D&p^*?8e_vLolEPsZ*Kg-3T(zTY`xh23|+YVMZp0@nJ^Df6G~v-9k6owF0i;{x1h zZ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{m4C?`{+AR&;o>EQixUo zZ#>4HVSOX=AJCUizkNQEV|fE!Ii?DqYF!*_hOQ=$J-=Ig*vV$WDt!BY(m?7-CYAa+ z&1E0t=F=GvqSu#Y#p7@{3imPyU~;}tr$>nXLlzJS4ks-0A?gh{2|*0-oCn6hq8R&I zi1}R@qdu&FZ%xkN#4!#Ry!Acy!vBfj8Bz;;z+QbR&`Y&hRg??ZsDmY&UAyUz;CSZ3 zo%p*1Va^Cd1g)(r7rRmGn$UV>RZVlnF|O2;0?rG8AjD5Xz((V|5Tss&bb-N})1k`< zy94AAi>);BG9SpO>w{q(cn{c|v%>y1Y<}EA(czKO~PlR)(akg{ro;I z`i}92_EW;gLBF+{0id|uolKuR;lE%Ip8ZcIAfsPP%sv%?DVw}zDbd)gOuo~Hm#C5k zn)WcGF(Q)34ccqDUnp2E+aah^U=j~XXO0$JBbtoro}e&@;4% zK_zu}bF(A`z=b|ixdkt|ckiigk~=^FF9Y)`BzE_dfS`N0w^KCv0T>q;pqS>Y$3ll# z)M@_pZ=Q3f_r3=X85j@Vt#eHH)t%P$)>>x2_%lL`{J%*+H2TjLqzu!Q!2^3fZgj~I zxYtm7RH*1kkf~(M%pNhPnugpDJiS@NN8Kre@y`UYbUjw`vb{&)=&lu=HZTeZu(&?? z!4QpRWS||`^|oY z%ms;4VK>tSz`Nd!8ytaI)lJbaK*5cJllmW);YF61zn0{8_Xt9En@fP#{6FB+`Uh8t BrnmqA literal 0 HcmV?d00001 diff --git a/gui/slick/interfaces/default/comingEpisodes.tmpl b/gui/slick/interfaces/default/comingEpisodes.tmpl index 7a30061d..edbe66a9 100644 --- a/gui/slick/interfaces/default/comingEpisodes.tmpl +++ b/gui/slick/interfaces/default/comingEpisodes.tmpl @@ -268,7 +268,7 @@ diff --git a/gui/slick/interfaces/default/restart_bare.tmpl b/gui/slick/interfaces/default/restart_bare.tmpl index c77bdb11..ea345f89 100644 --- a/gui/slick/interfaces/default/restart_bare.tmpl +++ b/gui/slick/interfaces/default/restart_bare.tmpl @@ -22,24 +22,36 @@ sbHost = "$curSBHost"; +#try: + #sickbeard +#except NameError: + #set themeSpinner = ''; +#else: +#if 'dark' != sickbeard.THEME_NAME: +#set themeSpinner = '' +#else: +#set themeSpinner = '-dark' +#end if +#end try +

Performing Restart


Waiting for SickRage to shut down: - +