From 179d6f57f3456c9e4f2b8143479de92e128724c8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 27 Nov 2005 16:50:27 +0100 Subject: [PATCH] rework headlines list appearance --- backend.php | 18 +++++++++--------- tt-rss.css | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 9 deletions(-) diff --git a/backend.php b/backend.php index c6c0bbac..3ec93212 100644 --- a/backend.php +++ b/backend.php @@ -1050,24 +1050,21 @@ print ""; // onclick=\"javascript:view($id,$feed_id)\"> - print "$update_pic"; + print "$update_pic"; - print " + print " "; - print "$marked_pic"; - - print " - ".$line["updated"].""; + print "$marked_pic"; if ($line["feed_title"]) { - print "$content_link"; - print " + print "$content_link"; + print " ".$line["feed_title"].""; } else { - print "$content_link"; + print "$content_link"; if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) { $content_preview = truncate_string(strip_tags($line["content_preview"]), 100); @@ -1076,6 +1073,9 @@ print ""; } + $updated_fmt = date("M d, G:i", strtotime($line["updated"])); + print "$updated_fmt"; + print ""; ++$lnum; diff --git a/tt-rss.css b/tt-rss.css index 9eabfd92..12d1df15 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -705,3 +705,44 @@ span.contentPreview { color : gray; font-weight : normal; } + +td.hlMarkedPic { + width : 25px; + text-align : center; +} + +td.hlSelectRow, td.hlUpdatePic { + width : 25px; + text-align : center; +} + +td.hlUpdated { + font-size : small; + color : gray; + text-align : right; + width : 100px; +} + +/* +tr.even td.headlineContent, tr.evenUnread td.headlineContent { + display : block; + overflow : hidden; + height : 1em; + background-color : #f0f0f0; +} + +tr.odd td.headlineContent, tr.oddUnread td.headlineContent { + display : block; + overflow : hidden; + height : 1em; +} + +tr.oddSelected td.headlineContent, +tr.evenSelected td.headlineContent, +tr.oddUnreadSelected td.headlineContent, +tr.evenUnreadSelected td.headlineContent { + display : block; + overflow : hidden; + height : 1em; + background-color : #e0e0ff; +} */ -- 2.39.5