diff options
author | Andrew Dolgov <[email protected]> | 2005-12-10 21:06:41 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-10 21:06:41 +0100 |
commit | 327a3bbe1a175888e1289ece51d492039018d74c (patch) | |
tree | a2fe50f2057332c3cf88c45a09d29b2ef0d4691f | |
parent | 841fe9a17e5cf2c6695f56de495e88701c6b2cb8 (diff) |
prefs: further feedlist tweaks (3)
-rw-r--r-- | backend.php | 15 | ||||
-rw-r--r-- | prefs.js | 6 | ||||
-rw-r--r-- | tt-rss.css | 9 |
3 files changed, 13 insertions, 17 deletions
diff --git a/backend.php b/backend.php index 252004d15..a018e0b8d 100644 --- a/backend.php +++ b/backend.php @@ -1377,9 +1377,9 @@ print "<div align='center'> <input type='submit' class='button' - onclick=\"closeInfoBox()\" value=\"Cancel\"> + onclick=\"feedEditCancel()\" value=\"Cancel\"> <input type=\"submit\" class=\"button\" - onclick=\"javascript:feedEditSave()\" value=\"Save\"></div>"; + onclick=\"feedEditSave()\" value=\"Save\"></div>"; return; } @@ -1649,7 +1649,6 @@ if (!get_pref($link, 'ENABLE_FEED_CATS')) { print "<tr class=\"title\"> - <td width='1%'> </td> <td width='5%' align='center'>Select</td> <td width='30%'><a href=\"javascript:updateFeedList('title')\">Title</a></td> <td width='30%'><a href=\"javascript:updateFeedList('feed_url')\">Link</a></td> @@ -1684,7 +1683,6 @@ print "<tr><td colspan=\"6\" class=\"feedEditCat\">$edit_cat</td></tr>"; print "<tr class=\"title\"> - <td width='1%'> </td> <td width='5%' align='center'>Select</td> <td width='30%'><a href=\"javascript:updateFeedList('title')\">Title</a></td> <td width='30%'><a href=\"javascript:updateFeedList('feed_url')\">Link</a></td> @@ -1702,12 +1700,11 @@ $icon_file = ICONS_DIR . "/$feed_id.ico"; if (file_exists($icon_file) && filesize($icon_file) > 0) { - $feed_icon = "<img width=\"16\" height=\"16\" - src=\"" . ICONS_URL . "/$feed_id.ico\">"; + $feed_icon = "<img class=\"tinyFeedIcon\" src=\"" . ICONS_URL . "/$feed_id.ico\">"; } else { - $feed_icon = " "; + $feed_icon = "<img class=\"tinyFeedIcon\" src=\"images/blank_icon.gif\">"; } - print "<td class='feedIcon'>$feed_icon</td>"; +// print "<td class='feedIcon'>$feed_icon</td>"; print "<td class='feedSelect'><input onclick='toggleSelectRow(this);' type=\"checkbox\" id=\"FRCHK-".$line["id"]."\"></td>"; @@ -1716,7 +1713,7 @@ $edit_link = truncate_string($edit_link, 60); print "<td><a href=\"javascript:editFeed($feed_id);\">" . - $edit_title . "</a></td>"; + "$feed_icon $edit_title" . "</a></td>"; print "<td><a href=\"javascript:editFeed($feed_id);\">" . $edit_link . "</a></td>"; @@ -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 e0fb23d3f..e4954035c 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; } |