New layout for Coming Episodes

If you've made an extra_script, made a 3rd party tool, or just added some functionality in a fork you can post about it here.

New layout for Coming Episodes

Postby engenius » Fri Apr 25, 2014 7:13 pm

I love Sick Beard, but there are always things that can be improved. The coming episode page displays a lot of information that I wasn't really interested in, which made the page really long. So I modified it (using just CSS) while attempting to keep the original look and feel. I figured someone else might be interested in this as well and that it would be worthwhile to share it.

Banner Layout

Image

Poster Layout

Image

Installing it is relatively simple. Download the attached files. Copy coming-episodes.css into your CSS folder (C:\SickBeard\data\css) and comingEpisodes.js into the JS folder (C:\SickBeard\data\js). Then add the following lines to the coming episodes template file (C:\SickBeard\data\interfaces\default\comingEpisodes.tmpl):

Code: Select all
<link rel="stylesheet" type="text/css" href="$sbRoot/css/coming-episodes.css?$sbPID">
#if $layout == 'banner': <style>.epListing { width: <%="%3.3f" % (100.0 / 3) %>%; }</style>
#if $layout == 'poster': <style>.epListing { width: <%="%3.3f" % (100.0 / 6) %>%; }</style>
<script type="text/javascript" src="$sbRoot/js/comingEpisodes.js?$sbPID"></script>

It needs to go right below this line (near the top of the page):

Code: Select all
<script type="text/javascript" src="$sbRoot/js/ajaxEpSearch.js?$sbPID"></script>

The javascript file is optional, but it adds the next episode information to the thumbnails when you hover over them. You can also edit the template code (listed above) if you want more or fewer columns. Replace x (100.0 / x) with how many columns you want. The first line is for the banner layout and the second is for posters.

These changes will break when you update Sick Beard, but all you need to do is add the 4 lines above back to the template file after updating to get it back.

Hopefully someone else will appreciate this simplified layout like I do. :D
Attachments
coming-episode-layout.zip
Coming Episodes Layout
(857 Bytes) Downloaded 257 times
engenius
 
Posts: 2
Joined: Fri Apr 25, 2014 2:12 pm

Re: New layout for Coming Episodes

Postby davenc » Thu Jun 05, 2014 11:58 am

Thanks mate! Much better IMO. Appreciate you do'n that. The JS isn't working for me in Chrome, but no biggie... still looks nice. Cheers.
davenc
 
Posts: 2
Joined: Fri Oct 29, 2010 11:38 am

Re: New layout for Coming Episodes

Postby Eddie_Brock » Thu Nov 06, 2014 11:44 am

Awesome, thanks for this! :D

I always found the "Coming Episodes" a bit cluttered, and this makes a big difference. I'm surprised to see it's only been downloaded 25 times. Definitely need some more credit for this.

Again, good job.
Eddie_Brock
 
Posts: 2
Joined: Wed Nov 05, 2014 10:17 pm

Re: New layout for Coming Episodes

Postby Eddie_Brock » Thu Nov 06, 2014 11:18 pm

Works great for me, Javascript as well!

Thanks for this a lot. Surprised this isn't more popular, as it's a useful mod.
Eddie_Brock
 
Posts: 2
Joined: Wed Nov 05, 2014 10:17 pm

Re: New layout for Coming Episodes

Postby therichardharrison » Thu Nov 13, 2014 11:55 am

Well done, engenius, well done.

This is a great mod.

:D
therichardharrison
 
Posts: 21
Joined: Tue Oct 14, 2014 9:09 am

Re: New layout for Coming Episodes

Postby engenius » Thu Nov 13, 2014 1:05 pm

Thank you for the feedback. I'm glad you guys like it and that it's working for you. I still use this mod every day and I almost forgot that SickBeard doesn't come this way. ;)
engenius
 
Posts: 2
Joined: Fri Apr 25, 2014 2:12 pm

Re: New layout for Coming Episodes

Postby Jay332843867 » Thu Aug 24, 2017 8:11 pm

ear, I am afraid that he can not dance with a small partner after the leather band, and that is my favorite activities. Mother rush to rush home, distressed look at my legs, gently sighed: 'Do not you do, Nike Kids Shoes Cheap stay at home, you can not let me!' I could not speak, my first time See mom so anxious. Fortunately, the water has not opened, I am not very serious hot, the doctor said after a week will be good. My mother for me to the teacher took a fake, I was at home with a dangle, just began to feel his legs burning hot, slowly bitter pain, tears can not help out flow. In order to distract my attention, my mother took out my number of books, said to me: 'You look at the book, looked no pain!' Since the last race did not get the prize, I put it thrown Side, did not care about it. Since the mother said this, I obediently took the book, quietly watching. The number of questions is very flexible, to turn a lot of bends, so I must be very focused to think about those issues, the attention slowly transferred to the book, feeling less pain, so that the back of my mother to help me painted camellia oil, medicine to help me Itchy, I did not pay attention. After a week of suffering, I regain confidence in mathematics. Back to school, the teacher and the classmates of care let me feel warm. Although the lack of a number of classes, my math scores do not fall back, after several exams I got a full score, and has maintained his own mathematical advantage. Looking at the examination of the hook, I am happy to cry, gently touch the leg of the road scars, I silently grateful to it ignited my morale. Junior high school first grade, my Cheap Nike Shoes Sale parents went to the kiln shipments, on the way back in a motorcycle out of control hit my dad's car, the driver was seriously injured, although this is not my dad's mistakes, but because the township road, line planning is not Standard, and no monitor, father to take responsibility. At that time I was anxiously waiting for my parents back home, but received a quick call, my mother let me call neighbors to listen to the phone, I overheard their dialogue, scared silly, traffic accident means to pay a lot of money, Parents how to do, I grew more and more afraid. Nike Dunk SB Mens Mom and Dad dragged his tired body late at night, I saw the curtains across the curtains of their red eyes, worried endless.Those days, parents want to run around, to see the injured, to the traffic police, to relatives to borrow money, no one at home business care. My mother told me to come back after school in the shop doing Authentic Nike Shoes Sale homework look at the Wholesale Air Jordan Shoes goods, encountered unfamiliar guests do not credit to him, do not know the price do not sell. In order to sell a little more things, I took a small book, the Mens Air Max price of the goods down, when the get out of class out to see, shop front speed to see it again, before going to bed again, a few days down to remember. But remember the price is easy to remember the customer is difficult, those uncle and aunt looks almost, just remember not easy to remember. I will try to identify from their Nike KD Shoes hairstyle, dress, open motorcycle style, voice of speech. Soon, I can on the road to recognize them, politely greeted them, they are boast of my sensible, often come to my shop to buy things. For some time down, my memory is getting better and better, more and more ability to identify, in front of adults are more calm and calm. Mom and Dad finished that matter, told me to play uncle home. Uncle home near a large factory, mainly to do clothing business, I just ran there to visit, once there is close to the assistant assistant notice, I confidently went to the manager's office to interview, she smiled and touched my Head, said: 'You are still small, can not do this live!' I said loudly: 'I can! You give me two days to try, no words then catch me!' Manager beat me, reluctantly agreed down. The next day, I attended the meeting with the manager, quickly recorded the important content, and the customer's information carefully read it again, well completed the task assigned to me. I heard the manager praised me, think of that flying accident, I am feeling endless. It gave my family a lot of damage, gave me the opportunity to exercise, without it, maybe I was just a ignorant child. When the college entrance examination, full of heavy expectations of my big loss, fell to the bottom. I was disheartened, to hear the students around have made quite good results, I sadly ripped off Cheap Nike Shoes Men Free Run the phone line, crying in the room for more than two hours, sad, helpless shrouded me. My parents with their warm hands to rescue me from despair, encourage me, support me. I wiped my tears in the trembling, spit all my grief on the grid, with black ink to tell my desolate, with unscrupulous fonts to express my feelings, and then use the keyboard freeze in the document, into the submission mailbox. Did not expect, every two days on the published my article, my interpretation of the college entrance examination, the examination of the candidates have been approved by the editor, she also sent me anger to cheer. At that time I was like in the unfathomable wells to see a trace of ligh
Jay332843867
 
Posts: 53
Joined: Thu Aug 24, 2017 7:56 pm


Return to Mobile Apps, Extra Scripts, Supplementary Tools

Who is online

Users browsing this forum: No registered users and 1 guest