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

84 lines
2.2 KiB
Cheetah
Raw Normal View History

2015-01-13 14:18:52 +00:00
#import sickbeard
#import os.path
#set global $title='Cache'
#set global $header='Cache'
#set global $sbPath='..'
#set global $topmenu='cache'#
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl')
<style type="text/css">
.sort_data {display:none}
</style>
<script type="text/javascript">
<!--
\$(document).ready(function()
{
\$('#cacheTable:has(tbody tr)').tablesorter({
widgets: ['zebra', 'filter'],
sortList: [[0,1]],
});
#raw
$('.addQTip').each(function () {
$(this).css({'cursor':'help', 'text-shadow':'0px 0px 0.5px #666'});
$(this).qtip({
show: {solo:true},
position: {viewport:$(window), my:'right center', adjust:{ y: -10, x: -15 }},
style: {classes:'qtip-rounded qtip-shadow'}
});
});
#end raw
});
//-->
</script>
#if $varExists('header')
<h1 class="header">$header</h1>
#else
<h1 class="title">$title</h1>
#end if
<table id="cacheTable" class="sickbeardTable tablesorter" cellspacing="1" border="0" cellpadding="0">
<thead>
<tr>
<th class="col-cache">Provider</th>
<th class="col-name-cache">Name</th>
<th class="col-cache">Season</th>
<th class="col-episodes">Episodes</th>
<th class="col-cache">Indexer Id</th>
<th class="col-cache">Url</th>
<th class="col-cache">Time</th>
<th class="col-cache">Quality</th>
<th class="col-cache">Release Group</th>
<th class="col-cache">Version</th>
</tr>
</thead>
<tfoot>
<tr>
<th class="nowrap" colspan="10">&nbsp;</th>
</tr>
</tfoot>
<tbody>
#for $hItem in $cacheResults:
2015-01-13 14:18:52 +00:00
<tr>
<td class="col-cache">$hItem['provider']</td>
2015-01-13 14:18:52 +00:00
<td class="col-name-cache">$hItem['name']</td>
<td class="col-cache">$hItem['season']</td>
<td class="col-episodes">$hItem['episodes']</td>
<td class="col-cache">$hItem['indexerid']</td>
<td class="col-cache"><span title="$hItem['url']" class="addQTip"><img src="$sbRoot/images/info32.png" width="16" height="16" /></span></td>
<td class="col-cache">$hItem['time']</td>
<td class="col-cache">$hItem['quality']</td>
<td class="col-cache">$hItem['release_group']</td>
<td class="col-cache">$hItem['version']</td>
</tr>
#end for
</tbody>
</table>
#include $os.path.join($sickbeard.PROG_DIR,'gui/slick/interfaces/default/inc_bottom.tmpl')