$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)
* defined by the Mozilla Public License, v. 2.0.
*/
+.column_header {
+ background-color: #66f;
+}
+
.warningmessages, .criticalmessages {
background-color: white;
border-style: solid;
font-weight: bold;
}
-tr.param_disabled {
+tr.disabled {
background-color: lightgrey;
}
#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;
+}
#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;
+}
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;
}
border: 1px solid #333333;
}
-.bz_attach_extra_info {
+.bz_attach_extra_info, .bz_info {
font-size: smaller;
}
display: inline;
}
+.navigation_link {
+ color: #777;
+ font-style: italic;
+}
+
.bz_show_bug_column {
vertical-align: top;
}
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
%]
[% PROCESS admin/users/listselectvars.html.tmpl
[% 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>
[% IF classification.description %]
[% classification.description FILTER html_light %]
[% ELSE %]
- <font color="red">description missing</font>
+ <span class="warning">description missing</span>
[% END %]
</td>
[% 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>
[% IF classification.description %]
[% classification.description FILTER html_light %]
[% ELSE %]
- <font color="red">description missing</font>
+ <span class="warning">description missing</span>
[% END %]
</td>
[% 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>
[% 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>
%]
<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>
</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 %]
'[% 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&product=
[% PROCESS global/header.html.tmpl
title = "Edit components for which product?"
+ style_urls = ['skins/standard/admin.css']
%]
[% columns = [
%]
<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>
[% PROCESS global/header.html.tmpl
title = "Custom Fields"
+ style_urls = ['skins/standard/admin.css']
doc_section = "custom-fields.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>
([% 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&field=
[% PROCESS global/header.html.tmpl
title = "Edit values for which field?"
+ style_urls = ['skins/standard/admin.css']
%]
[% columns = [
[% 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"
[% 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>
[% 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"
%]
[% PROCESS global/header.html.tmpl
title = "Select keyword"
+ style_urls = ['skins/standard/admin.css']
%]
[% columns = [
%]
<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>
'[% 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&product=
[% PROCESS global/header.html.tmpl
title = "Edit milestones for which product?"
+ style_urls = ['skins/standard/admin.css']
%]
[% columns = [
[% 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>
%]
<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>
[% 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
[% 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>:
- [% 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>
<br>
[% END %]
[% ELSE %]
- <font color="red">missing</font>
+ <span class="warning">missing</span>
[% END %]
</td>
</tr>
<br>
[% END %]
[% ELSE %]
- <font color="red">missing</font>
+ <span class="warning">missing</span>
[% END %]
</td>
</tr>
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 %]
<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>
</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>
[% PROCESS global/header.html.tmpl
title = "Select Classification"
+ style_urls = ['skins/standard/admin.css']
%]
[% columns = [
[% PROCESS global/header.html.tmpl
title = "Select product $classification_title"
+ style_urls = ['skins/standard/admin.css']
%]
[% columns = [
[%################### 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 %];">
[% 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"
%]
%]
<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>
'[% 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&product=
[% PROCESS global/header.html.tmpl
title = "Edit versions for which product?"
+ style_urls = ['skins/standard/admin.css']
%]
[% columns = [
[% 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>
<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.
<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>
[% 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 = [
<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" %]
<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>
<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
<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>
</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("\
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>
[% buildid = cgi.param("buildid") %]
[% END %]
- <tr bgcolor="[% tablecolour %]">
+ <tr class="guided_form_field">
<td align="right" valign="top">
<b>Build Identifier</b>
</td>
</td>
</tr>
- <tr bgcolor="[% tablecolour %]">
+ <tr class="guided_form_field">
<td align="right" valign="top">
<b>Summary</b>
</td>
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>
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>
</td>
</tr>
- <tr bgcolor="[% tablecolour %]">
+ <tr class="guided_form_field">
<td valign="top" align="right">
<b>Actual Results</b>
</td>
</td>
</tr>
- <tr bgcolor="[% tablecolour %]">
+ <tr class="guided_form_field">
<td valign="top" align="right">
<b>Additional Information</b>
</td>
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>
[%+ 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>
[%###########################################################################%]
[% 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 %]
[%- last_bug_list.first FILTER uri %]&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 %]
[%- last_bug_list.last FILTER uri %]&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 %]
[%- last_bug_list.$prev_bug FILTER uri %]&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 %]
[%- last_bug_list.$next_bug FILTER uri %]&list_id=
[%- my_search.id FILTER uri %]">Next</a>
[% ELSE %]
- <i><font color="#777777">Next</font></i>
+ <span class="navigation_link">Next</span>
[% END %]
<a href="buglist.cgi?regetlastlist=
],
'bug/create/create-guided.html.tmpl' => [
- 'tablecolour',
'sel',
'productstring',
],
[% 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 %]
[%+ 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") %]
[% 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
[% PROCESS global/header.html.tmpl
title = "$terms.Bugzilla Keyword Descriptions"
+ style_urls = ['skins/standard/admin.css']
%]
[% FOREACH keyword = keywords %]
[% 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>
[[% terms.Bugzilla %]] [% subject FILTER html %]
</title>
</head>
- <body bgcolor="#FFFFFF">
+ <body>
<pre>
[% body FILTER html %]