From 327a3bbe1a175888e1289ece51d492039018d74c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 10 Dec 2005 21:06:41 +0100 Subject: [PATCH] prefs: further feedlist tweaks (3) --- backend.php | 15 ++++++--------- prefs.js | 6 ++++-- tt-rss.css | 9 +++------ 3 files changed, 13 insertions(+), 17 deletions(-) diff --git a/backend.php b/backend.php index 252004d1..a018e0b8 100644 --- a/backend.php +++ b/backend.php @@ -1377,9 +1377,9 @@ print "
+ onclick=\"feedEditCancel()\" value=\"Cancel\">
"; + onclick=\"feedEditSave()\" value=\"Save\">"; return; } @@ -1649,7 +1649,6 @@ if (!get_pref($link, 'ENABLE_FEED_CATS')) { print " -   Select Title Link @@ -1684,7 +1683,6 @@ print "$edit_cat"; print " -   Select Title Link @@ -1702,12 +1700,11 @@ $icon_file = ICONS_DIR . "/$feed_id.ico"; if (file_exists($icon_file) && filesize($icon_file) > 0) { - $feed_icon = ""; + $feed_icon = ""; } else { - $feed_icon = " "; + $feed_icon = ""; } - print "$feed_icon"; +// print "$feed_icon"; print ""; @@ -1716,7 +1713,7 @@ $edit_link = truncate_string($edit_link, 60); print "" . - $edit_title . ""; + "$feed_icon $edit_title" . ""; print "" . $edit_link . ""; diff --git a/prefs.js b/prefs.js index c1e8ed35..f6917f68 100644 --- a/prefs.js +++ b/prefs.js @@ -604,13 +604,15 @@ function feedEditCancel() { return } + closeInfoBox(); + active_feed = false; notify("Operation cancelled."); - xmlhttp.open("GET", "backend.php?op=pref-feeds", true); +/* xmlhttp.open("GET", "backend.php?op=pref-feeds", true); xmlhttp.onreadystatechange=feedlist_callback; - xmlhttp.send(null); + xmlhttp.send(null); */ } diff --git a/tt-rss.css b/tt-rss.css index e0fb23d3..e4954035 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -238,6 +238,7 @@ ul.feedList img, img.tinyFeedIcon { margin : 0px 3px 0px 0px; width : 16px; height : 16px; + border-width : 0px; } h1 { @@ -442,11 +443,7 @@ input { /* preferences */ -table.prefFeedList tr.title td, table.prefFilterList tr.title td, - table.headlinesList tr.title td, table.prefLabelList tr.title td, - table.prefPrefsList tr.title td, - table.prefFeedCatList tr.title td, - table.prefUserList tr.title td { +tr.title td { font-weight : bold; border-width : 0px 0px 1px 0px; border-color : #f0f0f0; @@ -454,10 +451,10 @@ table.prefFeedList tr.title td, table.prefFilterList tr.title td, font-size : x-small; } + table.prefFeedList td.feedEditCat { font-size : large; font-weight : bold; - color : black; padding : 5px 0px 5px 0px; } -- 2.39.5