]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 322402: Inline styling using bgcolor=x or color=x should be replaced by CSS styles
authorFrédéric Buclin <LpSolit@gmail.com>
Sun, 22 Dec 2013 14:51:18 +0000 (15:51 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 22 Dec 2013 14:51:18 +0000 (15:51 +0100)
r/a=justdave

47 files changed:
chart.cgi
skins/standard/admin.css
skins/standard/enter_bug.css
skins/standard/global.css
skins/standard/show_bug.css
template/en/default/account/profile-activity.html.tmpl
template/en/default/admin/classifications/del.html.tmpl
template/en/default/admin/classifications/edit.html.tmpl
template/en/default/admin/classifications/reclassify.html.tmpl
template/en/default/admin/classifications/select.html.tmpl
template/en/default/admin/components/confirm-delete.html.tmpl
template/en/default/admin/components/list.html.tmpl
template/en/default/admin/components/select-product.html.tmpl
template/en/default/admin/custom_fields/confirm-delete.html.tmpl
template/en/default/admin/custom_fields/list.html.tmpl
template/en/default/admin/fieldvalues/confirm-delete.html.tmpl
template/en/default/admin/fieldvalues/list.html.tmpl
template/en/default/admin/fieldvalues/select-field.html.tmpl
template/en/default/admin/flag-type/list.html.tmpl
template/en/default/admin/groups/list.html.tmpl
template/en/default/admin/keywords/list.html.tmpl
template/en/default/admin/milestones/confirm-delete.html.tmpl
template/en/default/admin/milestones/list.html.tmpl
template/en/default/admin/milestones/select-product.html.tmpl
template/en/default/admin/params/common.html.tmpl
template/en/default/admin/products/confirm-delete.html.tmpl
template/en/default/admin/products/edit.html.tmpl
template/en/default/admin/products/groupcontrol/edit.html.tmpl
template/en/default/admin/products/list-classifications.html.tmpl
template/en/default/admin/products/list.html.tmpl
template/en/default/admin/table.html.tmpl
template/en/default/admin/users/list.html.tmpl
template/en/default/admin/versions/confirm-delete.html.tmpl
template/en/default/admin/versions/list.html.tmpl
template/en/default/admin/versions/select-product.html.tmpl
template/en/default/attachment/confirm-delete.html.tmpl
template/en/default/attachment/show-multiple.html.tmpl
template/en/default/bug/create/create-guided.html.tmpl
template/en/default/bug/create/create.html.tmpl
template/en/default/bug/dependency-tree.html.tmpl
template/en/default/bug/navigate.html.tmpl
template/en/default/filterexceptions.pl
template/en/default/global/confirm-user-match.html.tmpl
template/en/default/global/messages.html.tmpl
template/en/default/reports/edit-series.html.tmpl
template/en/default/reports/keywords.html.tmpl
template/en/default/whine/mail.html.tmpl

index fa1213f89d45972be1fa23871c6e6f94a33d4071..d6f090afef99248e153e780ad40a965153b402f8 100755 (executable)
--- a/chart.cgi
+++ b/chart.cgi
@@ -291,6 +291,7 @@ sub edit {
 
     $vars->{'category'} = Bugzilla::Chart::getVisibleSeries();
     $vars->{'default'} = $series;
+    $vars->{'message'} = 'series_updated' if $vars->{'changes_saved'};
 
     print $cgi->header();
     $template->process("reports/edit-series.html.tmpl", $vars)
index c2b822bbeb1d36eaec5b62a5b717b66b5917b38d..7058bd1afee34fdd42fa7dcefdbaa3de22324acd 100644 (file)
@@ -6,6 +6,10 @@
  * defined by the Mozilla Public License, v. 2.0.
  */
 
+.column_header {
+    background-color: #66f;
+}
+
 .warningmessages, .criticalmessages {
     background-color: white;
     border-style: solid;
@@ -39,7 +43,7 @@ p.areyoureallyreallysure {
     font-weight: bold;
 }
 
-tr.param_disabled {
+tr.disabled {
     background-color: lightgrey;
 }
 
@@ -124,3 +128,15 @@ th.title {
 #edit_custom_field th.narrow_label {
     white-space: normal;
 }
+
+#flag_types_bugs tr th, #flag_types_attachments tr th {
+    text-align: left;
+}
+
+#flag_types_bugs .inactive, #flag_types_attachments .inactive {
+    color: #787878;
+}
+
+#flag_types_bugs .multiplicable, #flag_types_attachments .multiplicable {
+    display: block;
+}
index e0f1ab6562e6e7c43cf55d8b448c17732f2ace2c..2aa094626146b43ca7fc8b7551d8bde75266db41 100644 (file)
 #Create #field_container_component { width: 1px; }
 #Create #field_container_reporter  { width: 100%; }
 
-#Create .comment {
+#Create .comment, #description.comment {
     vertical-align: top;
     overflow: auto;
     color: green;
 }
