SickGear/gui/slick/interfaces/default/home_addShows.tmpl

75 lines
2.1 KiB
Cheetah
Raw Normal View History

#import sickbeard
#import urllib
##
2014-11-20 22:25:33 +00:00
#set global $title = 'Add Show'
#set global $header = 'Add Show'
#set global $sbPath = '../..'
#set global $statpath = '../..'
#set global $topmenu = 'home'
##
#import os.path
2014-11-20 22:25:33 +00:00
#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
2014-11-20 22:25:33 +00:00
<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>
2014-11-20 22:25:33 +00:00
</div>
</a>
<a class="btn btn-large" href="$sbRoot/home/addShows/trakt_default/">
<div class="button"><div class="icon-addrecommendedshow"></div></div>
2014-11-20 22:25:33 +00:00
<div class="buttontext">
<h3>Add From Trakt</h3>
<p>Browse trends, recommended and more.</p>
2014-11-20 22:25:33 +00:00
</div>
</a>
<div style="clear:both;font-size:2px">&nbsp;</div>
2014-11-20 22:25:33 +00:00
<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>
2014-11-20 22:25:33 +00:00
</div>
</a>
2015-10-01 18:41:20 +00:00
<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">&nbsp;</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
2014-11-20 22:25:33 +00:00
</div>
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')