diff options
author | Guillaume (ioguix) de Rorthais | 2010-11-27 15:02:59 +0000 |
---|---|---|
committer | Guillaume (ioguix) de Rorthais | 2010-11-27 15:02:59 +0000 |
commit | 5c4d6f07d796e767c9ca5ec98ad9ee7fb31399be (patch) | |
tree | 056d70b9fb6f17156bdfb7a2e6b77c3ef735c719 | |
parent | 943531194410352da0847d2e766067d08f53ae8d (diff) |
Add CSS classes for rows without actual data
Needed to seperate data style to presentation style.
-rw-r--r-- | admin.php | 10 | ||||
-rw-r--r-- | classes/Misc.php | 2 | ||||
-rw-r--r-- | themes/cappuccino/global.css | 6 | ||||
-rw-r--r-- | themes/default/global.css | 6 |
4 files changed, 12 insertions, 12 deletions
@@ -493,8 +493,8 @@ echo "</tr>"; // Vacuum - echo "<tr>\n"; - echo "<td class=\"data1\" style=\"text-align: center; vertical-align: bottom\">\n"; + echo "<tr class=\"row1\">\n"; + echo "<td style=\"text-align: center; vertical-align: bottom\">\n"; echo "<form action=\"{$script}\" method=\"post\">\n"; echo "<p><input type=\"hidden\" name=\"action\" value=\"confirm_vacuum\" />\n"; @@ -508,7 +508,7 @@ echo "</td>\n"; // Analyze - echo "<td class=\"data1\" style=\"text-align: center; vertical-align: bottom\">\n"; + echo "<td style=\"text-align: center; vertical-align: bottom\">\n"; echo "<form action=\"{$script}\" method=\"post\">\n"; echo "<p><input type=\"hidden\" name=\"action\" value=\"confirm_analyze\" />\n"; echo $misc->form; @@ -523,7 +523,7 @@ // Cluster if ($data->hasRecluster()){ $disabled = ''; - echo "<td class=\"data1\" style=\"text-align: center; vertical-align: bottom\">\n"; + echo "<td style=\"text-align: center; vertical-align: bottom\">\n"; echo "<form action=\"{$script}\" method=\"post\">\n"; echo $misc->form; if ($type == 'table') { @@ -541,7 +541,7 @@ } // Reindex - echo "<td class=\"data1\" style=\"text-align: center; vertical-align: bottom\">\n"; + echo "<td style=\"text-align: center; vertical-align: bottom\">\n"; echo "<form action=\"{$script}\" method=\"post\">\n"; echo "<p><input type=\"hidden\" name=\"action\" value=\"confirm_reindex\" />\n"; echo $misc->form; diff --git a/classes/Misc.php b/classes/Misc.php index 4afcc06e..ee51a9cd 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -1781,7 +1781,7 @@ echo "<tr>\n"; echo "<th class=\"data\" style=\"text-align: left\" colspan=\"3\">{$lang['stractionsonmultiplelines']}</th>\n"; echo "</tr>\n"; - echo "<tr class=\"data1\">\n"; + echo "<tr class=\"row1\">\n"; echo "<td>"; echo "<a href=\"#\" onclick=\"javascript:checkAll(true);\">{$lang['strselectall']}</a> / "; echo "<a href=\"#\" onclick=\"javascript:checkAll(false);\">{$lang['strunselectall']}</a></td>\n"; diff --git a/themes/cappuccino/global.css b/themes/cappuccino/global.css index 11aa3597..f292a457 100644 --- a/themes/cappuccino/global.css +++ b/themes/cappuccino/global.css @@ -138,15 +138,15 @@ tr.data1, tr.data2, tr.data3 { tr.data1:hover, tr.data2:hover, tr.data3:hover { background-color: #c8c0a2; } -.data1 { +.row1, .data1 { background-color: #d8d2b9; text-align: left; } -.data2 { +.row2, .data2 { background-color: #ded9c9; text-align: left; } -.data3 {background-color: #d4c8a1} +.row3, .data3 {background-color: #d4c8a1} td.opbutton1, td.opbutton2 { color: #000000; cursor: pointer; diff --git a/themes/default/global.css b/themes/default/global.css index 7b3e7176..8281ba78 100644 --- a/themes/default/global.css +++ b/themes/default/global.css @@ -108,15 +108,15 @@ tr.data1, tr.data2, tr.data3 { tr.data1:hover, tr.data2:hover, tr.data3:hover { background-color: #DDD; } -.data1 { +.row1, .data1 { background-color: #F3F3E9; text-align: left; } -.data2 { +.row2, .data2 { background-color: #E6E6CC; text-align: left; } -.data3 {background-color: #F3F3E9} +.row3, .data3 {background-color: #F3F3E9} td.opbutton1 { color: #000000; border-top: 1px solid #FFFFFF; |