+
+#description.comment {
+    margin-left: 10px;
+}
+
 #Create #comp_desc_container td { padding: 0; }
 #Create #comp_desc { height: 11ex; }
 #Create #os_guess_note {
 #possible_duplicates .yui-dt-col-update_token { white-space: nowrap; }
 
 form#Create #possible_duplicates td { vertical-align: middle; }
+
+
+/* CSS rules for the guided form. */
+
+.guided_form_field {
+    background-color: #ffc;
+}
+
+#somebugs {
+    width: 100%;
+    height: 500px;
+}
+
+.good {
+    color: #090;
+}
+
+.bad {
+    color: #900;
+}
index 3d3be8331ea7c5db5390e54238ec81c8d7ae588b..9396a63463cd01bb222a244cd79acbcf9024d715 100644 (file)
@@ -413,7 +413,8 @@ dl dl > dt {
     border: 1px solid #333333;
 }
 
-#attachment_table th, .bz_attach_footer, .bz_time_tracking_table th {
+#attachment_table th, .bz_attach_footer, .bz_time_tracking_table th,
+.dependency_tree_controls {
     background-color: #E0E0E0;
     color: black;
 }
@@ -422,7 +423,7 @@ dl dl > dt {
     border: 1px solid #333333;
 }
 
-.bz_attach_extra_info {
+.bz_attach_extra_info, .bz_info {
     font-size: smaller;
 }
 
index 7c002cc15f7c3af2ceb72a64e779e5c164ea7b4b..0c6534fc01311b752a773c6a4af976f4c70295e3 100644 (file)
@@ -47,6 +47,11 @@ table#flags {
     display: inline;
 }
 
+.navigation_link {
+    color: #777;
+    font-style: italic;
+}
+
 .bz_show_bug_column {
   vertical-align: top;
 }
index b8a58d59666f1246157eefea7f92499015d60d6a..ff989c6a5ec312ba68ce9094d6b4130a8ab4f55e 100644 (file)
@@ -28,6 +28,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = title
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% PROCESS admin/users/listselectvars.html.tmpl
index 83e0812abe5ef33144146cc312accaece7da436c..f99d29632f1e085f867ef32ce3cd3c92b6fe5bc8 100644 (file)
@@ -8,10 +8,11 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Delete classification"
+  style_urls = ['skins/standard/admin.css']
 %]
 
 <table border=1 cellpadding=4 cellspacing=0>
-<tr bgcolor="#6666ff">
+<tr class="column_header">
   <th valign="top" class="left">Part</th>
   <th valign="top" class="left">Value</th>
 
@@ -25,7 +26,7 @@
     [% IF classification.description %]
       [% classification.description FILTER html_light %]
     [% ELSE %]
-      <font color="red">description missing</font>
+      <span class="warning">description missing</span>
     [% END %]
   </td>
 
index fddcb3f96cebccb8892929dfe5dd442fcbb0845b..68fd046f225218da9b90947e9595a0bc559535de 100644 (file)
             [% FOREACH product = classification.products %]
               <tr>
                 <th valign=top>[% product.name FILTER html %]</th>
-                <td valign=top>
-                  [% IF product.description %]
-                    [% product.description FILTER html_light %]
-                  [% ELSE %]
-                    <font color="red">description missing</font>
-                  [% END %]
-                </td>
+                <td valign=top>[% product.description FILTER html_light %]</td>
               </tr>
             [% END %]
           </table>
         [% ELSE %]
-          <font color="red">none</font>
+          <span class="warning">none</span>
         [% END %]
       </td>
     </tr>
index 3e12d3e42ee0541876b187420c75579c0f2d1015..ac4a09b1403d85a2d4d2b6e407245757f4822ef4 100644 (file)
@@ -22,7 +22,7 @@
         [% IF classification.description %]
           [% classification.description FILTER html_light %]
         [% ELSE %]
-          <font color="red">description missing</font>
+          <span class="warning">description missing</span>
         [% END %]
       </td>
 
index 8a033a950c3fbd835440babec42358d4abcce951..02a3cd413454a2d4f7c9aa35ef12d44f43148dcf 100644 (file)
@@ -8,10 +8,11 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Select classification"
+  style_urls = ['skins/standard/admin.css']
 %]
 
 <table border=1 cellpadding=4 cellspacing=0>
-  <tr bgcolor="#6666ff">
+  <tr class="column_header">
     <th>Edit Classification ...</th>
     <th>Description</th>
     <th>Sortkey</th>
@@ -26,7 +27,7 @@
       [% IF cl.description %]
         [% cl.description FILTER html_light %]
       [% ELSE %]
