Private GIT

Skip to content
Snippets Groups Projects
Commit 61471357 authored by Jonathon Saine's avatar Jonathon Saine
Browse files

Added some slight usability improvements by providing a larger target area for...

Added some slight usability improvements by providing a larger target area for TD fields that contain a link (home/manage page).
Added labels to the display show quality checkboxes so that you can click on the text besides just the checkbox.
parent f55db82e
Branches
Tags
No related merge requests found
......@@ -251,6 +251,7 @@ background-color: #fff;
color:#000;
}
#checkboxControls label { white-space:nowrap; }
tr.unaired,span.unaired {
background-color:#F5F1E4;
padding:2px;
......@@ -384,3 +385,5 @@ div#addShowPortal button div.button img{ float: left; margin: 25px 25px 25px 10
div#addShowPortal button .buttontext { float: right; text-align: left; width: 350px; }
#rootDirs, #rootDirsControls { width: 50%; min-width: 400px; }
.hover { background-color: #cfcfcf !important; cursor: pointer; }
\ No newline at end of file
......@@ -87,10 +87,10 @@ All other statuses will automatically update to the appropriate "Downloaded ..."
#set $odd = 0
<div class="float-right" id="checkboxControls">
<span class="wanted" style="white-space:nowrap;">Wanted: <b>$epCounts[$Overview.WANTED]</b> <input type="checkbox" id="wanted" CHECKED></span>
<span class="qual" style="white-space:nowrap;">Low Quality: <b>$epCounts[$Overview.QUAL]</b> <input type="checkbox" id="qual" CHECKED></span>
<span class="good" style="white-space:nowrap;">Downloaded: <b>$epCounts[$Overview.GOOD]</b> <input type="checkbox" id="good" CHECKED></span>
<span class="skipped" style="white-space:nowrap;">Skipped: <b>$epCounts[$Overview.SKIPPED]</b> <input type="checkbox" id="skipped" CHECKED></span>
<label for="wanted"><span class="wanted">Wanted: <b>$epCounts[$Overview.WANTED]</b> <input type="checkbox" id="wanted" checked=checked></span>
<label for="qual"><span class="qual">Low Quality: <b>$epCounts[$Overview.QUAL]</b> <input type="checkbox" id="qual" checked=checked></span>
<label for"good"><span class="good">Downloaded: <b>$epCounts[$Overview.GOOD]</b> <input type="checkbox" id="good" checked=checked></span>
<label for="skipped"><span class="skipped">Skipped: <b>$epCounts[$Overview.SKIPPED]</b> <input type="checkbox" id="skipped" checked=checked></label>
<br />
<span class="selectAll"><a href="#" onClick="return false" class="seriesCheck">Select Filtered Episodes</a> </span>
<span class="clearAll"><a href="#" onClick="return false" class="clearAll">Clear All</a></span>
......@@ -121,7 +121,7 @@ All other statuses will automatically update to the appropriate "Downloaded ..."
<input type="checkbox" class="epCheck" id="<%=str(epResult["season"])+'x'+str(epResult["episode"])%>" name="<%=str(epResult["season"]) +"x"+str(epResult["episode"]) %>">
#end if
</td>
<td align="center"><a name="<%=str(epResult["season"])+"x"+str(epResult["episode"])%>"></a><img src="$sbRoot/images/#if $epResult["hasnfo"] == 1 then "nfo.gif\" alt=\"Y" else "nfo-no.gif\" alt=\"N"#" width="23" height="11"></td>
<td align="center"><img src="$sbRoot/images/#if $epResult["hasnfo"] == 1 then "nfo.gif\" alt=\"Y" else "nfo-no.gif\" alt=\"N"#" width="23" height="11"></td>
<td align="center"><img src="$sbRoot/images/#if $epResult["hastbn"] == 1 then "tbn.gif\" alt=\"Y" else "tbn-no.gif\" alt=\"N"#" width="23" height="11"></td>
<td align="center">$epResult["episode"]</td>
<td>
......@@ -142,7 +142,7 @@ $epLoc
<td>$statusStrings[int($epResult["status"])]</td>
<td align="center">
#if int($epResult["season"]) != 0:
<a href="searchEpisode?show=$show.tvdbid&season=$epResult["season"]&episode=$epResult["episode"]"><img src="$sbRoot/images/search32.png" height="16" alt="search"/></a>
<a href="searchEpisode?show=$show.tvdbid&season=$epResult["season"]&episode=$epResult["episode"]"><img src="$sbRoot/images/search32.png" height="16" alt="search" title="Search" /></a>
#end if
</td>
</tr>
......
......@@ -73,9 +73,22 @@ table.tablesorter thead tr .headerSortDown { background-image: url("$sbRoot/imag
<script type="text/javascript" src="$sbRoot/js/jquery.divgrow-1.3.1.min.js"></script>
<script type="text/javascript" charset="utf-8">
sbRoot = "$sbRoot";
\$(document).ready(function(){
\$("table.sickbeardTable td").hover(
function() { \$(this).find("a").parent().addClass("hover"); },
function() { \$(this).find("a").parent().removeClass("hover");
} );
\$("table.sickbeardTable td").click( function() {
var href = \$(this).find("a").attr("href");
if(href) { window.location = href; }
});
});
</script>
<script type="text/javascript" charset="utf-8">
sbRoot = "$sbRoot";
//HTML for scrolltopcontrol, which is auto wrapped in DIV w/ ID="topcontrol"
top_image_html = '<img src="$sbRoot/images/top.gif" style="width:31px; height:11px" />';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment