]> git.wh0rd.org Git - tt-rss.git/commitdiff
cleanup prefs tables display
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 11 Dec 2005 07:29:42 +0000 (08:29 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 11 Dec 2005 07:29:42 +0000 (08:29 +0100)
backend.php
tt-rss.css

index 6d1f4368174c1b09642c2a9e031a0dd0cd8f2ca8..efb583258fa9fec6b727970fcf4d60721d168eff 100644 (file)
 
                        if (!get_pref($link, 'ENABLE_FEED_CATS')) {
                                print "<tr class=\"title\">
-                                       <td width='5%' align='center'>Select</td>
+                                       <td width='5%' align='center'></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>
                                        print "<tr><td colspan=\"6\" class=\"feedEditCat\">$edit_cat</td></tr>";
 
                                        print "<tr class=\"title\">
-                                               <td width='5%' align='center'>Select</td>
+                                               <td width='5%' align='center'></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</tr>";
 
                                print "<tr class=\"title\">
-                                                       <td width=\"10%\">Select</td><td width=\"80%\">Title</td>
+                                                       <td width=\"5%\"></td><td width=\"80%\">Title</td>
                                                </tr>";
                                                
                                $lnum = 0;
                
                                        if (!$edit_cat_id || $subop != "editCat") {
                
-                                               print "<td><input onclick='toggleSelectRow(this);' 
+                                               print "<td align='center'><input onclick='toggleSelectRow(this);' 
                                                type=\"checkbox\" id=\"FCCHK-".$line["id"]."\"></td>";
                
                                                print "<td><a href=\"javascript:editFeedCat($cat_id);\">" . 
                                </td</tr>";
 
                        print "<tr class=\"title\">
-                                               <td width=\"5%\">Select</td>
+                                               <td align='center' width=\"5%\"></td>
                                                <td width=\"20%\">Filter expression</td>
                                                <td width=\"20%\">Feed</td>
                                                <td width=\"15%\">Match</td>
        
                                        if (!$line["description"]) $line["description"] = "[No description]";
        
-                                       print "<td><input onclick='toggleSelectRow(this);' 
+                                       print "<td align='center'><input onclick='toggleSelectRow(this);' 
                                        type=\"checkbox\" id=\"FICHK-".$line["id"]."\"></td>";
        
                                        print "<td><a href=\"javascript:editFilter($filter_id);\">" . 
                                </td</tr>";
 
                        print "<tr class=\"title\">
-                                               <td width=\"5%\">Select</td><td width=\"40%\">SQL expression
+                                               <td align='center' width=\"5%\"></td><td width=\"40%\">SQL expression
                                                <a class=\"helpLink\" href=\"javascript:displayHelpInfobox(1)\">(?)</a>
                                                </td>
                                                <td width=\"40%\">Caption</td></tr>";
        
                                        if (!$line["description"]) $line["description"] = "[No caption]";
        
-                                       print "<td><input onclick='toggleSelectRow(this);' 
+                                       print "<td align='center'><input onclick='toggleSelectRow(this);' 
                                        type=\"checkbox\" id=\"LICHK-".$line["id"]."\"></td>";
        
                                        print "<td><a href=\"javascript:editLabel($label_id);\">" . 
                                </td</tr>";
 
                print "<tr class=\"title\">
-                                       <td width=\"5%\">Select</td>
+                                       <td align='center' width=\"5%\"></td>
                                        <td width='30%'>Username</td>
                                        <td width='30%'>Access Level</td>
                                        <td width='30%'>Last login</td></tr>";
 
                        if ($uid == $_SESSION["uid"]) {
 
-                               print "<td><input disabled=\"true\" type=\"checkbox\" 
+                               print "<td align='center'><input disabled=\"true\" type=\"checkbox\" 
                                        id=\"UMCHK-".$line["id"]."\"></td>";
 
                                print "<td>".$line["login"]."</td>";            
 
                        } else if (!$edit_uid || $subop != "edit") {
 
-                               print "<td><input onclick='toggleSelectRow(this);' 
+                               print "<td align='center'><input onclick='toggleSelectRow(this);' 
                                type=\"checkbox\" id=\"UMCHK-$uid\"></td>";
 
                                print "<td><a href=\"javascript:editUser($uid);\">" . 
index e4954035cc4078c8476fafba1adf99a8f0c26929..d95f1315eb18cb079b68cb541e31eba6b70e7fb8 100644 (file)
@@ -444,13 +444,20 @@ input {
 /* preferences */
 
 tr.title td {
-       font-weight : bold;
        border-width : 0px 0px 1px 0px;
        border-color : #f0f0f0;
        border-style : solid;
        font-size : x-small;
+       color : gray;
 }
 
+tr.title td a {
+       color : gray;
+}
+
+tr.title td a:hover {
+       color : #5050aa;
+}
 
 table.prefFeedList td.feedEditCat {
        font-size : large;