-        <font color="red">none</font>
+        <span class="warning">none</span>
       [% END %]
       </td>
       <td valign="top">[% cl.sortkey FILTER html %]</td>
index bbd5ce200eeca28a26c8bb127a5620148edae7d0..6644acca8952a487bdf9fe12322040d0a81dd85a 100644 (file)
@@ -23,7 +23,7 @@ from '[% product.name FILTER html %]' product
 %]
 
 <table border="1" cellpadding="4" cellspacing="0">
-<tr bgcolor="#6666FF">
+<tr class="column_header">
   <th valign="top" class="left">Field</th>
   <th valign="top" class="left">Value</th>
 </tr>
@@ -114,7 +114,7 @@ from '[% product.name FILTER html %]' product
   </p>
   [% ELSE %]
 
-    <table border="0" cellpadding="20" width="70%" bgcolor="red"><tr><td>
+    <table class="confirmation"><tr><td>
 
       There [% IF comp.bug_count > 1 %] 
         are [% comp.bug_count %] [%+ terms.bugs %] 
index fc36bcdd2034d15ffb98642b99c9ac9be0a15d8c..949f56b1e8c33782c65b2913c4c4916962f65e6e 100644 (file)
@@ -16,6 +16,7 @@
                    '[% product.name FILTER html %]'[% END %]
 [% PROCESS global/header.html.tmpl
   title = title
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% edit_contentlink = BLOCK %]editcomponents.cgi?action=edit&amp;product=
index 55600d9cda686ee813e7b66d697b6421b05c164e..3651ec570bb43df56d1a31e9e182ee04234cdbd0 100644 (file)
@@ -13,6 +13,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Edit components for which product?"
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% columns = [
index 0b7c8814c7d222c8e7e288ab55ff8b67fd88132b..579806137db6faeaf835c01ce321fbd2955daba5 100644 (file)
@@ -24,7 +24,7 @@
 %]
 
 <table border="1" cellpadding="4" cellspacing="0">
-<tr bgcolor="#6666FF">
+<tr class="column_header">
   <th valign="top" class="left">Field</th>
   <th valign="top" class="left">Value</th>
 </tr>
index e6ec0c28312d0dd63f014464ff67b343a2a290a9..7d54926b006e0ccc3d9eac61e917f9e1cc096b77 100644 (file)
@@ -14,6 +14,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Custom Fields"
+  style_urls = ['skins/standard/admin.css']
   doc_section = "custom-fields.html"
 %]
 
index a37ff73d469f9cee557706abe0f246d6a77be00a..39c20e325e649ca9ca1bc586b39e4df860767ed4 100644 (file)
@@ -23,7 +23,7 @@
 %]
 
 <table border="1" cellpadding="4" cellspacing="0">
-<tr bgcolor="#6666FF">
+<tr class="column_header">
   <th valign="top" class="left">Field</th>
   <th valign="top" class="left">Value</th>
 </tr>
