Commit ec486265 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 322402: Inline styling using bgcolor=x or color=x should be replaced by CSS styles

r/a=justdave
parent 61858962
...@@ -291,6 +291,7 @@ sub edit { ...@@ -291,6 +291,7 @@ sub edit {
$vars->{'category'} = Bugzilla::Chart::getVisibleSeries(); $vars->{'category'} = Bugzilla::Chart::getVisibleSeries();
$vars->{'default'} = $series; $vars->{'default'} = $series;
$vars->{'message'} = 'series_updated' if $vars->{'changes_saved'};
print $cgi->header(); print $cgi->header();
$template->process("reports/edit-series.html.tmpl", $vars) $template->process("reports/edit-series.html.tmpl", $vars)
......
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
* defined by the Mozilla Public License, v. 2.0. * defined by the Mozilla Public License, v. 2.0.
*/ */
.column_header {
background-color: #66f;
}
.warningmessages, .criticalmessages { .warningmessages, .criticalmessages {
background-color: white; background-color: white;
border-style: solid; border-style: solid;
...@@ -39,7 +43,7 @@ p.areyoureallyreallysure { ...@@ -39,7 +43,7 @@ p.areyoureallyreallysure {
font-weight: bold; font-weight: bold;
} }
tr.param_disabled { tr.disabled {
background-color: lightgrey; background-color: lightgrey;
} }
...@@ -124,3 +128,15 @@ th.title { ...@@ -124,3 +128,15 @@ th.title {
#edit_custom_field th.narrow_label { #edit_custom_field th.narrow_label {
white-space: normal; 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;
}
...@@ -24,11 +24,16 @@ ...@@ -24,11 +24,16 @@
#Create #field_container_component { width: 1px; } #Create #field_container_component { width: 1px; }
#Create #field_container_reporter { width: 100%; } #Create #field_container_reporter { width: 100%; }
#Create .comment { #Create .comment, #description.comment {
vertical-align: top; vertical-align: top;
overflow: auto; overflow: auto;
color: green; color: green;
} }
#description.comment {
margin-left: 10px;
}
#Create #comp_desc_container td { padding: 0; } #Create #comp_desc_container td { padding: 0; }
#Create #comp_desc { height: 11ex; } #Create #comp_desc { height: 11ex; }
#Create #os_guess_note { #Create #os_guess_note {
...@@ -53,3 +58,23 @@ ...@@ -53,3 +58,23 @@
#possible_duplicates .yui-dt-col-update_token { white-space: nowrap; } #possible_duplicates .yui-dt-col-update_token { white-space: nowrap; }
form#Create #possible_duplicates td { vertical-align: middle; } 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;
}
...@@ -413,7 +413,8 @@ dl dl > dt { ...@@ -413,7 +413,8 @@ dl dl > dt {
border: 1px solid #333333; 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; background-color: #E0E0E0;
color: black; color: black;
} }
...@@ -422,7 +423,7 @@ dl dl > dt { ...@@ -422,7 +423,7 @@ dl dl > dt {
border: 1px solid #333333; border: 1px solid #333333;
} }
.bz_attach_extra_info { .bz_attach_extra_info, .bz_info {
font-size: smaller; font-size: smaller;
} }
......
...@@ -47,6 +47,11 @@ table#flags { ...@@ -47,6 +47,11 @@ table#flags {
display: inline; display: inline;
} }
.navigation_link {
color: #777;
font-style: italic;
}
.bz_show_bug_column { .bz_show_bug_column {
vertical-align: top; vertical-align: top;
} }
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
%] %]
[% PROCESS admin/users/listselectvars.html.tmpl [% PROCESS admin/users/listselectvars.html.tmpl
......
...@@ -8,10 +8,11 @@ ...@@ -8,10 +8,11 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Delete classification" title = "Delete classification"
style_urls = ['skins/standard/admin.css']
%] %]
<table border=1 cellpadding=4 cellspacing=0> <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">Part</th>
<th valign="top" class="left">Value</th> <th valign="top" class="left">Value</th>
...@@ -25,7 +26,7 @@ ...@@ -25,7 +26,7 @@
[% IF classification.description %] [% IF classification.description %]
[% classification.description FILTER html_light %] [% classification.description FILTER html_light %]
[% ELSE %] [% ELSE %]
<font color="red">description missing</font> <span class="warning">description missing</span>
[% END %] [% END %]
</td> </td>
......
...@@ -26,18 +26,12 @@ ...@@ -26,18 +26,12 @@
[% FOREACH product = classification.products %] [% FOREACH product = classification.products %]
<tr> <tr>
<th valign=top>[% product.name FILTER html %]</th> <th valign=top>[% product.name FILTER html %]</th>
<td valign=top> <td valign=top>[% product.description FILTER html_light %]</td>
[% IF product.description %]
[% product.description FILTER html_light %]
[% ELSE %]
<font color="red">description missing</font>
[% END %]
</td>
</tr> </tr>
[% END %] [% END %]
</table> </table>
[% ELSE %] [% ELSE %]
<font color="red">none</font> <span class="warning">none</span>
[% END %] [% END %]
</td> </td>
</tr> </tr>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
[% IF classification.description %] [% IF classification.description %]
[% classification.description FILTER html_light %] [% classification.description FILTER html_light %]
[% ELSE %] [% ELSE %]
<font color="red">description missing</font> <span class="warning">description missing</span>
[% END %] [% END %]
</td> </td>
......
...@@ -8,10 +8,11 @@ ...@@ -8,10 +8,11 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Select classification" title = "Select classification"
style_urls = ['skins/standard/admin.css']
%] %]
<table border=1 cellpadding=4 cellspacing=0> <table border=1 cellpadding=4 cellspacing=0>
<tr bgcolor="#6666ff"> <tr class="column_header">
<th>Edit Classification ...</th> <th>Edit Classification ...</th>
<th>Description</th> <th>Description</th>
<th>Sortkey</th> <th>Sortkey</th>
...@@ -26,7 +27,7 @@ ...@@ -26,7 +27,7 @@
[% IF cl.description %] [% IF cl.description %]
[% cl.description FILTER html_light %] [% cl.description FILTER html_light %]
[% ELSE %] [% ELSE %]
<font color="red">none</font> <span class="warning">none</span>
[% END %] [% END %]
</td> </td>
<td valign="top">[% cl.sortkey FILTER html %]</td> <td valign="top">[% cl.sortkey FILTER html %]</td>
......
...@@ -23,7 +23,7 @@ from '[% product.name FILTER html %]' product ...@@ -23,7 +23,7 @@ from '[% product.name FILTER html %]' product
%] %]
<table border="1" cellpadding="4" cellspacing="0"> <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">Field</th>
<th valign="top" class="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
...@@ -114,7 +114,7 @@ from '[% product.name FILTER html %]' product ...@@ -114,7 +114,7 @@ from '[% product.name FILTER html %]' product
</p> </p>
[% ELSE %] [% ELSE %]
<table border="0" cellpadding="20" width="70%" bgcolor="red"><tr><td> <table class="confirmation"><tr><td>
There [% IF comp.bug_count > 1 %] There [% IF comp.bug_count > 1 %]
are [% comp.bug_count %] [%+ terms.bugs %] are [% comp.bug_count %] [%+ terms.bugs %]
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
'[% product.name FILTER html %]'[% END %] '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
%] %]
[% edit_contentlink = BLOCK %]editcomponents.cgi?action=edit&amp;product= [% edit_contentlink = BLOCK %]editcomponents.cgi?action=edit&amp;product=
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Edit components for which product?" title = "Edit components for which product?"
style_urls = ['skins/standard/admin.css']
%] %]
[% columns = [ [% columns = [
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
%] %]
<table border="1" cellpadding="4" cellspacing="0"> <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">Field</th>
<th valign="top" class="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Custom Fields" title = "Custom Fields"
style_urls = ['skins/standard/admin.css']
doc_section = "custom-fields.html" doc_section = "custom-fields.html"
%] %]
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
%] %]
<table border="1" cellpadding="4" cellspacing="0"> <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">Field</th>
<th valign="top" class="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
([% field.name FILTER html %]) field[% END %] ([% field.name FILTER html %]) field[% END %]
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
%] %]
[% edit_contentlink = BLOCK %]editvalues.cgi?action=edit&amp;field= [% edit_contentlink = BLOCK %]editvalues.cgi?action=edit&amp;field=
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Edit values for which field?" title = "Edit values for which field?"
style_urls = ['skins/standard/admin.css']
%] %]
[% columns = [ [% columns = [
......
...@@ -10,12 +10,7 @@ ...@@ -10,12 +10,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = 'Administer Flag Types' title = 'Administer Flag Types'
style = " style_urls = ['skins/standard/admin.css']
table#flag_types_bugs tr th,
table#flag_types_attachments tr th { text-align: left; }
.inactive { color: #787878; }
.multiplicable { display: block; }
"
onload="var f = document.flagtype_form; selectProduct(f.product, f.component, null, null, '__All__');" onload="var f = document.flagtype_form; selectProduct(f.product, f.component, null, null, '__All__');"
javascript_urls=["js/productform.js"] javascript_urls=["js/productform.js"]
doc_section = "flags-overview.html#flag-types" doc_section = "flags-overview.html#flag-types"
...@@ -98,7 +93,7 @@ ...@@ -98,7 +93,7 @@
[% BLOCK display_flag_types %] [% BLOCK display_flag_types %]
<table id="flag_types_[% types_id FILTER html %]" cellspacing="0" cellpadding="4" border="1"> <table id="flag_types_[% types_id FILTER html %]" cellspacing="0" cellpadding="4" border="1">
<tr> <tr class="column_header">
<th>Edit name ...</th> <th>Edit name ...</th>
<th>Description</th> <th>Description</th>
<th>Sortkey</th> <th>Sortkey</th>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Edit Groups" title = "Edit Groups"
subheader = "This lets you edit the groups available to put users in." subheader = "This lets you edit the groups available to put users in."
style_urls = ['skins/standard/admin.css']
doc_section = "groups.html" doc_section = "groups.html"
%] %]
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Select keyword" title = "Select keyword"
style_urls = ['skins/standard/admin.css']
%] %]
[% columns = [ [% columns = [
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
%] %]
<table border="1" cellpadding="4" cellspacing="0"> <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">Field</th>
<th valign="top" class="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
'[% product.name FILTER html %]'[% END %] '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
%] %]
[% edit_contentlink = BLOCK %]editmilestones.cgi?action=edit&amp;product= [% edit_contentlink = BLOCK %]editmilestones.cgi?action=edit&amp;product=
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Edit milestones for which product?" title = "Edit milestones for which product?"
style_urls = ['skins/standard/admin.css']
%] %]
[% columns = [ [% columns = [
......
...@@ -107,9 +107,9 @@ ...@@ -107,9 +107,9 @@
[% END %] [% END %]
</select> </select>
[% ELSE %] [% ELSE %]
<font color="red"> <span class="warning">
Unknown param type [% param.type FILTER html %]!!! Unknown param type [% param.type FILTER html %]!!!
</font> </span>
[% END %] [% END %]
</p> </p>
[% UNLESS param.no_reset %] [% UNLESS param.no_reset %]
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
%] %]
<table border="1" cellpadding="4" cellspacing="0"> <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">Field</th>
<th valign="top" class="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
[% IF classification.description %] [% IF classification.description %]
[% classification.description FILTER html_light %] [% classification.description FILTER html_light %]
[% ELSE %] [% ELSE %]
<span style="color: red">missing</span> <span class="warning">missing</span>
[% END %] [% END %]
</td> </td>
</tr> </tr>
...@@ -59,13 +59,7 @@ ...@@ -59,13 +59,7 @@
<tr> <tr>
<td valign="top">Description:</td> <td valign="top">Description:</td>
[%# descriptions are intentionally not filtered to allow html content %] [%# descriptions are intentionally not filtered to allow html content %]
<td valign="top"> <td valign="top">[% product.description FILTER html_light %]</td>
[% IF product.description %]
[% product.description FILTER html_light %]
[% ELSE %]
<span style="color: red">missing</span>
[% END %]
</td>
</tr> </tr>
[% IF Param('usetargetmilestone') %] [% IF Param('usetargetmilestone') %]
...@@ -111,14 +105,7 @@ ...@@ -111,14 +105,7 @@
[% FOREACH c = product.components %] [% FOREACH c = product.components %]
<tr> <tr>
<th>[% c.name FILTER html %]:</th> <th>[% c.name FILTER html %]:</th>
[%# descriptions are intentionally not filtered to allow html content %] <td>[% c.description FILTER html_light %]</td>
<td>
[% IF c.description %]
[% c.description FILTER html_light %]
[% ELSE %]
<span style="color: red">missing</span>
[% END %]
</td>
</tr> </tr>
[% END %] [% END %]
</table> </table>
...@@ -214,7 +201,7 @@ ...@@ -214,7 +201,7 @@
[% ELSE %] [% ELSE %]
<table border="0" cellpadding="20" width="70%" bgcolor="red"> <table class="confirmation">
<tr> <tr>
<td> <td>
There There
......
...@@ -45,16 +45,12 @@ ...@@ -45,16 +45,12 @@
[% FOREACH component = product.components %] [% FOREACH component = product.components %]
<a href="editcomponents.cgi?action=edit&product= <a href="editcomponents.cgi?action=edit&product=
[%- product.name FILTER uri %]&component= [%- product.name FILTER uri %]&component=
[%- component.name FILTER uri %]">[% component.name FILTER html %]</a>:&nbsp; [%- component.name FILTER uri %]">[% component.name FILTER html %]</a>:
[% IF component.description %]
[% component.description FILTER html_light %] [% component.description FILTER html_light %]
[% ELSE %]
<font color="red">description missing</font>
[% END %]
<br> <br>
[% END %] [% END %]
[% ELSE %] [% ELSE %]
<font color="red">missing</font> <span class="warning">missing</span>
[% END %] [% END %]
</td> </td>
</tr> </tr>
...@@ -70,7 +66,7 @@ versions:</a> ...@@ -70,7 +66,7 @@ versions:</a>
<br> <br>
[% END %] [% END %]
[% ELSE %] [% ELSE %]
<font color="red">missing</font> <span class="warning">missing</span>
[% END %] [% END %]
</td> </td>
</tr> </tr>
...@@ -87,7 +83,7 @@ versions:</a> ...@@ -87,7 +83,7 @@ versions:</a>
<br> <br>
[% END %] [% END %]
[% ELSE %] [% ELSE %]
<font color="red">missing</font> <span class="warning">missing</span>
[% END %] [% END %]
</td> </td>
</tr> </tr>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
[% END %] [% END %]
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
%] %]
[% display_headers = 1 %] [% display_headers = 1 %]
...@@ -24,7 +25,7 @@ ...@@ -24,7 +25,7 @@
<input type="hidden" name="token" value="[% token FILTER html %]"> <input type="hidden" name="token" value="[% token FILTER html %]">
<table id="form" cellspacing="0" cellpadding="4" border="1"> <table id="form" cellspacing="0" cellpadding="4" border="1">
<tr bgcolor="#6666ff"> <tr class="column_header">
<th>Group</th> <th>Group</th>
<th>Entry</th> <th>Entry</th>
<th>MemberControl</th> <th>MemberControl</th>
...@@ -37,7 +38,7 @@ ...@@ -37,7 +38,7 @@
</tr> </tr>
[% END %] [% END %]
[% IF !group.group.isactive %] [% IF !group.group.isactive %]
<tr bgcolor="#bbbbbb"> <tr class="disabled">
<td>[% group.group.name FILTER html %]</td> <td>[% group.group.name FILTER html %]</td>
<td align="center" colspan="7">Disabled</td> <td align="center" colspan="7">Disabled</td>
<td>[% group.bug_count FILTER html %]</td> <td>[% group.bug_count FILTER html %]</td>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Select Classification" title = "Select Classification"
style_urls = ['skins/standard/admin.css']
%] %]
[% columns = [ [% columns = [
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Select product $classification_title" title = "Select product $classification_title"
style_urls = ['skins/standard/admin.css']
%] %]
[% columns = [ [% columns = [
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
[%################### TABLE HEADER ######################%] [%################### TABLE HEADER ######################%]
<table id="admin_table" border="1" cellpadding="4" cellspacing="0"> <table id="admin_table" border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF"> <tr class="column_header">
[% FOREACH c = columns %] [% FOREACH c = columns %]
[%# Default to align left for headers %] [%# Default to align left for headers %]
<th style="text-align:[% (c.align || 'left') FILTER html %];"> <th style="text-align:[% (c.align || 'left') FILTER html %];">
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Select user" title = "Select user"
style_urls = ['skins/standard/editusers.css'] style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css']
doc_section = "useradmin.html" doc_section = "useradmin.html"
%] %]
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
%] %]
<table border="1" cellpadding="4" cellspacing="0"> <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">Field</th>
<th valign="top" class="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
'[% product.name FILTER html %]'[% END %] '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
%] %]
[% edit_contentlink = BLOCK %]editversions.cgi?action=edit&amp;product= [% edit_contentlink = BLOCK %]editversions.cgi?action=edit&amp;product=
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Edit versions for which product?" title = "Edit versions for which product?"
style_urls = ['skins/standard/admin.css']
%] %]
[% columns = [ [% columns = [
......
...@@ -17,11 +17,12 @@ ...@@ -17,11 +17,12 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
doc_section = "attachments.html" doc_section = "attachments.html"
%] %]
<table border="1" cellpadding="4" cellspacing="0"> <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">Field</th>
<th valign="top" class="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
...@@ -55,7 +56,7 @@ ...@@ -55,7 +56,7 @@
<h2>Confirmation</h2> <h2>Confirmation</h2>
<table border="0" cellpadding="20" width="70%" bgcolor="red"> <table class="confirmation">
<tr> <tr>
<td> <td>
The content of this attachment will be deleted in an <b>irreversible</b> way. The content of this attachment will be deleted in an <b>irreversible</b> way.
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<div align="center"> <div align="center">
<table class="attachment_info" cellspacing="0" cellpadding="4" border="1" width="75%"> <table class="attachment_info" cellspacing="0" cellpadding="4" border="1" width="75%">
<tr> <tr>
<td valign="top" bgcolor="#cccccc" colspan="6"> <td colspan="6" class="bz_attach_footer">
<big><b>Attachment #[% a.id %]</b></big> <big><b>Attachment #[% a.id %]</b></big>
</td> </td>
</tr> </tr>
......
...@@ -16,25 +16,9 @@ ...@@ -16,25 +16,9 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Enter $terms.ABug" title = "Enter $terms.ABug"
onload = "PutDescription()" 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. %] [%# This script displays the descriptions for selected components. %]
<script type="text/javascript"> <script type="text/javascript">
var descriptions = [ var descriptions = [
...@@ -56,12 +40,12 @@ function PutDescription() { ...@@ -56,12 +40,12 @@ function PutDescription() {
<h3 id="step1">Step 1 of 3 - has your [% terms.bug %] already been reported?</h3> <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> <p>
<font color="red">Please don't skip this step - half of all
[% terms.bugs %] filed are <p>Check the two lists of frequently-reported [% terms.bugs %]:</p>
reported already.</font>
Check the two lists of frequently-reported [% terms.bugs %]:
</p>
[%# Include other products if sensible %] [%# Include other products if sensible %]
[% IF product.name == "Firefox" %] [% IF product.name == "Firefox" %]
...@@ -85,7 +69,7 @@ function PutDescription() { ...@@ -85,7 +69,7 @@ function PutDescription() {
<p> <p>
If your [% terms.bug %] isn't there, search [% terms.Bugzilla %] by entering 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. 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. The results will appear above.
</p> </p>
...@@ -114,7 +98,7 @@ function PutDescription() { ...@@ -114,7 +98,7 @@ function PutDescription() {
<p> <p>
Look through the search results. If you get the 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 found no [% terms.bugs %] that
match. Check for typing mistakes, or try fewer or different keywords. match. Check for typing mistakes, or try fewer or different keywords.
If you find [% terms.abug %] that looks the same as yours, please add If you find [% terms.abug %] that looks the same as yours, please add
...@@ -140,7 +124,7 @@ function PutDescription() { ...@@ -140,7 +124,7 @@ function PutDescription() {
<table valign="top" cellpadding="5" cellspacing="5" border="0"> <table valign="top" cellpadding="5" cellspacing="5" border="0">
<tr bgcolor="[% tablecolour %]"> <tr class="guided_form_field">
<td align="right" valign="top"> <td align="right" valign="top">
<b>Product</b> <b>Product</b>
</td> </td>
...@@ -174,8 +158,7 @@ function PutDescription() { ...@@ -174,8 +158,7 @@ function PutDescription() {
</select> </select>
</td> </td>
<td valign="top" width="100%"> <td valign="top" width="100%">
<div id="description" style="color: green; margin-left: 10px; <div id="description" class="comment">
height: 5em; overflow: auto;">
<script type="text/javascript"> <script type="text/javascript">
if ((document.getElementById) && (document.body.innerHTML)) { if ((document.getElementById) && (document.body.innerHTML)) {
document.write("\ document.write("\
...@@ -202,7 +185,7 @@ function PutDescription() { ...@@ -202,7 +185,7 @@ function PutDescription() {
are based on which are most common in the b.m.o database %] are based on which are most common in the b.m.o database %]
[% rep_platform = [ "PC", "Macintosh", "All", "Other" ] %] [% rep_platform = [ "PC", "Macintosh", "All", "Other" ] %]
<tr bgcolor="[% tablecolour %]"> <tr class="guided_form_field">
<td align="right" valign="top"> <td align="right" valign="top">
<b>[% field_descs.rep_platform FILTER html %]</b> <b>[% field_descs.rep_platform FILTER html %]</b>
</td> </td>
...@@ -233,7 +216,7 @@ function PutDescription() { ...@@ -233,7 +216,7 @@ function PutDescription() {
[% buildid = cgi.param("buildid") %] [% buildid = cgi.param("buildid") %]
[% END %] [% END %]
<tr bgcolor="[% tablecolour %]"> <tr class="guided_form_field">
<td align="right" valign="top"> <td align="right" valign="top">
<b>Build Identifier</b> <b>Build Identifier</b>
</td> </td>
...@@ -265,7 +248,7 @@ function PutDescription() { ...@@ -265,7 +248,7 @@ function PutDescription() {
</td> </td>
</tr> </tr>
<tr bgcolor="[% tablecolour %]"> <tr class="guided_form_field">
<td align="right" valign="top"> <td align="right" valign="top">
<b>Summary</b> <b>Summary</b>
</td> </td>
...@@ -277,14 +260,14 @@ function PutDescription() { ...@@ -277,14 +260,14 @@ function PutDescription() {
Please be descriptive and use lots of keywords. Please be descriptive and use lots of keywords.
</p> </p>
<p> <p>
<tt> <kbd>
<font color="#990000">Bad example</font>: mail crashed <span class="bad">Bad example</span>: mail crashed
</tt> </kbd>
<br> <br>
<tt> <kbd>
<font color="#009900">Good example</font>: <span class="good">Good example</span>:
crash if I close the mail window while checking for new POP mail crash if I close the mail window while checking for new POP mail
</tt> </kbd>
</p> </p>
</td> </td>
</tr> </tr>
...@@ -304,22 +287,22 @@ function PutDescription() { ...@@ -304,22 +287,22 @@ function PutDescription() {
as specific as possible about what is wrong. as specific as possible about what is wrong.
</p> </p>
<p> <p>
<tt> <kbd>
<font color="#990000">Bad example</font>: Mozilla crashed. <span class="bad">Bad example</span>: Mozilla crashed.
You suck! You suck!
</tt> </kbd>
<br> <br>
<tt> <kbd>
<font color="#009900">Good example</font>: After a crash which <span class="good">Good example</span>: After a crash which
happened when I was sorting in the Bookmark Manager,<br> all of my 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 top-level bookmark folders beginning with the letters Q to Z are
no longer present. no longer present.
</tt> </kbd>
</p> </p>
</td> </td>
</tr> </tr>
<tr bgcolor="[% tablecolour %]"> <tr class="guided_form_field">
<td align="right" valign="top"> <td align="right" valign="top">
<b>Reproducibility</b> <b>Reproducibility</b>
</td> </td>
...@@ -359,7 +342,7 @@ function PutDescription() { ...@@ -359,7 +342,7 @@ function PutDescription() {
</td> </td>
</tr> </tr>
<tr bgcolor="[% tablecolour %]"> <tr class="guided_form_field">
<td valign="top" align="right"> <td valign="top" align="right">
<b>Actual Results</b> <b>Actual Results</b>
</td> </td>
...@@ -391,7 +374,7 @@ function PutDescription() { ...@@ -391,7 +374,7 @@ function PutDescription() {
</td> </td>
</tr> </tr>
<tr bgcolor="[% tablecolour %]"> <tr class="guided_form_field">
<td valign="top" align="right"> <td valign="top" align="right">
<b>Additional Information</b> <b>Additional Information</b>
</td> </td>
...@@ -412,13 +395,13 @@ function PutDescription() { ...@@ -412,13 +395,13 @@ function PutDescription() {
testcase</b>, should be added testcase</b>, should be added
using the "Add an Attachment" link on the [% terms.bug %], after using the "Add an Attachment" link on the [% terms.bug %], after
it is filed. If you believe that it's relevant, please also include 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. into your URL bar.
<br> <br>
<br> <br>
If you are reporting a crash, note the module in If you are reporting a crash, note the module in
which the software crashed (e.g., <tt>Application Violation in which the software crashed (e.g., <kbd>Application Violation in
gkhtml.dll</tt>). gkhtml.dll</kbd>).
</p> </p>
</td> </td>
</tr> </tr>
......
...@@ -638,9 +638,9 @@ TUI_hide_default('attachment_text_field'); ...@@ -638,9 +638,9 @@ TUI_hide_default('attachment_text_field');
[%+ terms.bug %]: [%+ terms.bug %]:
</strong> </strong>
<br> <br>
<font size="-1"> <span class="bz_info">
(Leave all boxes unchecked to make this a public [% terms.bug %].) (Leave all boxes unchecked to make this a public [% terms.bug %].)
</font> </span>
<br> <br>
<br> <br>
......
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
[%###########################################################################%] [%###########################################################################%]
[% BLOCK depthControlToolbar %] [% BLOCK depthControlToolbar %]
<table cellpadding="3" border="0" cellspacing="0" bgcolor="#e0e0e0"> <table class="dependency_tree_controls">
<tr> <tr>
[%# Hide/show resolved button [%# Hide/show resolved button
Swaps text depending on the state of hide_resolved %] Swaps text depending on the state of hide_resolved %]
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
[%- last_bug_list.first FILTER uri %]&amp;list_id= [%- last_bug_list.first FILTER uri %]&amp;list_id=
[%- my_search.id FILTER uri %]">First</a> [%- my_search.id FILTER uri %]">First</a>
[% ELSE %] [% ELSE %]
<i><font color="#777777">First</font></i> <span class="navigation_link">First</span>
[% END %] [% END %]
[% IF this_bug_idx + 1 < last_bug_list.size %] [% IF this_bug_idx + 1 < last_bug_list.size %]
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
[%- last_bug_list.last FILTER uri %]&amp;list_id= [%- last_bug_list.last FILTER uri %]&amp;list_id=
[%- my_search.id FILTER uri %]">Last</a> [%- my_search.id FILTER uri %]">Last</a>
[% ELSE %] [% ELSE %]
<i><font color="#777777">Last</font></i> <span class="navigation_link">Last</span>
[% END %] [% END %]
[% IF this_bug_idx > 0 %] [% IF this_bug_idx > 0 %]
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
[%- last_bug_list.$prev_bug FILTER uri %]&amp;list_id= [%- last_bug_list.$prev_bug FILTER uri %]&amp;list_id=
[%- my_search.id FILTER uri %]">Prev</a> [%- my_search.id FILTER uri %]">Prev</a>
[% ELSE %] [% ELSE %]
<i><font color="#777777">Prev</font></i> <span class="navigation_link">Prev</span>
[% END %] [% END %]
[% IF this_bug_idx + 1 < last_bug_list.size %] [% IF this_bug_idx + 1 < last_bug_list.size %]
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
[%- last_bug_list.$next_bug FILTER uri %]&amp;list_id= [%- last_bug_list.$next_bug FILTER uri %]&amp;list_id=
[%- my_search.id FILTER uri %]">Next</a> [%- my_search.id FILTER uri %]">Next</a>
[% ELSE %] [% ELSE %]
<i><font color="#777777">Next</font></i> <span class="navigation_link">Next</span>
[% END %] [% END %]
&nbsp;&nbsp;<a href="buglist.cgi?regetlastlist= &nbsp;&nbsp;<a href="buglist.cgi?regetlastlist=
......
...@@ -273,7 +273,6 @@ ...@@ -273,7 +273,6 @@
], ],
'bug/create/create-guided.html.tmpl' => [ 'bug/create/create-guided.html.tmpl' => [
'tablecolour',
'sel', 'sel',
'productstring', 'productstring',
], ],
......
...@@ -100,9 +100,9 @@ ...@@ -100,9 +100,9 @@
[% IF query.value.users.size %] [% IF query.value.users.size %]
[% IF query.value.users.size > 1 %] [% IF query.value.users.size > 1 %]
[% IF query.value.status == 'fail' %] [% IF query.value.status == 'fail' %]
<font color="#FF0000"> <span class="warning">
matches multiple users. matches multiple users.
</font> </span>
Please go back and try again with a more specific Please go back and try again with a more specific
name/address. name/address.
[% ELSE %] [% ELSE %]
...@@ -136,12 +136,13 @@ ...@@ -136,12 +136,13 @@
<b>[% query.value.users.0.identity FILTER html %]</b> <b>[% query.value.users.0.identity FILTER html %]</b>
[% END %] [% END %]
[% ELSE %] [% ELSE %]
<span class="warning">
[% IF query.key.length < 3 %] [% IF query.key.length < 3 %]
<font color="#FF0000">was too short for substring match was too short for substring match (minimum 3 characters)
(minimum 3 characters)</font>
[% ELSE %] [% ELSE %]
<font color="#FF0000">did not match anything</font> did not match anything
[% END %] [% END %]
</span>
[% END %] [% END %]
</div> </div>
[% END %] [% END %]
......
...@@ -853,6 +853,12 @@ ...@@ -853,6 +853,12 @@
[%+ series.name FILTER html %]</em> [%+ series.name FILTER html %]</em>
has been deleted. 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" %] [% ELSIF message_tag == "shutdown" %]
[% title = "$terms.Bugzilla is Down" %] [% title = "$terms.Bugzilla is Down" %]
[% Param("shutdownhtml") %] [% Param("shutdownhtml") %]
......
...@@ -15,14 +15,6 @@ ...@@ -15,14 +15,6 @@
[% PROCESS global/header.html.tmpl %] [% 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"> <form method="get" action="chart.cgi" name="chartform">
[% PROCESS reports/series.html.tmpl [% PROCESS reports/series.html.tmpl
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "$terms.Bugzilla Keyword Descriptions" title = "$terms.Bugzilla Keyword Descriptions"
style_urls = ['skins/standard/admin.css']
%] %]
[% FOREACH keyword = keywords %] [% FOREACH keyword = keywords %]
...@@ -26,7 +27,7 @@ ...@@ -26,7 +27,7 @@
[% END %] [% END %]
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF"> <tr class="column_header">
<th>Name</th> <th>Name</th>
<th>Description</th> <th>Description</th>
<th>Open [% terms.Bugs %]</th> <th>Open [% terms.Bugs %]</th>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
[[% terms.Bugzilla %]] [% subject FILTER html %] [[% terms.Bugzilla %]] [% subject FILTER html %]
</title> </title>
</head> </head>
<body bgcolor="#FFFFFF"> <body>
<pre> <pre>
[% body FILTER html %] [% body FILTER html %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment