mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-04 18:33:38 +00:00
74 lines
2.1 KiB
Cheetah
74 lines
2.1 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/newShow/">
|
|
<div class="button"><div class="icon-addnewshow"></div></div>
|
|
<div class="buttontext">
|
|
<h3>Add New Show</h3>
|
|
<p>Search a TV database for a show to add.</p>
|
|
</div>
|
|
</a>
|
|
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/traktTrending/">
|
|
<div class="button"><div class="icon-addrecommendedshow"></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/existingShows/">
|
|
<div class="button"><div class="icon-addexistingshow"></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/popular_imdb/">
|
|
<div class="button"><div class="icon-addtrendingshow"></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/randomhot_anidb/" style="float:right">
|
|
<div class="button"><div class="icon-addtrendingshow"></div></div>
|
|
<div class="buttontext">
|
|
<h3>Add from AniDB</h3>
|
|
<p>Browse what's hot and recommnended.</p>
|
|
</div>
|
|
</a>
|
|
#else
|
|
<div class="buttontext" style="padding:10px 5px 10px 30px">
|
|
<h3>Add Random/Hot AniDB</h3>
|
|
<p>To use, enable AniDB in Config/Anime.</p>
|
|
</div>
|
|
#end if
|
|
|
|
</div>
|
|
|
|
|
|
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')
|