#import sickbeard #import datetime #from sickbeard import WEB_ROOT, THEME_NAME #from sickbeard.common import * #from sickbeard import sbdatetime, network_timezones <% def sg_var(varname, default=False): return getattr(sickbeard, varname, default) %>#slurp# <% def sg_str(varname, default=''): return getattr(sickbeard, varname, default) %>#slurp# ## #set global $title = 'Home' #set global $header = 'Show List' #set global $sbPath = '..' #set global $topmenu = 'home' #set global $page_body_attr = 'show-list' #set fuzzydate = 'airdate' #set sg_root = $getVar('sbRoot', WEB_ROOT) ## #import os.path #include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_top.tmpl')
$download_stat | #if 'simple' == $layout $curShow.network #else #set $img_text = ($curShow.network, 'No Network')[None is $curShow.network] #if 'No Network' is not $img_text and 'nonetwork' in $network_images[$curShow.indexerid] $curShow.network #else #end if #end if | #if $curShow.quality in $qualityPresets $qualityPresetStrings[$curShow.quality] #else Custom #end if |
Next Ep | Show | Network | Quality | Downloads | Active | Status | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add Show | |||||||||||
(loading) | #if None is $curLoadingShow.show Loading... ($curLoadingShow.show_name) #else $curLoadingShow.show.name #end if | ||||||||||
$sbdatetime.sbdatetime.sbfdate($ldatetime) $ldatetime.strftime('%Y%m%d%H%M') |
#else
#end if #if 'small' == $layout | #else if 'banner' == $layout | $display_name | #else if 'simple' == $layout$display_name | #end if #if 'simple' != $layout #set $img_text = ($curShow.network, 'No Network')[None is $curShow.network]#if 'No Network' is not $img_text and 'nonetwork' in $network_images[$curShow.indexerid] $curShow.network #else $curShow.network #end if | #else$curShow.network $curShow.network | #end if #if $curShow.quality in $qualityPresets$qualityPresetStrings[$curShow.quality] | #elseCustom | #end if
|
#set $display_status = $curShow.status #if None is not $display_status #if re.search(r'(?i)(?:new|returning)\s*series', $curShow.status) #set $display_status = 'Continuing' #else if re.search(r'(?i)(?:nded)', $curShow.status) #set $display_status = 'Ended' #end if #end if $display_status |