From: Andrew Dolgov Date: Fri, 30 Dec 2005 04:22:07 +0000 (+0100) Subject: fix display of feed browser (probably closes #22) X-Git-Tag: schema_freeze_for_1.1.2~38 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b92e620990d9f76fd0f7573bac38bd54b2e7abd5;p=tt-rss.git fix display of feed browser (probably closes #22) --- diff --git a/backend.php b/backend.php index 4213b866..210adf71 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 b75da2bd..7854b07d 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 9b548026..e2802119 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 {