2014-05-26 02:29:22 -04:00
|
|
|
#import sickbeard
|
2014-11-08 21:49:38 -05:00
|
|
|
#from sickbeard.helpers import anon_url
|
|
|
|
|
2014-05-26 02:29:22 -04:00
|
|
|
#set global $title="Config - Anime"
|
|
|
|
#set global $header="Anime"
|
|
|
|
|
|
|
|
#set global $sbPath="../.."
|
|
|
|
|
|
|
|
#set global $topmenu="config"#
|
|
|
|
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.tmpl")
|
|
|
|
|
2014-05-31 06:35:57 -04:00
|
|
|
<script type="text/javascript" src="$sbRoot/js/configAnime.js?$sbPID"></script>
|
|
|
|
<script type="text/javascript" src="$sbRoot/js/config.js?$sbPID"></script>
|
2014-09-30 18:20:37 -04:00
|
|
|
<div id="content960">
|
2014-05-26 02:29:22 -04:00
|
|
|
#if $varExists('header')
|
|
|
|
<h1 class="header">$header</h1>
|
|
|
|
#else
|
|
|
|
<h1 class="title">$title</h1>
|
|
|
|
#end if
|
|
|
|
<div id="config">
|
2014-10-21 15:09:01 -04:00
|
|
|
<div id="config-content">
|
2014-05-26 02:29:22 -04:00
|
|
|
|
2014-10-21 15:09:01 -04:00
|
|
|
<form id="configForm" action="saveAnime" method="post">
|
2014-05-26 02:29:22 -04:00
|
|
|
|
|
|
|
<div id="config-components">
|
|
|
|
|
2014-09-30 18:20:37 -04:00
|
|
|
<ul>
|
|
|
|
<li><a href="#core-component-group1">AnimeDB Settings</a></li>
|
|
|
|
<li><a href="#core-component-group2">Look & Feel</a></li>
|
|
|
|
</ul>
|
|
|
|
|
2014-10-21 15:09:01 -04:00
|
|
|
<div id="core-component-group1" class="tab-pane active component-group">
|
2014-05-26 02:29:22 -04:00
|
|
|
<div class="component-group-desc">
|
2014-10-21 15:09:01 -04:00
|
|
|
<img class="notifier-icon" src="$sbRoot/images/providers/anidb.gif" alt="AniDB" title="AniDB" width="24" height="24" />
|
2014-11-08 21:49:38 -05:00
|
|
|
<h3><a href="<%= anon_url('http://anidb.info') %>" onclick="window.open(this.href, '_blank'); return false;">AniDB</a></h3>
|
2014-05-26 02:29:22 -04:00
|
|
|
<p>AniDB is non-profit database of anime information that is freely open to the public</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<fieldset class="component-group-list">
|
|
|
|
<div class="field-pair">
|
|
|
|
<input type="checkbox" class="enabler" name="use_anidb" id="use_anidb" #if $sickbeard.USE_ANIDB then "checked=\"checked\"" else ""# />
|
2014-10-21 15:09:01 -04:00
|
|
|
<label for="use_notifo">
|
2014-05-26 02:29:22 -04:00
|
|
|
<span class="component-title">Enable</span>
|
|
|
|
<span class="component-desc">Should Sick Beard use data from AniDB?</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="content_use_anidb">
|
|
|
|
<div class="field-pair">
|
2014-10-21 15:09:01 -04:00
|
|
|
<label class="nocheck">
|
2014-05-26 02:29:22 -04:00
|
|
|
<span class="component-title">AniDB Username</span>
|
2014-10-21 15:09:01 -04:00
|
|
|
<input type="text" name="anidb_username" id="anidb_username" value="$sickbeard.ANIDB_USERNAME" class="form-control input-sm input350" />
|
2014-05-26 02:29:22 -04:00
|
|
|
</label>
|
2014-10-21 15:09:01 -04:00
|
|
|
<label class="nocheck">
|
2014-05-26 02:29:22 -04:00
|
|
|
<span class="component-title"> </span>
|
|
|
|
<span class="component-desc">Username of your AniDB account</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="field-pair">
|
2014-10-21 15:09:01 -04:00
|
|
|
<label class="nocheck">
|
2014-05-26 02:29:22 -04:00
|
|
|
<span class="component-title">AniDB Password</span>
|
2014-10-21 15:09:01 -04:00
|
|
|
<input type="password" name="anidb_password" id="anidb_password" value="$sickbeard.ANIDB_PASSWORD" class="form-control input-sm input350" />
|
2014-05-26 02:29:22 -04:00
|
|
|
</label>
|
2014-10-21 15:09:01 -04:00
|
|
|
<label class="nocheck">
|
2014-05-26 02:29:22 -04:00
|
|
|
<span class="component-title"> </span>
|
|
|
|
<span class="component-desc">Password of your AniDB account</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="field-pair">
|
2014-09-30 18:20:37 -04:00
|
|
|
<input type="checkbox" name="anidb_use_mylist" id="anidb_use_mylist" #if $sickbeard.ANIDB_USE_MYLIST then "checked=\"checked\"" else ""# />
|
2014-10-21 15:09:01 -04:00
|
|
|
<label>
|
2014-05-26 02:29:22 -04:00
|
|
|
<span class="component-title">AniDB MyList</span>
|
|
|
|
<span class="component-desc">Do you want to add the PostProcessed Episodes to the MyList ?</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-21 15:09:01 -04:00
|
|
|
<input type="submit" class="btn config_submitter" value="Save Changes" />
|
2014-05-26 02:29:22 -04:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
</div><!-- /component-group //-->
|
2014-10-21 15:09:01 -04:00
|
|
|
|
|
|
|
<div id="core-component-group2" class="tab-pane component-group">
|
2014-05-26 02:29:22 -04:00
|
|
|
|
|
|
|
<div class="component-group-desc">
|
|
|
|
<h3>Look and Feel</h3>
|
|
|
|
</div>
|
|
|
|
<fieldset class="component-group-list">
|
|
|
|
<div class="field-pair">
|
|
|
|
<input type="checkbox" class="enabler" name="split_home" id="split_home" #if $sickbeard.ANIME_SPLIT_HOME then "checked=\"checked\"" else ""# />
|
2014-10-21 15:09:01 -04:00
|
|
|
<label for="use_notifo">
|
2014-05-26 02:29:22 -04:00
|
|
|
<span class="component-title">Split show lists</span>
|
|
|
|
<span class="component-desc">Separate anime and normal shows in groups</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-10-21 15:09:01 -04:00
|
|
|
<input type="submit" class="btn config_submitter" value="Save Changes" />
|
2014-05-26 02:29:22 -04:00
|
|
|
</fieldset>
|
|
|
|
</div><!-- /component-group //-->
|
2014-10-21 15:09:01 -04:00
|
|
|
|
|
|
|
<br/><input type="submit" class="btn config_submitter" value="Save Changes" /><br/>
|
2014-05-26 02:29:22 -04:00
|
|
|
|
2014-10-21 15:09:01 -04:00
|
|
|
</div><!-- /config-components //-->
|
2014-05-26 02:29:22 -04:00
|
|
|
|
2014-10-21 15:09:01 -04:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-05-26 02:29:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_bottom.tmpl")
|