]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 289594 - The table on the email settings page no longer is 100% wide. It also...
authorjake%bugzilla.org <>
Tue, 12 Apr 2005 05:52:50 +0000 (05:52 +0000)
committerjake%bugzilla.org <>
Tue, 12 Apr 2005 05:52:50 +0000 (05:52 +0000)
r=gerv, a=justdave

skins/standard/buglist.css
skins/standard/global.css
template/en/default/account/prefs/email.html.tmpl
template/en/default/list/table.html.tmpl

index f1f1d74dc9e42702630b045d9f2960f2b1b813b8..45e4937d9441cc22e00d92b48848c25f1cea7dfb 100644 (file)
@@ -32,14 +32,6 @@ table#form tr th { text-align: right; }
 table.bz_buglist td, table.bz_buglist th { 
 }
 
-/* For styling rows; by default striped white and gray */
-tr.bz_odd {
-    background-color: #F7F7F7;
-}
-
-tr.bz_even {
-}
-
 /* we use a first-child class and not the pseudo-class because IE
  * doesn't support it :-( */
 tr.bz_secure td.first-child { 
index 724a75f1118062565dc7926560bdc7aa1b490dec..0f274ea568c550b9edb1f8045dc9df4d711c8a0a 100644 (file)
@@ -293,6 +293,18 @@ body
 .bz_private { color: darkred ; background : #f3eeee ; }
 .bz_disabled { color: #a0a0a0 ; }
 
+.bz_row_odd
+{
+    background-color: #CCCCCC;
+    color: #000000;
+}
+
+.bz_row_even
+{
+    background-color: #FFFFFF;
+    color: #000000;
+}
+
 .bz_comment { background-color: #e0e0e0; }
 .bz_comment_hilite pre
 {
index f712bd8fa10db1a88dec09ebf354bf4e445cd8db..787cc8dfbdd8700496dd5a777156d4b21be3f116 100644 (file)
@@ -148,7 +148,7 @@ document.write('<input type="button" value="Disable All Mail" onclick="SetCheckb
       description = "Voter" },
 ] %]
 
-<table width="100%" border="1">
+<table class="bz_emailprefs" border="1">
   <tr>
     <td colspan="[% (useqacontact AND usevotes) ? '5' : 
                      ((useqacontact OR usevotes) ? '4' : '3') %]" 
@@ -171,7 +171,8 @@ document.write('<input type="button" value="Disable All Mail" onclick="SetCheckb
   </tr>
   
   [% FOREACH event = events %]  
-    <tr>
+    [% count = loop.count() %]
+    <tr class="bz_row_[% count % 2 == 1 ? "odd" : "even" %]">
       [% FOREACH relationship = relationships %]
       [% NEXT IF (relationship.id == constants.REL_QA AND NOT useqacontact) OR
                  (relationship.id == constants.REL_VOTER AND NOT usevotes) %]
index 1a95fecd3197c8ae7ae6a62f247ee4e04322d274..9ba10b6ecd277e820676c65e8ba06217fe716cb3 100644 (file)
              [%+ "bz_$bug.resolution" FILTER css_class_quote IF bug.resolution -%]
              [%+ "bz_secure" IF bug.secure_mode -%]
              [%+ "bz_secure_mode_$bug.secure_mode" FILTER css_class_quote IF bug.secure_mode -%]
-             [%+ count % 2 == 1 ? "bz_odd" : "bz_even" -%]
+             [%+ count % 2 == 1 ? "bz_row_odd" : "bz_row_even" -%]
              ">