index 01c5717b86b4faf4051b26081e425557bd6a60d7..1096651310b0f28c271ba00901164b4e8dbb78da 100644 (file)
@@ -23,6 +23,7 @@
                    ([% field.name FILTER html %]) field[% END %]
 [% PROCESS global/header.html.tmpl
   title = title
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% edit_contentlink = BLOCK %]editvalues.cgi?action=edit&amp;field=
index 099eebab69c69b93815917c39ce87fc9e404e40d..b3e1d97b692adaeb413458142cc076d5b95c7b2d 100644 (file)
@@ -17,6 +17,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Edit values for which field?"
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% columns = [
index 7a0293866c23c520e1326be3d1d67e8af9bc6cc3..a3d26a0d0d7fd83b7c2b640c5d547d9a38e175dd 100644 (file)
 
 [% PROCESS global/header.html.tmpl
   title = 'Administer Flag Types'
-  style = "
-    table#flag_types_bugs tr th,
-    table#flag_types_attachments tr th { text-align: left; }
-    .inactive { color: #787878; }
-    .multiplicable { display: block; }
-  "
+  style_urls = ['skins/standard/admin.css']
   onload="var f = document.flagtype_form; selectProduct(f.product, f.component, null, null, '__All__');"
   javascript_urls=["js/productform.js"]
   doc_section = "flags-overview.html#flag-types"
@@ -98,7 +93,7 @@
 [% BLOCK display_flag_types %]
   <table id="flag_types_[% types_id FILTER html %]" cellspacing="0" cellpadding="4" border="1">
 
-    <tr>
+    <tr class="column_header">
       <th>Edit name ...</th>
       <th>Description</th>
       <th>Sortkey</th>
index af7da33a677e017c9965bb618e618418c274b670..ba61da3ee8fe7a9a1b29ce6132a28865a3d6e4f7 100644 (file)
@@ -19,6 +19,7 @@
 [% PROCESS global/header.html.tmpl
   title = "Edit Groups"
   subheader = "This lets you edit the groups available to put users in."
+  style_urls = ['skins/standard/admin.css']
   doc_section = "groups.html"
 %]
 
index ea98ca77393c6e05c0890c8e040b89124b64c537..d3391d9390cd6b3d5625b6fe2595b7fcdcf3993d 100644 (file)
@@ -16,6 +16,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Select keyword"
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% columns = [
index 7efee02b94ed03c0e76cd4d1d8fb3bf484c7de95..2318a76bb948dee60dd25878916b69dfa791caec 100644 (file)
@@ -22,7 +22,7 @@
 %]
 
 <table border="1" cellpadding="4" cellspacing="0">
-<tr bgcolor="#6666FF">
+<tr class="column_header">
   <th valign="top" class="left">Field</th>
   <th valign="top" class="left">Value</th>
 </tr>
index 16382799fc72b50648f37ef33cb549631f529f0c..20e4f6138513f54386b47a417b85ea5f6820bb69 100644 (file)
@@ -19,6 +19,7 @@
                    '[% product.name FILTER html %]'[% END %]
 [% PROCESS global/header.html.tmpl
   title = title
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% edit_contentlink = BLOCK %]editmilestones.cgi?action=edit&amp;product=
index 18bb88c7eb0d57c9112d1eb076a984617aa18cb4..ccc7e193b4b44f63b523f496812d684f27571a0b 100644 (file)
@@ -13,6 +13,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Edit milestones for which product?"
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% columns = [
index bf2675b162dc97761faf800832dea2b843f268e8..5f6f1bfc0fbfdd91cd773ae53285483ea478171b 100644 (file)
           [% END %]
         </select>
       [% ELSE %]
-        <font color="red">
+        <span class="warning">
           Unknown param type [% param.type FILTER html %]!!!
-        </font>
-      [% END %]  
+        </span>
+      [% END %]
       </p>
       [% UNLESS param.no_reset %]
         <p>
index f1d6aa429df953d02fad79d708990d5226af29aa..626513526a97736c515477fb54ed54cd5728dbdb 100644 (file)
@@ -25,7 +25,7 @@
 %]
 
 <table border="1" cellpadding="4" cellspacing="0">
-  <tr bgcolor="#6666FF">
+  <tr class="column_header">
     <th valign="top" class="left">Field</th>
     <th valign="top" class="left">Value</th>
   </tr>
@@ -42,7 +42,7 @@
         [% IF classification.description %]
           [% classification.description FILTER html_light %]
         [% ELSE %]
-          <span style="color: red">missing</span>
+          <span class="warning">missing</span>
         [% END %]
       </td>
     </tr>
   <tr>
     <td valign="top">Description:</td>
     [%# descriptions are intentionally not filtered to allow html content %]
-    <td valign="top">
-      [% IF product.description %]
-        [% product.description FILTER html_light %]
-      [% ELSE %]
-        <span style="color: red">missing</span>
-      [% END %]
-    </td>
+    <td valign="top">[% product.description FILTER html_light %]</td>
   </tr>
 
   [% IF Param('usetargetmilestone') %]
           [% FOREACH c = product.components %]
             <tr>
               <th>[% c.name FILTER html %]:</th>
-              [%# descriptions are intentionally not filtered to allow html content %]
-              <td>
-                [% IF c.description %]
-                  [% c.description FILTER html_light %]
-                [% ELSE %]
-                  <span style="color: red">missing</span>
-                [% END %]
-              </td>
+              <td>[% c.description FILTER html_light %]</td>
             </tr>
           [% END %]
         </table>
 
   [% ELSE %]
 
-    <table border="0" cellpadding="20" width="70%" bgcolor="red">
+    <table class="confirmation">
       <tr>
         <td>
           There
index 713f30aeba15599111b77ef133e1a94b86727dec..fdbbe42c2146e826d02a3f17418424647ad5c7f3 100644 (file)
           [% FOREACH component = product.components %]
             <a href="editcomponents.cgi?action=edit&product=
             [%- product.name FILTER uri %]&component=
-            [%- component.name FILTER uri %]">[% component.name FILTER html %]</a>:&nbsp;
-            [% IF component.description %]
-              [% component.description FILTER html_light %]
-            [% ELSE %]
-              <font color="red">description missing</font>
-            [% END %]
+            [%- component.name FILTER uri %]">[% component.name FILTER html %]</a>:
+            [% component.description FILTER html_light %]
             <br>
           [% END %]
         [% ELSE %]
-          <font color="red">missing</font>
+          <span class="warning">missing</span>
         [% END %]
       </td>
     </tr>
@@ -70,7 +66,7 @@ versions:</a>
             <br>
           [% END %]
         [% ELSE %]
-          <font color="red">missing</font>
+          <span class="warning">missing</span>
         [% END %]
       </td>
     </tr>
@@ -87,7 +83,7 @@ versions:</a>
             <br>
             [% END %]
           [% ELSE %]
-            <font color="red">missing</font>
+            <span class="warning">missing</span>
           [% END %]
         </td>
       </tr>
index 1ba600271a7d7bb2aab17f2c89877b80eca499c8..62e1439adac8c7ac980fc388660688d9cf1d0ebd 100644 (file)
@@ -10,7 +10,8 @@
     Edit Group Controls for [% product.name FILTER html %]
 [% END %]
 [% PROCESS global/header.html.tmpl 
-   title = title 
+  title = title
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% display_headers = 1 %]
@@ -24,7 +25,7 @@
       <input type="hidden" name="token" value="[% token FILTER html %]">
 
       <table id="form" cellspacing="0" cellpadding="4" border="1">
-        <tr bgcolor="#6666ff">
+        <tr class="column_header">
           <th>Group</th>
           <th>Entry</th>
           <th>MemberControl</th>
@@ -37,7 +38,7 @@
         </tr>
   [% END %]
   [% IF !group.group.isactive %]
-    <tr bgcolor="#bbbbbb">
+    <tr class="disabled">
       <td>[% group.group.name FILTER html %]</td>
       <td align="center" colspan="7">Disabled</td>
       <td>[% group.bug_count FILTER html %]</td>
index ea32a00570599e1d1c0b7dcfdeba487fd50c8351..a13d2be0f192d1b7c3df112efc7795d0e7910703 100644 (file)
@@ -16,6 +16,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Select Classification"
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% columns = [
index 364cf79e9c30fa2b8905972b293664efbc1bbb25..d09a552e230e66f9b838bb9aaf446d3e91d2cf5e 100644 (file)
@@ -26,6 +26,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Select product $classification_title"
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% columns = [
index abc0e5775cc748c5217cdeb8b064271ccd3696a1..b8492dcb2377a8d89aa3afe3432ffa8255e86241 100644 (file)
@@ -68,7 +68,7 @@
 [%###################  TABLE HEADER   ######################%]
 
 <table id="admin_table" border="1" cellpadding="4" cellspacing="0">
-  <tr bgcolor="#6666FF">
+  <tr class="column_header">
     [% FOREACH c = columns %]
       [%# Default to align left for headers %]
       <th style="text-align:[% (c.align || 'left') FILTER html %];">
index ff23b77273a5c4491e27afbd63847fc3bf8edb7d..38f36f57fc61d3de64b3513df71afa3bc9e24d8e 100644 (file)
@@ -16,7 +16,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Select user"
-  style_urls = ['skins/standard/editusers.css']
+  style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css']
   doc_section = "useradmin.html"
 %]
 
index 85c2976471fdd57a7b645c004384ed4afe765cd0..ca5b4ef21a60fede6b0ee4157f548e9a4d6dded3 100644 (file)
@@ -22,7 +22,7 @@
 %]
 
 <table border="1" cellpadding="4" cellspacing="0">
-<tr bgcolor="#6666FF">
+<tr class="column_header">
   <th valign="top" class="left">Field</th>
   <th valign="top" class="left">Value</th>
 </tr>
index 1cf3e864390b14d87d770eea033bea643ad9c5f6..ee69ee03edbdf19f97a7f2efb79c900e47ed4567 100644 (file)
@@ -15,6 +15,7 @@
                    '[% product.name FILTER html %]'[% END %]
 [% PROCESS global/header.html.tmpl
   title = title
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% edit_contentlink = BLOCK %]editversions.cgi?action=edit&amp;product=
index e40e4086c288e71241a2cadf5367b2a458083a80..e19aa18cc2ae5522f9a7a61805d4bab1bd1afeb4 100644 (file)
@@ -13,6 +13,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = "Edit versions for which product?"
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% columns = [
index 9eaaa7b28542e61e180694b24d619a088aca3754..c03d58641f3bfbe7fbbd0efdd775d8d03b24387a 100644 (file)
 
 [% PROCESS global/header.html.tmpl
   title = title
+  style_urls = ['skins/standard/admin.css']
   doc_section = "attachments.html"
 %]
 
 <table border="1" cellpadding="4" cellspacing="0">
-  <tr bgcolor="#6666FF">
+  <tr class="column_header">
     <th valign="top" class="left">Field</th>
     <th valign="top" class="left">Value</th>
   </tr>
@@ -55,7 +56,7 @@
 
 <h2>Confirmation</h2>
 
-<table border="0" cellpadding="20" width="70%" bgcolor="red">
+<table class="confirmation">
   <tr>
     <td>
       The content of this attachment will be deleted in an <b>irreversible</b> way.
index 8791e0dfeec4f8d3a7804693f1e93fbc6872ac5b..be946ee89fa5dce557c42758e93709bca6e4f740 100644 (file)
@@ -33,7 +33,7 @@
   <div align="center">
   <table class="attachment_info" cellspacing="0" cellpadding="4" border="1" width="75%">
     <tr>
-      <td valign="top" bgcolor="#cccccc" colspan="6">
+      <td colspan="6" class="bz_attach_footer">
         <big><b>Attachment #[% a.id %]</b></big>
       </td>
     </tr>
index 68bb95b3d69c623e92342c9c64488e4f01fcf2c8..181b76e62f2da510d42eda2902284ef1d840b971 100644 (file)
 [% PROCESS global/header.html.tmpl
    title = "Enter $terms.ABug"
    onload = "PutDescription()"
-   style = "#somebugs { width: 100%; height: 500px }"
+   style_urls = ['skins/standard/enter_bug.css']
  %]
 
-[% style = "" %]
-
-<p>
-  <font color="red">
-    This is a template used on mozilla.org.  This template, and the
-    comment-guided.txt.tmpl template that formats the data submitted via 
-    the form in this template, are included as a demo of what it's
-    possible to do with custom templates in general, and custom [% terms.bug %]
-    entry templates in particular. As much of the text will not apply, 
-    you should alter it 
-    if you want to use this form on your [% terms.Bugzilla %] installation.
-  </font>
-</p>
-
-[% tablecolour = "#FFFFCC" %]
-
 [%# This script displays the descriptions for selected components. %]
 <script type="text/javascript">
 var descriptions = [
@@ -56,12 +40,12 @@ function PutDescription() {
 
 <h3 id="step1">Step 1 of 3 - has your [% terms.bug %] already been reported?</h3>
 
+<p class="warning">
+  Please don't skip this step - half of all [% terms.bugs %] filed are
+  reported already.
 <p>
-  <font color="red">Please don't skip this step - half of all 
-  [% terms.bugs %] filed are
-  reported already.</font>
-    Check the two lists of frequently-reported [% terms.bugs %]:
-</p>
+
+<p>Check the two lists of frequently-reported [% terms.bugs %]:</p>
 
 [%# Include other products if sensible %]
 [% IF product.name == "Firefox" %]
@@ -85,7 +69,7 @@ function PutDescription() {
 <p>
     If your [% terms.bug %] isn't there, search [% terms.Bugzilla %] by entering
     a few key words having to do with your [% terms.bug %] in this box.
-    For example: <tt><b>pop3 mail</b></tt> or <tt><b>copy paste</b></tt>.
+    For example: <kbd><b>pop3 mail</b></kbd> or <kbd><b>copy paste</b></kbd>.
     The results will appear above.
   </p>
 
@@ -114,7 +98,7 @@ function PutDescription() {
 
 <p>
   Look through the search results. If you get the
-  <tt><b>[% terms.zeroSearchResults %]</b></tt> message, [% terms.Bugzilla %]
+  <kbd><b>[% terms.zeroSearchResults %]</b></kbd> message, [% terms.Bugzilla %]
   found no [% terms.bugs %] that
   match. Check for typing mistakes, or try fewer or different keywords.
   If you find [% terms.abug %] that looks the same as yours, please add
@@ -140,7 +124,7 @@ function PutDescription() {
 
 <table valign="top" cellpadding="5" cellspacing="5" border="0">
 
-  <tr bgcolor="[% tablecolour %]">
+  <tr class="guided_form_field">
     <td align="right" valign="top">
       <b>Product</b>
     </td>
@@ -174,8 +158,7 @@ function PutDescription() {
             </select>
           </td>
           <td valign="top" width="100%">
-              <div id="description" style="color: green; margin-left: 10px;
-                                           height: 5em; overflow: auto;">
+              <div id="description" class="comment">
                 <script type="text/javascript">
                   if ((document.getElementById) && (document.body.innerHTML)) {
                     document.write("\
@@ -202,7 +185,7 @@ function PutDescription() {
       are based on which are most common in the b.m.o database %]
   [% rep_platform = [ "PC", "Macintosh", "All", "Other" ] %]
 
-  <tr bgcolor="[% tablecolour %]">
+  <tr class="guided_form_field">
     <td align="right" valign="top">
       <b>[% field_descs.rep_platform FILTER html %]</b>
     </td>
@@ -233,7 +216,7 @@ function PutDescription() {
     [% buildid = cgi.param("buildid") %]
   [% END %]
 
-  <tr bgcolor="[% tablecolour %]">
+  <tr class="guided_form_field">
     <td align="right" valign="top">
       <b>Build Identifier</b>
     </td>
@@ -265,7 +248,7 @@ function PutDescription() {
    </td>
   </tr>
 
-  <tr bgcolor="[% tablecolour %]">
+  <tr class="guided_form_field">
     <td align="right" valign="top">
       <b>Summary</b>
     </td>
@@ -277,14 +260,14 @@ function PutDescription() {
         Please be descriptive and use lots of keywords.
       </p>
       <p>
-        <tt>
-          <font color="#990000">Bad example</font>: mail crashed
-        </tt>
+        <kbd>
+          <span class="bad">Bad example</span>: mail crashed
+        </kbd>
         <br>
-        <tt>
-          <font color="#009900">Good example</font>:
+        <kbd>
+          <span class="good">Good example</span>:
           crash if I close the mail window while checking for new POP mail
-        </tt>
+        </kbd>
       </p>
     </td>
   </tr>
@@ -304,22 +287,22 @@ function PutDescription() {
         as specific as possible about what is wrong.
       </p>
       <p>
-        <tt>
-          <font color="#990000">Bad example</font>: Mozilla crashed.
+        <kbd>
+          <span class="bad">Bad example</span>: Mozilla crashed.
           You suck!
-        </tt>
+        </kbd>
         <br>
-        <tt>
-          <font color="#009900">Good example</font>: After a crash which
+        <kbd>
+          <span class="good">Good example</span>: After a crash which
           happened when I was sorting in the Bookmark Manager,<br> all of my
           top-level bookmark folders beginning with the letters Q to Z are 
           no longer present.
-        </tt>
+        </kbd>
       </p>
     </td>
   </tr>
 
-  <tr bgcolor="[% tablecolour %]">
+  <tr class="guided_form_field">
     <td align="right" valign="top">
       <b>Reproducibility</b>
     </td>
@@ -359,7 +342,7 @@ function PutDescription() {
     </td>
   </tr>
 
-  <tr bgcolor="[% tablecolour %]">
+  <tr class="guided_form_field">
     <td valign="top" align="right">
       <b>Actual Results</b>
     </td>
@@ -391,7 +374,7 @@ function PutDescription() {
     </td>
   </tr>
 
-  <tr bgcolor="[% tablecolour %]">
+  <tr class="guided_form_field">
     <td valign="top" align="right">
       <b>Additional Information</b>
     </td>
@@ -412,13 +395,13 @@ function PutDescription() {
         testcase</b>, should be added
         using the "Add an Attachment" link on the [% terms.bug %], after
         it is filed. If you believe that it's relevant, please also include
-        your build configuration, obtained by typing <tt>about:buildconfig</tt>
+        your build configuration, obtained by typing <kbd>about:buildconfig</kbd>
         into your URL bar.
         <br>
         <br>
         If you are reporting a crash, note the module in
-        which the software crashed (e.g., <tt>Application Violation in
-        gkhtml.dll</tt>).
+        which the software crashed (e.g., <kbd>Application Violation in
+        gkhtml.dll</kbd>).
       </p>
     </td>
   </tr>
index f4c60ad24c0dd46162e536f0de90f1df7afe6367..6adf75102174b23bdfdf4c4d1f4604109aa1be70 100644 (file)
@@ -638,9 +638,9 @@ TUI_hide_default('attachment_text_field');
           [%+ terms.bug %]:
         </strong>
       <br>
-      <font size="-1">
+      <span class="bz_info">
         (Leave all boxes unchecked to make this a public [% terms.bug %].)
-      </font>
+      </span>
       <br>
       <br>
 
index a4bb0e67216e70d8a3e0e20cc6d3b6c883853b4c..369326d48ba15f929921503f1064818caa5ea153 100644 (file)
 [%###########################################################################%]
 
 [% BLOCK depthControlToolbar %]
- <table cellpadding="3" border="0" cellspacing="0" bgcolor="#e0e0e0">
+ <table class="dependency_tree_controls">
    <tr>
    [%# Hide/show resolved button
        Swaps text depending on the state of hide_resolved %]
index 13564a8eae5287958f34e25b09afaae807346952..b5e3ba7a2d635fddfc408b135352885bbe666416 100644 (file)
@@ -37,7 +37,7 @@
              [%- last_bug_list.first FILTER uri %]&amp;list_id=
              [%- my_search.id FILTER uri %]">First</a>
   [% ELSE %]
-    <i><font color="#777777">First</font></i>
+    <span class="navigation_link">First</span>
   [% END %]
 
   [% IF this_bug_idx + 1 < last_bug_list.size %]
@@ -45,7 +45,7 @@
              [%- last_bug_list.last FILTER uri %]&amp;list_id=
              [%- my_search.id FILTER uri %]">Last</a>
   [% ELSE %]
-    <i><font color="#777777">Last</font></i>
+    <span class="navigation_link">Last</span>
   [% END %]
 
   [% IF this_bug_idx > 0 %]
@@ -54,7 +54,7 @@
              [%- last_bug_list.$prev_bug FILTER uri %]&amp;list_id=
              [%- my_search.id FILTER uri %]">Prev</a>
   [% ELSE %]
-    <i><font color="#777777">Prev</font></i>
+    <span class="navigation_link">Prev</span>
   [% END %]
 
   [% IF this_bug_idx + 1 < last_bug_list.size %]
@@ -63,7 +63,7 @@
              [%- last_bug_list.$next_bug FILTER uri %]&amp;list_id=
              [%- my_search.id FILTER uri %]">Next</a>
   [% ELSE %]
-    <i><font color="#777777">Next</font></i>
+    <span class="navigation_link">Next</span>
   [% END %]
 
   &nbsp;&nbsp;<a href="buglist.cgi?regetlastlist=
index 2270f0919f8ff3615cf9e4696067e76c985a4fb9..f32aedfb59bc4b2d64530a420491e9ea31d97ce9 100644 (file)
 ],
 
 'bug/create/create-guided.html.tmpl' => [
-  'tablecolour',
   'sel',
   'productstring', 
 ],
index c31567a9cc5bdf08c974d88c009113f8b7f37ddc..f02ea88ae6a3269dc87abb7370e6a51a88bbb313 100644 (file)
             [% IF query.value.users.size %]
                 [% IF query.value.users.size > 1 %]
                   [% IF query.value.status == 'fail' %]
-                    <font color="#FF0000">
+                    <span class="warning">
                       matches multiple users.
-                    </font>
+                    </span>
                     Please go back and try again with a more specific
                     name/address.
                   [% ELSE %]
                   <b>[% query.value.users.0.identity FILTER html %]</b>
                 [% END %]
             [% ELSE %]
+              <span class="warning">
                 [% IF query.key.length < 3 %]
-                  <font color="#FF0000">was too short for substring match
-                  (minimum 3 characters)</font>
+                  was too short for substring match (minimum 3 characters)
                 [% ELSE %]
-                  <font color="#FF0000">did not match anything</font>
+                  did not match anything
                 [% END %]
+              </span>
             [% END %]
             </div>
         [% END %]
index 8851986681e8450d3b3b9db93783c7d2d0e02c6a..59614c5a521223ccc083d5add54669759541f03d 100644 (file)
       [%+ series.name FILTER html %]</em>
       has been deleted.
 
+  [% ELSIF message_tag == "series_updated" %]
+    [% title = "Series Updated" %]
+    The series <em>[% default.category FILTER html %] /
+    [%+ default.subcategory FILTER html %] /
+    [%+ default.name FILTER html %]</em> has been updated.
+
   [% ELSIF message_tag == "shutdown" %]
     [% title = "$terms.Bugzilla is Down" %]
     [% Param("shutdownhtml") %]
index c789262cace6c41d48f048e53e0839eb3620dab0..ac0b1ea307e4f31241c6e4625b1a03c53346a164 100644 (file)
 
 [% PROCESS global/header.html.tmpl %]
 
-[% IF changes_saved %]
-  <p>
-    <font color="red">
-      Series updated.
-    </font>
-  </p>
-[% END %]
-
 <form method="get" action="chart.cgi" name="chartform">
   
   [% PROCESS reports/series.html.tmpl 
index 54f31ecdf7e38e4d8145e9cf395723bf82a395d6..b9a2fd7954a2ebecbee744bc8f1491bdacf80948 100644 (file)
@@ -17,6 +17,7 @@
 
 [% PROCESS global/header.html.tmpl
   title = "$terms.Bugzilla Keyword Descriptions"
+  style_urls = ['skins/standard/admin.css']
 %]
 
 [% FOREACH keyword = keywords %]
@@ -26,7 +27,7 @@
     [% END %]
 
     <table border="1" cellpadding="4" cellspacing="0">
-      <tr bgcolor="#6666FF">
+      <tr class="column_header">
         <th>Name</th>
         <th>Description</th>
         <th>Open [% terms.Bugs %]</th>
index 21784299e646862ae95b2eb573ff6139235de690..f3b148f80261928c806551be9909c94240df2c9f 100644 (file)
@@ -25,7 +25,7 @@
       [[% terms.Bugzilla %]] [% subject FILTER html %]
     </title>
   </head>
-  <body bgcolor="#FFFFFF">
+  <body>
 
     <pre>
       [% body FILTER html %]