diff --git a/backend.php b/backend.php index 4213b8667..210adf716 100644 --- a/backend.php +++ b/backend.php @@ -1565,11 +1565,13 @@ $feed_icon = ""; } - $check_box = ""; + $check_box = ""; - print "
  • $check_box $feed_icon" . - db_unescape_string($details["title"]) . + $class = ($feedctr % 2) ? "even" : "odd"; + + print "
  • $check_box". + "$feed_icon " . db_unescape_string($details["title"]) . " ($subscribers)
  • "; ++$feedctr; diff --git a/functions.js b/functions.js index b75da2bd2..7854b07d6 100644 --- a/functions.js +++ b/functions.js @@ -625,6 +625,20 @@ function toggleSelectRowById(sender, id) { } } +function toggleSelectListRow(sender) { + var parent_row = sender.parentNode; + + if (sender.checked) { + if (!parent_row.className.match("Selected")) { + parent_row.className = parent_row.className + "Selected"; + } + } else { + if (parent_row.className.match("Selected")) { + parent_row.className = parent_row.className.replace("Selected", ""); + } + } +} + function toggleSelectRow(sender) { var parent_row = sender.parentNode.parentNode; diff --git a/tt-rss.css b/tt-rss.css index 9b5480263..e2802119b 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -927,7 +927,13 @@ ul.browseFeedList { height : 300px; overflow : auto; list-style-type : none; - margin-bottom : 5px; + margin : 0px 0px 5px 0px; + padding : 0px; +} + +ul.browseFeedList li { + margin : 0px; + padding : 0px; } span.subscribers {