mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 13:43:37 +00:00
58ea9588a7
Change indicate when not sorting with article by dimming ("The", "A", "An") on Show List, Episode, History, Mass Update, Add with Browse and from Existing views.
77 lines
2.3 KiB
Cheetah
77 lines
2.3 KiB
Cheetah
#import sickbeard
|
|
#import urllib
|
|
##
|
|
#set global $title = 'Add Show'
|
|
#set global $header = 'Add Show'
|
|
#set global $sbPath = '../..'
|
|
#set global $statpath = '../..'
|
|
#set global $topmenu = 'home'
|
|
##
|
|
#import os.path
|
|
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl')
|
|
|
|
#if $varExists('header')
|
|
<h1 class="header">$header</h1>
|
|
#else
|
|
<h1 class="title">$title</h1>
|
|
#end if
|
|
|
|
<div id="addShowPortal">
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/new_show/">
|
|
<div class="button"><div class="icon-addnewshow square-32"></div></div>
|
|
<div class="buttontext">
|
|
<h3>Add new show</h3>
|
|
<p>Search a TV database for a show.</p>
|
|
</div>
|
|
</a>
|
|
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/trakt_default/">
|
|
<div class="button"><div class="icon-addrecommendedshow square-32"></div></div>
|
|
<div class="buttontext">
|
|
<h3>Add from Trakt</h3>
|
|
<p>Browse trends, recommended and more.</p>
|
|
</div>
|
|
</a>
|
|
|
|
<div style="clear:both;font-size:2px"> </div>
|
|
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/existing_shows/">
|
|
<div class="button"><div class="icon-addexistingshow square-32"></div></div>
|
|
<div class="buttontext">
|
|
<h3>Add existing shows</h3>
|
|
<p>Scan parent folders to import into SickGear.</p>
|
|
</div>
|
|
</a>
|
|
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/imdb_default/">
|
|
<div class="button"><div class="img-imdb square-32"></div></div>
|
|
<div class="buttontext">
|
|
<h3>Add from IMDb</h3>
|
|
<p>Browse popular for a show to add.</p>
|
|
</div>
|
|
</a>
|
|
|
|
<div style="clear:both;font-size:2px"> </div>
|
|
|
|
#if $sickbeard.USE_ANIDB
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/anime_default/">
|
|
<div class="button"><div class="img-anime square-32"></div></div>
|
|
<div class="buttontext">
|
|
<h3>Add anime show</h3>
|
|
<p>Browse anime to add.</p>
|
|
</div>
|
|
</a>
|
|
#else
|
|
<div class="buttontext" style="margin:0px 7px 14px;padding:0 5px 0 28px">
|
|
<div class="button"><div class="img-anime square-32"></div></div>
|
|
<div class="buttontext">
|
|
<h3>Add anime show</h3>
|
|
<p>To use, enable AniDB in <a href="$sbRoot/config/anime/">Config/Anime</a>.</p>
|
|
</div>
|
|
</div>
|
|
#end if
|
|
|
|
</div>
|
|
|
|
|
|
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')
|