From: Andrew Dolgov Date: Sun, 27 Nov 2005 15:50:27 +0000 (+0100) Subject: rework headlines list appearance X-Git-Tag: schema_feature_freeze_for_1.1~64 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=179d6f57f3456c9e4f2b8143479de92e128724c8;p=tt-rss.git rework headlines list appearance --- 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; +} */