2014-03-10 05:18:05 +00:00
|
|
|
#import sickbeard
|
2015-05-07 00:36:40 +00:00
|
|
|
#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'
|
2015-05-07 00:36:40 +00:00
|
|
|
##
|
2014-03-10 05:18:05 +00:00
|
|
|
#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')
|
2014-10-21 19:09:01 +00:00
|
|
|
|
2015-09-24 18:19:44 +00:00
|
|
|
#if $varExists('header')
|
2014-03-10 05:18:05 +00:00
|
|
|
<h1 class="header">$header</h1>
|
2015-09-24 18:19:44 +00:00
|
|
|
#else
|
2014-03-10 05:18:05 +00:00
|
|
|
<h1 class="title">$title</h1>
|
|
|
|
#end if
|
|
|
|
|
2014-11-20 22:25:33 +00:00
|
|
|
<div id="addShowPortal">
|
2016-02-14 12:28:30 +00:00
|
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/new_show/">
|
|
|
|
<div class="button"><div class="icon-addnewshow square-32"></div></div>
|
2014-11-20 22:25:33 +00:00
|
|
|
<div class="buttontext">
|
2016-02-14 12:28:30 +00:00
|
|
|
<h3>Add new show</h3>
|
|
|
|
<p>Search a TV database for a show.</p>
|
2014-11-20 22:25:33 +00:00
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
|
2016-01-08 20:57:07 +00:00
|
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/trakt_default/">
|
2016-02-14 12:28:30 +00:00
|
|
|
<div class="button"><div class="icon-addrecommendedshow square-32"></div></div>
|
2014-11-20 22:25:33 +00:00
|
|
|
<div class="buttontext">
|
2016-02-14 12:28:30 +00:00
|
|
|
<h3>Add from Trakt</h3>
|
2015-09-24 18:19:44 +00:00
|
|
|
<p>Browse trends, recommended and more.</p>
|
2014-11-20 22:25:33 +00:00
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
|
2015-09-24 18:19:44 +00:00
|
|
|
<div style="clear:both;font-size:2px"> </div>
|
|
|
|
|
2016-02-14 12:28:30 +00:00
|
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/existing_shows/">
|
|
|
|
<div class="button"><div class="icon-addexistingshow square-32"></div></div>
|
2014-11-20 22:25:33 +00:00
|
|
|
<div class="buttontext">
|
2016-02-14 12:28:30 +00:00
|
|
|
<h3>Add existing shows</h3>
|
2015-09-24 18:19:44 +00:00
|
|
|
<p>Scan parent folders to import into SickGear.</p>
|
2014-11-20 22:25:33 +00:00
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
|
2016-02-14 12:28:30 +00:00
|
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/imdb_default/">
|
|
|
|
<div class="button"><div class="img-imdb square-32"></div></div>
|
2015-10-01 18:41:20 +00:00
|
|
|
<div class="buttontext">
|
2016-02-14 12:28:30 +00:00
|
|
|
<h3>Add from IMDb</h3>
|
2015-10-01 18:41:20 +00:00
|
|
|
<p>Browse popular for a show to add.</p>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<div style="clear:both;font-size:2px"> </div>
|
|
|
|
|
2015-11-12 00:18:19 +00:00
|
|
|
#if $sickbeard.USE_ANIDB
|
2016-02-14 12:28:30 +00:00
|
|
|
<a class="btn btn-large" href="$sbRoot/home/addShows/anime_default/">
|
|
|
|
<div class="button"><div class="img-anime square-32"></div></div>
|
2015-11-12 00:18:19 +00:00
|
|
|
<div class="buttontext">
|
2016-02-14 12:28:30 +00:00
|
|
|
<h3>Add anime show</h3>
|
|
|
|
<p>Browse anime to add.</p>
|
2015-11-12 00:18:19 +00:00
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
#else
|
2016-02-14 12:28:30 +00:00
|
|
|
<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>
|
2015-11-12 00:18:19 +00:00
|
|
|
</div>
|
|
|
|
#end if
|
|
|
|
|
2014-11-20 22:25:33 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2015-09-24 18:19:44 +00:00
|
|
|
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')
|