1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fixes and additions to testRename.tmpl

Good named episodes show in green now and cannot be selected since it's
pointless.
Cancel Rename button added to return you to show page if you wish to
cancel.
This commit is contained in:
Supremicus 2014-10-04 22:47:24 +10:00
parent b83b8721a0
commit 3c1043f77e

View File

@ -65,13 +65,15 @@
#end if
<tr class="season-$curSeason
#if $curLoc == $newLoc:
#if $odd then "odd" else "even"#
good
#else
wanted
#end if
">
<td width="1%" valign="top" align="center" class="tableleft">
#if $curLoc != $newLoc:
<input type="checkbox" class="epCheck" id="<%=str(cur_ep_obj.season) + 'x' + str(cur_ep_obj.episode)%>" name="<%=str(cur_ep_obj.season) + "x" + str(cur_ep_obj.episode) %>" />
#end if
</td>
<td align="center" valign="top" class="nowrap"><%= "-".join(map(str, epList)) %></td>
<td width="50%" valign="top">$curLoc</td>
@ -81,5 +83,5 @@
#end for
</table><br />
<input type="submit" value="Rename Selected" class="btn btn-danger">
<input type="submit" value="Rename Selected" class="btn btn-success"> <a href="/home/displayShow?show=$show.indexerid" class='btn btn-danger' style="line-height: 20px !important;">Cancel Rename</a>
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_bottom.tmpl")