]> git.wh0rd.org Git - tt-rss.git/commitdiff
prefs: further feedlist tweaks
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 10 Dec 2005 19:53:10 +0000 (20:53 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 10 Dec 2005 19:53:10 +0000 (20:53 +0100)
backend.php
tt-rss.css

index 9ffe267a69092a4e87a229267b340963864116b0..252004d15a12c464e336a128b29846a34d60efc0 100644 (file)
 
                        if (!get_pref($link, 'ENABLE_FEED_CATS')) {
                                print "<tr class=\"title\">
-                                                       <td width=\"3%\">&nbsp;</td>
-                                                       <td width=\"3%\">Select</td>
-                                                       <td width=\"20%\">
-                                                               <a href=\"javascript:updateFeedList('title')\">Title</a></td>
-                                                       <td width=\"20%\">
-                                                               <a href=\"javascript:updateFeedList('feed_url')\">Link</a>
-                                                       </td>";
-               
-                               print "
-                                       <td width=\"10%\">
-                                               <a href=\"javascript:updateFeedList('update_interval')\">Update Interval</a>
-                                       </td>
-                                       <td width=\"10%\">
-                                               <a href=\"javascript:updateFeedList('purge_interval')\">Purge Days</a>
-                                       </td>
-                               </tr>";
+                                       <td width='1%'>&nbsp;</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>
+                                       <td width='15%'><a href=\"javascript:updateFeedList('update_interval')\">Update Interval</a></td>
+                                       <td width='15%'><a href=\"javascript:updateFeedList('purge_interval')\">Purge Days</a></td></tr>";
                        }
                        
                        $lnum = 0;
                                        print "<tr><td colspan=\"6\" class=\"feedEditCat\">$edit_cat</td></tr>";
 
                                        print "<tr class=\"title\">
-                                                       <td width=\"3%\">&nbsp;</td>
-                                                       <td width=\"3%\">Select</td>
-                                                       <td width=\"20%\">
-                                                               <a href=\"javascript:updateFeedList('title')\">Title</a></td>
-                                                       <td width=\"20%\">
-                                                               <a href=\"javascript:updateFeedList('feed_url')\">Link</a>
-                                                       </td>
-                                                       <td width=\"10%\">
-                                                               <a href=\"javascript:updateFeedList('update_interval')\">Update Interval</a>
-                                                       </td>
-                                                       <td width=\"10%\">
-                                                               <a href=\"javascript:updateFeedList('purge_interval')\">Purge Days</a>
-                                                       </td></tr>";
+                                               <td width='1%'>&nbsp;</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>
+                                               <td width='15%'><a href=\"javascript:updateFeedList('update_interval')\">Update Interval</a></td>
+                                               <td width='15%'><a href=\"javascript:updateFeedList('purge_interval')\">Purge Days</a></td></tr>";
 
                                        $cur_cat_id = $cat_id;
                                }
                                } else {
                                        $feed_icon = "&nbsp;";
                                }
-                               print "<td align='center'>$feed_icon</td>";             
+                               print "<td class='feedIcon'>$feed_icon</td>";           
        
-                               print "<td><input onclick='toggleSelectRow(this);' 
+                               print "<td class='feedSelect'><input onclick='toggleSelectRow(this);' 
                                type=\"checkbox\" id=\"FRCHK-".$line["id"]."\"></td>";
 
                                $edit_title = truncate_string($edit_title, 40);
index a7a512760d25c0795d00ebf49d008b57758e92db..a8fabd012e02cd0066bca81535865fadae4c5122 100644 (file)
@@ -461,6 +461,14 @@ table.prefFeedList td.feedEditCat {
        padding : 5px 0px 5px 0px;
 }
 
+table.prefFeedList td.feedIcon {
+       text-align : right;
+}
+
+table.prefFeedList td.feedSelect {
+       text-align : center;
+}
+
 a.helpLink {
        color : #808080;
 }