summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin')
-rw-r--r--template/en/default/admin/classifications/add.html.tmpl3
-rw-r--r--template/en/default/admin/classifications/del.html.tmpl47
-rw-r--r--template/en/default/admin/classifications/edit.html.tmpl9
-rw-r--r--template/en/default/admin/classifications/reclassify.html.tmpl43
-rw-r--r--template/en/default/admin/classifications/select.html.tmpl27
-rw-r--r--template/en/default/admin/components/confirm-delete.html.tmpl168
-rw-r--r--template/en/default/admin/components/create.html.tmpl11
-rw-r--r--template/en/default/admin/components/edit-common.html.tmpl12
-rw-r--r--template/en/default/admin/components/edit.html.tmpl33
-rw-r--r--template/en/default/admin/confirm-action.html.tmpl53
-rw-r--r--template/en/default/admin/custom_fields/confirm-delete.html.tmpl34
-rw-r--r--template/en/default/admin/custom_fields/edit-common.html.tmpl16
-rw-r--r--template/en/default/admin/fieldvalues/confirm-delete.html.tmpl58
-rw-r--r--template/en/default/admin/fieldvalues/create.html.tmpl5
-rw-r--r--template/en/default/admin/fieldvalues/edit.html.tmpl10
-rw-r--r--template/en/default/admin/flag-type/edit.html.tmpl2
-rw-r--r--template/en/default/admin/flag-type/list.html.tmpl68
-rw-r--r--template/en/default/admin/groups/create.html.tmpl67
-rw-r--r--template/en/default/admin/groups/delete.html.tmpl25
-rw-r--r--template/en/default/admin/groups/edit.html.tmpl184
-rw-r--r--template/en/default/admin/keywords/confirm-delete.html.tmpl21
-rw-r--r--template/en/default/admin/keywords/create.html.tmpl9
-rw-r--r--template/en/default/admin/keywords/edit.html.tmpl3
-rw-r--r--template/en/default/admin/milestones/confirm-delete.html.tmpl52
-rw-r--r--template/en/default/admin/milestones/create.html.tmpl3
-rw-r--r--template/en/default/admin/milestones/edit.html.tmpl10
-rw-r--r--template/en/default/admin/params/editparams.html.tmpl15
-rw-r--r--template/en/default/admin/products/confirm-delete.html.tmpl115
-rw-r--r--template/en/default/admin/products/create.html.tmpl2
-rw-r--r--template/en/default/admin/products/edit.html.tmpl39
-rw-r--r--template/en/default/admin/products/groupcontrol/edit.html.tmpl6
-rw-r--r--template/en/default/admin/settings/edit.html.tmpl67
-rw-r--r--template/en/default/admin/users/responsibilities.html.tmpl2
-rw-r--r--template/en/default/admin/versions/confirm-delete.html.tmpl54
-rw-r--r--template/en/default/admin/versions/create.html.tmpl3
-rw-r--r--template/en/default/admin/versions/edit.html.tmpl20
36 files changed, 640 insertions, 656 deletions
diff --git a/template/en/default/admin/classifications/add.html.tmpl b/template/en/default/admin/classifications/add.html.tmpl
index d818d3166..d56275aa2 100644
--- a/template/en/default/admin/classifications/add.html.tmpl
+++ b/template/en/default/admin/classifications/add.html.tmpl
@@ -8,10 +8,11 @@
[% PROCESS global/header.html.tmpl
title = "Add new classification"
+ style_urls = ['skins/standard/admin.css']
%]
<form method=post action="editclassifications.cgi">
- <table border=0 cellpadding=4 cellspacing=0>
+ <table id="admin_table_edit">
[% PROCESS "admin/classifications/edit-common.html.tmpl" %]
diff --git a/template/en/default/admin/classifications/del.html.tmpl b/template/en/default/admin/classifications/del.html.tmpl
index f99d29632..24a39b4b6 100644
--- a/template/en/default/admin/classifications/del.html.tmpl
+++ b/template/en/default/admin/classifications/del.html.tmpl
@@ -11,30 +11,29 @@
style_urls = ['skins/standard/admin.css']
%]
-<table border=1 cellpadding=4 cellspacing=0>
-<tr class="column_header">
- <th valign="top" class="left">Part</th>
- <th valign="top" class="left">Value</th>
-
-</tr><tr>
- <td valign="top">Classification:</td>
- <td valign="top">[% classification.name FILTER html %]</td>
-
-</tr><tr>
- <td valign="top">Description:</td>
- <td valign="top">
- [% IF classification.description %]
- [% classification.description FILTER html_light %]
- [% ELSE %]
- <span class="warning">description missing</span>
- [% END %]
- </td>
-
-</tr><tr>
- <td valign="top">Sortkey:</td>
- <td valign="top">[% classification.sortkey FILTER html %]</td>
-
-</tr>
+<table id="admin_table">
+ <tr class="column_header">
+ <th>Field</th>
+ <th>Value</th>
+ </tr>
+ <tr>
+ <td>Classification</td>
+ <td>[% classification.name FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>Description</td>
+ <td>
+ [% IF classification.description %]
+ [% classification.description FILTER html_light %]
+ [% ELSE %]
+ <span class="warning">description missing</span>
+ [% END %]
+ </td>
+ </tr>
+ <tr>
+ <td>Sortkey</td>
+ <td>[% classification.sortkey FILTER html %]</td>
+ </tr>
</table>
<h2>Confirmation</h2>
diff --git a/template/en/default/admin/classifications/edit.html.tmpl b/template/en/default/admin/classifications/edit.html.tmpl
index 68fd046f2..b1f6ce225 100644
--- a/template/en/default/admin/classifications/edit.html.tmpl
+++ b/template/en/default/admin/classifications/edit.html.tmpl
@@ -8,14 +8,15 @@
[% PROCESS global/header.html.tmpl
title = "Edit classification"
+ style_urls = ['skins/standard/admin.css']
%]
<form method=post action="editclassifications.cgi">
- <table border=0 cellpadding=4 cellspacing=0>
+ <table id="admin_table_edit">
[% PROCESS "admin/classifications/edit-common.html.tmpl" %]
- <tr valign=top>
+ <tr>
<th>
<a href="editproducts.cgi?classification=[% classification.name FILTER uri %]">
Edit Products</a>:
@@ -25,8 +26,8 @@
<table>
[% FOREACH product = classification.products %]
<tr>
- <th valign=top>[% product.name FILTER html %]</th>
- <td valign=top>[% product.description FILTER html_light %]</td>
+ <th>[% product.name FILTER html %]</th>
+ <td>[% product.description FILTER html_light %]</td>
</tr>
[% END %]
</table>
diff --git a/template/en/default/admin/classifications/reclassify.html.tmpl b/template/en/default/admin/classifications/reclassify.html.tmpl
index ac4a09b14..b230d670c 100644
--- a/template/en/default/admin/classifications/reclassify.html.tmpl
+++ b/template/en/default/admin/classifications/reclassify.html.tmpl
@@ -8,38 +8,39 @@
[% PROCESS global/header.html.tmpl
title = "Reclassify products"
+ style_urls = ['skins/standard/admin.css']
%]
<form method=post action="editclassifications.cgi">
- <table border=0 cellpadding=4 cellspacing=0>
+ <table id="admin_table_edit">
<tr>
<th>Classification:</th>
- <td valign="top" colspan=3>[% classification.name FILTER html %]</td>
-
- </tr><tr>
+ <td colspan=3>[% classification.name FILTER html %]</td>
+ </tr>
+ <tr>
<th>Description:</th>
- <td valign="top" colspan=3>
+ <td colspan=3>
[% IF classification.description %]
[% classification.description FILTER html_light %]
[% ELSE %]
<span class="warning">description missing</span>
[% END %]
</td>
-
- </tr><tr>
+ </tr>
+ <tr>
<th>Sortkey:</th>
- <td valign="top" colspan=3>[% classification.sortkey FILTER html %]</td>
-
- </tr><tr>
+ <td colspan=3>[% classification.sortkey FILTER html %]</td>
+ </tr>
+ <tr>
<th>Products:</th>
- <td valign="top">Other Classifications</td>
+ <td>Other Classifications</td>
<td></td>
- <td valign="top">This Classification</td>
-
- </tr><tr>
+ <td>This Classification</td>
+ </tr>
+ <tr>
<td></td>
- <td valign="top">
- <select name="prodlist" id="prodlist" multiple="multiple" size="20">
+ <td>
+ <select name="prodlist" id="prodlist" multiple="multiple" size="20">
[% FOREACH class = classifications %]
[% IF class.id != classification.id %]
[% FOREACH product = class.products %]
@@ -49,21 +50,23 @@
[% END %]
[% END %]
[% END %]
- </select></td>
+ </select>
+ </td>
- <td align="center">
+ <td>
<input type=submit value=" Add &gt;&gt; " name="add_products"><br><br>
<input type=submit value="&lt;&lt; Remove" name="remove_products">
</td>
- <td valign="middle" rowspan=2>
+ <td rowspan=2 class="max-width">
<select name="myprodlist" id="myprodlist" multiple="multiple" size="20">
[% FOREACH product = classification.products %]
<option value="[% product.name FILTER html %]">
[% product.name FILTER html %]
</option>
[% END %]
- </select></td>
+ </select>
+ </td>
</tr>
</table>
diff --git a/template/en/default/admin/classifications/select.html.tmpl b/template/en/default/admin/classifications/select.html.tmpl
index 02a3cd413..ffe183cfa 100644
--- a/template/en/default/admin/classifications/select.html.tmpl
+++ b/template/en/default/admin/classifications/select.html.tmpl
@@ -11,9 +11,9 @@
style_urls = ['skins/standard/admin.css']
%]
-<table border=1 cellpadding=4 cellspacing=0>
+<table id="admin_table">
<tr class="column_header">
- <th>Edit Classification ...</th>
+ <th>Edit Classification...</th>
<th>Description</th>
<th>Sortkey</th>
<th>Products</th>
@@ -22,26 +22,35 @@
[% FOREACH cl = classifications %]
<tr>
- <td valign="top"><a href="editclassifications.cgi?action=edit&amp;classification=[% cl.name FILTER uri %]"><b>[% cl.name FILTER html %]</b></a></td>
- <td valign="top">
+ <td>
+ <a href="editclassifications.cgi?action=edit&amp;classification=[% cl.name FILTER uri %]">
+ <b>[% cl.name FILTER html %]</b>
+ </a>
+ </td>
+ <td>
[% IF cl.description %]
[% cl.description FILTER html_light %]
[% ELSE %]
<span class="warning">none</span>
[% END %]
</td>
- <td valign="top">[% cl.sortkey FILTER html %]</td>
+ <td>[% cl.sortkey FILTER html %]</td>
[% IF (cl.id == 1) %]
- <td valign="top">[% cl.product_count FILTER html %]</td>
+ <td>[% cl.product_count FILTER html %]</td>
[% ELSE %]
- <td valign="top"><a href="editclassifications.cgi?action=reclassify&amp;classification=[% cl.name FILTER uri %]">reclassify ([% cl.product_count FILTER html %])</a></td>
+ <td>
+ <a href="editclassifications.cgi?action=reclassify&amp;classification=[% cl.name FILTER uri %]">
+ reclassify&nbsp;([% cl.product_count FILTER html %])</a>
+ </td>
[% END %]
[%# don't allow user to delete the default id. %]
[% IF (cl.id == 1) %]
- <td valign="top">&nbsp;</td>
+ <td></td>
[% ELSE %]
- <td valign="top"><a href="editclassifications.cgi?action=del&amp;classification=[% cl.name FILTER uri %]">delete</a></td>
+ <td>
+ <a href="editclassifications.cgi?action=del&amp;classification=[% cl.name FILTER uri %]">delete</a>
+ </td>
[% END %]
</tr>
[% END %]
diff --git a/template/en/default/admin/components/confirm-delete.html.tmpl b/template/en/default/admin/components/confirm-delete.html.tmpl
index 6644acca8..9018dcda2 100644
--- a/template/en/default/admin/components/confirm-delete.html.tmpl
+++ b/template/en/default/admin/components/confirm-delete.html.tmpl
@@ -22,101 +22,96 @@ from '[% product.name FILTER html %]' product
style_urls = ['skins/standard/admin.css']
%]
-<table border="1" cellpadding="4" cellspacing="0">
-<tr class="column_header">
- <th valign="top" class="left">Field</th>
- <th valign="top" class="left">Value</th>
-</tr>
-<tr>
- <td valign="top">Component:</td>
- <td valign="top">[% comp.name FILTER html %]</td>
-</tr>
-<tr>
- <td valign="top">Component Description:</td>
- <td valign="top">[% comp.description FILTER html_light %]</td>
-</tr>
-<tr>
- <td valign="top">Default assignee:</td>
- <td valign="top">[% comp.default_assignee.login FILTER html %]</td>
-
-[% IF Param('useqacontact') %]
-</tr>
-<tr>
- <td valign="top">Default QA contact:</td>
- <td valign="top">[% comp.default_qa_contact.login FILTER html %]</td>
-[% END %]
-
-</tr>
-<tr>
- <td valign="top">Component of Product:</td>
- <td valign="top">[% product.name FILTER html %]</td>
-
-[% IF product.description %]
-</tr>
-<tr>
- <td valign="top">Product Description:</td>
- <td valign="top">[% product.description FILTER html_light %]</td>
-[% END %]
+<table id="admin_table">
+ <tr class="column_header">
+ <th>Field</th>
+ <th>Value</th>
+ </tr>
+ <tr>
+ <td>Component</td>
+ <td>[% comp.name FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>Component Description</td>
+ <td>[% comp.description FILTER html_light %]</td>
+ </tr>
+ <tr>
+ <td>Default assignee</td>
+ <td>[% comp.default_assignee.login FILTER html %]</td>
+ </tr>
+
+ [% IF Param('useqacontact') %]
+ <tr>
+ <td>Default QA contact</td>
+ <td>[% comp.default_qa_contact.login FILTER html %]</td>
+ </tr>
+ [% END %]
-[% IF Param('usetargetmilestone') %]
-</tr>
-<tr>
- <td valign="top">Product Milestone URL:</td>
- <td valign="top">
- <a href="[% product.milestone_url FILTER html %]">
- [% product.milestone_url FILTER html %]
- </a>
- </td>
-[% END %]
+ <tr>
+ <td>Component of Product</td>
+ <td>[% product.name FILTER html %]</td>
+ </tr>
-</tr>
-<tr>
- <TD VALIGN="top">Open for [% terms.bugs %]:</TD>
- <TD VALIGN="top">[% IF product.is_active && comp.isactive %]Yes[% ELSE %]No[% END %]</td>
-</tr>
-<tr>
- <td valign="top">[% terms.Bugs %]:</td>
- <td valign="top">
-[% IF comp.bug_count %]
- <a title="List of [% terms.bugs %] for component '[% comp.name FILTER html %]'"
- href="buglist.cgi?component=[% comp.name FILTER uri %]&amp;product=
- [%- product.name FILTER uri %]">[% comp.bug_count %]</a>
-[% ELSE %]
- None
-[% END %]
- </td>
-</tr>
+ [% IF product.description %]
+ <tr>
+ <td>Product Description</td>
+ <td>[% product.description FILTER html_light %]</td>
+ </tr>
+ [% END %]
+
+ [% IF Param('usetargetmilestone') %]
+ <tr>
+ <td>Product Milestone URL</td>
+ <td>
+ <a href="[% product.milestone_url FILTER html %]">
+ [% product.milestone_url FILTER html %]</a>
+ </td>
+ </tr>
+ [% END %]
+
+ <tr>
+ <td>Open for [% terms.bugs %]</td>
+ <td>[% IF product.is_active && comp.isactive %]Yes[% ELSE %]No[% END %]</td>
+ </tr>
+ <tr>
+ <td>[% terms.Bugs %]</td>
+ <td>
+ [% IF comp.bug_count %]
+ <a title="List of [% terms.bugs %] for component '[% comp.name FILTER html %]'"
+ href="buglist.cgi?component=[% comp.name FILTER uri %]&amp;product=
+ [%- product.name FILTER uri %]">[% comp.bug_count %]</a>
+ [% ELSE %]
+ None
+ [% END %]
+ </td>
+ </tr>
</table>
<h2>Confirmation</h2>
-
+
[% IF comp.bug_count %]
[% IF !Param("allowbugdeletion") %]
- <p class="confirmation">
- Sorry, there
-
- [% IF comp.bug_count > 1 %]
- are [% comp.bug_count %] [%+ terms.bugs %]
- [% ELSE %]
- is [% comp.bug_count %] [%+ terms.bug %]
- [% END %]
-
- outstanding for this component. You must reassign
-
- [% IF comp.bug_count > 1 %]
- those [% terms.bugs %]
- [% ELSE %]
- that [% terms.bug %]
- [% END %]
+ <p class="confirmation">
+ Sorry, there
+ [% IF comp.bug_count > 1 %]
+ are [% comp.bug_count %] [%+ terms.bugs %]
+ [% ELSE %]
+ is 1 [% terms.bug %]
+ [% END %]
+ outstanding for this component. You must reassign
- to another component before you can delete this one.
- </p>
+ [% IF comp.bug_count > 1 %]
+ those [% terms.bugs %]
+ [% ELSE %]
+ that [% terms.bug %]
+ [% END %]
+ to another component before you can delete this one.
+ </p>
[% ELSE %]
-
- <table class="confirmation"><tr><td>
-
- There [% IF comp.bug_count > 1 %]
+ <p class="confirmation">
+ There
+ [% IF comp.bug_count > 1 %]
are [% comp.bug_count %] [%+ terms.bugs %]
[% ELSE %]
is 1 [% terms.bug %]
@@ -124,8 +119,7 @@ from '[% product.name FILTER html %]' product
entered for this component! When you delete this
component, <b>ALL</b> stored [% terms.bugs %] and
their history will be deleted too.
- </td></tr></table>
-
+ </p>
[% END %]
[% END %]
diff --git a/template/en/default/admin/components/create.html.tmpl b/template/en/default/admin/components/create.html.tmpl
index f281160c0..4db4a489c 100644
--- a/template/en/default/admin/components/create.html.tmpl
+++ b/template/en/default/admin/components/create.html.tmpl
@@ -10,21 +10,22 @@
# product: object; Bugzilla::Product object representing the product to
# which the component belongs.
#%]
-
+
[% title = BLOCK %]Add component to the [% product.name FILTER html %] product[% END %]
[% PROCESS global/header.html.tmpl
+ title = title
+ style_urls = ['skins/standard/admin.css']
yui = [ 'autocomplete' ]
javascript_urls = [ "js/field.js" ]
- title = title
%]
<form method="post" action="editcomponents.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
+ <table id="admin_table_edit">
[% PROCESS "admin/components/edit-common.html.tmpl" %]
-
+
</table>
- <hr>
+
<input type="submit" id="create" value="Add">
<input type="hidden" name="action" value="new">
<input type="hidden" name='product' value="[% product.name FILTER html %]">
diff --git a/template/en/default/admin/components/edit-common.html.tmpl b/template/en/default/admin/components/edit-common.html.tmpl
index 6ff4e07e6..00b80baa8 100644
--- a/template/en/default/admin/components/edit-common.html.tmpl
+++ b/template/en/default/admin/components/edit-common.html.tmpl
@@ -15,12 +15,12 @@
[% DEFAULT desc_name = "description" %]
<tr>
- <th class="field_label"><label for="component">Component:</label></th>
+ <th><label for="component">Component:</label></th>
<td><input size="64" maxlength="64" name="component" id="component"
value="[%- comp.name FILTER html %]"></td>
</tr>
<tr>
- <th class="field_label"><label for="[% desc_name FILTER html %]">Component Description:</label></th>
+ <th><label for="[% desc_name FILTER html %]">Component Description:</label></th>
<td>
[% INCLUDE global/textarea.html.tmpl
name = desc_name
@@ -33,7 +33,7 @@
</td>
</tr>
<tr>
- <th class="field_label"><label for="initialowner">Default Assignee:</label></th>
+ <th><label for="initialowner">Default Assignee:</label></th>
<td>
[% INCLUDE global/userselect.html.tmpl
name => "initialowner"
@@ -45,7 +45,7 @@
</tr>
[% IF Param('useqacontact') %]
<tr>
- <th class="field_label"><label for="initialqacontact">Default QA contact:</label></th>
+ <th><label for="initialqacontact">Default QA contact:</label></th>
<td>
[% INCLUDE global/userselect.html.tmpl
name => "initialqacontact"
@@ -58,7 +58,7 @@
</tr>
[% END %]
<tr>
- <th class="field_label"><label for="initialcc">Default CC List:</label></th>
+ <th><label for="initialcc">Default CC List:</label></th>
<td>
[% INCLUDE global/userselect.html.tmpl
name => "initialcc"
@@ -69,7 +69,7 @@
%]
<br>
[% IF !Param("usemenuforusers") %]
- <em>Enter user names for the CC list as a comma-separated list.</em>
+ <span class="bz_info">Enter user names for the CC list as a comma-separated list.</span>
[% END %]
</td>
</tr>
diff --git a/template/en/default/admin/components/edit.html.tmpl b/template/en/default/admin/components/edit.html.tmpl
index 748175b75..9998845e2 100644
--- a/template/en/default/admin/components/edit.html.tmpl
+++ b/template/en/default/admin/components/edit.html.tmpl
@@ -18,45 +18,44 @@
[% END %]
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
yui = [ 'autocomplete' ]
javascript_urls = [ "js/field.js" ]
%]
<form method="post" action="editcomponents.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
+ <table id="admin_table_edit">
[% PROCESS "admin/components/edit-common.html.tmpl" %]
<tr>
- <th class="field_label"><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>
+ <th><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>
<td><input id="isactive" name="isactive" type="checkbox" value="1"
[% 'checked="checked"' IF comp.isactive %]></td>
</tr>
<tr>
- <th class="field_label">[% terms.Bugs %]:</th>
+ <th>[% terms.Bugs %]:</th>
<td>
-[% IF comp.bug_count > 0 %]
- <a title="[% terms.Bugs %] in component '[% comp.name FILTER html %]'"
- href="buglist.cgi?component=
- [%- comp.name FILTER uri %]&amp;product=
- [%- product.name FILTER uri %]">[% comp.bug_count %]</a>
-[% ELSE %]
- None
-[% END %]
+ [% IF comp.bug_count > 0 %]
+ <a title="[% terms.Bugs %] in component '[% comp.name FILTER html %]'"
+ href="buglist.cgi?component=
+ [%- comp.name FILTER uri %]&amp;product=
+ [%- product.name FILTER uri %]">[% comp.bug_count %]</a>
+ [% ELSE %]
+ None
+ [% END %]
</td>
</tr>
-
</table>
<input type="hidden" name="action" value="update">
<input type="hidden" name="componentold" value="[% comp.name FILTER html %]">
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
- <input type="submit" value="Save Changes" id="update"> or <a
- href="editcomponents.cgi?action=del&amp;product=
- [%- product.name FILTER uri %]&amp;component=
- [%- comp.name FILTER uri %]">Delete</a> this component.
-
+ <input type="submit" value="Save Changes" id="update"> or
+ <a href="editcomponents.cgi?action=del&amp;product=
+ [%- product.name FILTER uri %]&amp;component=
+ [%- comp.name FILTER uri %]">Delete</a> this component.
</form>
[% PROCESS admin/components/footer.html.tmpl
diff --git a/template/en/default/admin/confirm-action.html.tmpl b/template/en/default/admin/confirm-action.html.tmpl
index e3b9ef5f7..ecc162540 100644
--- a/template/en/default/admin/confirm-action.html.tmpl
+++ b/template/en/default/admin/confirm-action.html.tmpl
@@ -15,8 +15,9 @@
# if he declines submission.
#%]
-[% PROCESS global/header.html.tmpl title = "Suspicious Action"
- style_urls = ['skins/standard/global.css'] %]
+[% PROCESS global/header.html.tmpl
+ title = "Suspicious Action"
+%]
[% IF abuser %]
<div class="throw_error">
@@ -27,37 +28,27 @@
is incorrect, meaning that it looks like you didn't come from the right page.
The following token has been used :</p>
- <table border="0" cellpadding="5" cellspacing="0">
- [% IF token_action != expected_action %]
- <tr>
- <th>Action&nbsp;stored:</th>
- <td>[% token_action FILTER html %]</td>
- </tr>
- <tr>
- <th>&nbsp;</th>
- <td>
- This action doesn't match the one expected ([% expected_action FILTER html %]).
- </td>
- </tr>
- [% END %]
+ [% IF token_action != expected_action %]
+ <p>
+ <span class="label">Action&nbsp;stored:</span>
+ [%+ token_action FILTER html %]
+ <br>
+ This action doesn't match the one expected ([% expected_action FILTER html %]).
+ </p>
+ [% END %]
- [% IF abuser != user.identity %]
- <tr>
- <th>Generated&nbsp;by:</th>
- <td>[% abuser FILTER html %]</td>
- </tr>
- <tr>
- <th>&nbsp;</th>
- <td>
- This token has not been generated by you. It is possible that someone
- tried to trick you!
- </td>
- </tr>
- [% END %]
- </table>
-
- <p>Please report this problem to [%+ Param("maintainer") FILTER html %].</p>
+ [% IF abuser != user.identity %]
+ <p>
+ <span class="label">Generated&nbsp;by:</span>
+ [%+ abuser FILTER html %]
+ <br>
+ This token has not been generated by you. It is possible that someone
+ tried to trick you!
+ </p>
+ [% END %]
</div>
+
+ <p>Please report this problem to [% Param("maintainer") FILTER html %].</p>
[% ELSE %]
<div class="throw_error">
It looks like you didn't come from the right page (you have no valid token for
diff --git a/template/en/default/admin/custom_fields/confirm-delete.html.tmpl b/template/en/default/admin/custom_fields/confirm-delete.html.tmpl
index 579806137..471d7a1c4 100644
--- a/template/en/default/admin/custom_fields/confirm-delete.html.tmpl
+++ b/template/en/default/admin/custom_fields/confirm-delete.html.tmpl
@@ -23,23 +23,23 @@
doc_section = "custom-fields.html#delete-custom-fields"
%]
-<table border="1" cellpadding="4" cellspacing="0">
-<tr class="column_header">
- <th valign="top" class="left">Field</th>
- <th valign="top" class="left">Value</th>
-</tr>
-<tr>
- <td valign="top">Custom Field:</td>
- <td valign="top">[% field.name FILTER html %]</td>
-</tr>
-<tr>
- <td valign="top">Description:</td>
- <td valign="top">[% field.description FILTER html %]</td>
-</tr>
-<tr>
- <td valign="top">Type:</td>
- <td valign="top">[% field_types.${field.type} FILTER html %]</td>
-</tr>
+<table id="admin_table">
+ <tr class="column_header">
+ <th>Field</th>
+ <th>Value</th>
+ </tr>
+ <tr>
+ <td>Custom Field</td>
+ <td>[% field.name FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>Description</td>
+ <td>[% field.description FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>Type</td>
+ <td>[% field_types.${field.type} FILTER html %]</td>
+ </tr>
</table>
<h2>Confirmation</h2>
diff --git a/template/en/default/admin/custom_fields/edit-common.html.tmpl b/template/en/default/admin/custom_fields/edit-common.html.tmpl
index b08b7f23d..f54073cfe 100644
--- a/template/en/default/admin/custom_fields/edit-common.html.tmpl
+++ b/template/en/default/admin/custom_fields/edit-common.html.tmpl
@@ -12,9 +12,9 @@
[% PROCESS "global/field-descs.none.tmpl" %]
-<table border="0" cellspacing="0" cellpadding="5" id="edit_custom_field">
+<table id="admin_table_edit">
<tr>
- <th class="narrow_label"><label for="name">Name:</label></th>
+ <th><label for="name">Name:</label></th>
<td>
[% IF field %]
[% field.name FILTER html %]
@@ -34,7 +34,7 @@
</tr>
<tr>
- <th class="narrow_label"><label for="desc">Description:</label></th>
+ <th><label for="desc">Description:</label></th>
<td>
<input type="text" id="desc" name="desc" size="40"
value="[% field.description FILTER html %]">
@@ -50,7 +50,7 @@
</tr>
<tr>
- <th class="narrow_label"><label for="type">Type:</label></th>
+ <th><label for="type">Type:</label></th>
<td>
[% IF field %]
[% field_types.${field.type} FILTER html %]
@@ -72,7 +72,7 @@
</tr>
<tr>
- <th class="narrow_label"><label for="sortkey">Sortkey:</label></th>
+ <th><label for="sortkey">Sortkey:</label></th>
<td>
<input type="text" id="sortkey" name="sortkey" size="6" maxlength="6"
value="[% field.sortkey FILTER html %]">
@@ -86,7 +86,7 @@
</tr>
<tr>
- <th class="narrow_label">Long Description:</th>
+ <th>Long Description:</th>
<td>
[% INCLUDE global/textarea.html.tmpl
name = 'long_desc'
@@ -147,7 +147,7 @@
<a href="editvalues.cgi?field=[% field.name FILTER uri %]">Edit legal values for this field</a>.
</td>
[% ELSE %]
- <th class="narrow_label">
+ <th>
<label for="reverse_desc">Reverse Relationship Description:</label>
</th>
<td>
@@ -164,7 +164,7 @@
[% END %]
[% IF !field || field.is_select %]
- <th class="narrow_label">
+ <th>
<label for="value_field_id">
Field that controls the values<br>
that appear in this field:
diff --git a/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl b/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl
index 39c20e325..579d07cdc 100644
--- a/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl
+++ b/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl
@@ -22,34 +22,34 @@
style_urls = ['skins/standard/admin.css']
%]
-<table border="1" cellpadding="4" cellspacing="0">
-<tr class="column_header">
- <th valign="top" class="left">Field</th>
- <th valign="top" class="left">Value</th>
-</tr>
-<tr>
- <td valign="top">Field Name:</td>
- <td valign="top">[% field.description FILTER html %]</td>
-</tr>
-<tr>
- <td valign="top">Field Value:</td>
- <td valign="top">[% value.name FILTER html %]</td>
-</tr>
-<tr>
- <td valign="top">[% terms.Bugs %]:</td>
- <td valign="top">
-[% IF value.bug_count %]
- <a title="List of [% terms.bugs %] where '
- [%- field.description FILTER html %]' is '
- [%- value.name FILTER html %]'"
- href="buglist.cgi?[% field.name FILTER uri %]=
- [%- value.name FILTER uri %]">
- [%- value.bug_count FILTER html %]</a>
-[% ELSE %]
- None
-[% END %]
- </td>
-</tr>
+<table id="admin_table">
+ <tr class="column_header">
+ <th>Field</th>
+ <th>Value</th>
+ </tr>
+ <tr>
+ <td>Field Name</td>
+ <td>[% field.description FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>Field Value</td>
+ <td>[% value.name FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>[% terms.Bugs %]</td>
+ <td>
+ [% IF value.bug_count %]
+ <a title="List of [% terms.bugs %] where '
+ [%- field.description FILTER html %]' is '
+ [%- value.name FILTER html %]'"
+ href="buglist.cgi?[% field.name FILTER uri %]=
+ [%- value.name FILTER uri %]">
+ [%- value.bug_count FILTER html %]</a>
+ [% ELSE %]
+ None
+ [% END %]
+ </td>
+ </tr>
</table>
<h2>Confirmation</h2>
@@ -149,6 +149,6 @@
[% PROCESS admin/fieldvalues/footer.html.tmpl
no_edit_link = 1
- +%]
+%]
[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/fieldvalues/create.html.tmpl b/template/en/default/admin/fieldvalues/create.html.tmpl
index 900f4d901..4d07d5b0e 100644
--- a/template/en/default/admin/fieldvalues/create.html.tmpl
+++ b/template/en/default/admin/fieldvalues/create.html.tmpl
@@ -15,6 +15,7 @@
[% END %]
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
%]
<p>
@@ -23,7 +24,7 @@
</p>
<form method="post" action="editvalues.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
+ <table id="admin_table_edit">
<tr>
<th><label for="value">Value:</label></th>
<td>
@@ -74,7 +75,7 @@
</option>
[% END %]
</select>
- <small>(Leave unset to have this value always appear.)</small>
+ <span class="bz_info">(Leave unset to have this value always appear.)</span>
</td>
</tr>
[% END %]
diff --git a/template/en/default/admin/fieldvalues/edit.html.tmpl b/template/en/default/admin/fieldvalues/edit.html.tmpl
index d076e3071..dbe222590 100644
--- a/template/en/default/admin/fieldvalues/edit.html.tmpl
+++ b/template/en/default/admin/fieldvalues/edit.html.tmpl
@@ -17,15 +17,13 @@
[% END %]
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
%]
<form method="post" action="editvalues.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
-
+ <table id="admin_table_edit">
<tr>
- <th valign="top">
- <label for="value_new">Field Value:</label>
- </th>
+ <th><label for="value_new">Field Value:</label></th>
<td>
[% IF value.is_static %]
<input type="hidden" name="value_new" id="value_new"
@@ -71,7 +69,7 @@
</option>
[% END %]
</select>
- <small>(Leave unset to have this value always appear.)</small>
+ <span class="bz_info">(Leave unset to have this value always appear.)</span>
</td>
</tr>
[% END %]
diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl
index ec19c0496..2c71180f3 100644
--- a/template/en/default/admin/flag-type/edit.html.tmpl
+++ b/template/en/default/admin/flag-type/edit.html.tmpl
@@ -48,7 +48,7 @@
# really submit the form, as expected. %]
<input type="submit" id="commit" value="Submit" class="bz_default_hidden">
- <table id="form" cellspacing="0" cellpadding="4" border="0">
+ <table id="admin_table_edit">
<tr>
<th>Name:</th>
<td>
diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl
index a3d26a0d0..375f62978 100644
--- a/template/en/default/admin/flag-type/list.html.tmpl
+++ b/template/en/default/admin/flag-type/list.html.tmpl
@@ -37,38 +37,38 @@
</p>
<form id="flagtype_form" name="flagtype_form" action="editflagtypes.cgi" method="get">
- <table>
- <tr>
- <th><label for="product">Product:</label></th>
- <td>
- <select name="product" onchange="selectProduct(this, this.form.component, null, null, '__Any__');">
- <option value="">__Any__</option>
- [% FOREACH prod = products %]
- <option value="[% prod.name FILTER html %]"
- [% " selected" IF selected_product == prod.name %]>
- [% prod.name FILTER html %]</option>
- [% END %]
- </select>
- </td>
- <th><label for="component">Component:</label></th>
- <td>
- <select name="component">
- <option value="">__Any__</option>
- [% FOREACH comp = components %]
- <option value="[% comp FILTER html %]"
- [% " selected" IF selected_component == comp %]>
- [% comp FILTER html %]</option>
- [% END %]
- </select>
- </td>
- <td>
- <input type="checkbox" id="show_flag_counts" name="show_flag_counts" value="1"
- [%+ 'checked="checked"' IF show_flag_counts %]>
- <label for="show_flag_counts">Show flag counts</label>
- </td>
- <td><input type="submit" id="submit" value="Filter"></td>
- </tr>
- </table>
+ <div class="inline">
+ <label for="product">Product:</label>
+ <select id="product" name="product"
+ onchange="selectProduct(this, this.form.component, null, null, '__Any__');">
+ <option value="">__Any__</option>
+ [% FOREACH prod = products %]
+ <option value="[% prod.name FILTER html %]"
+ [%+ 'selected="selected"' IF selected_product == prod.name %]>
+ [%- prod.name FILTER html %]</option>
+ [% END %]
+ </select>
+ </div>
+
+ <div class="inline">
+ <label for="component">Component:</label>
+ <select name="component">
+ <option value="">__Any__</option>
+ [% FOREACH comp = components %]
+ <option value="[% comp FILTER html %]"
+ [%+ 'selected="selected"' IF selected_component == comp %]>
+ [%- comp FILTER html %]</option>
+ [% END %]
+ </select>
+ </div>
+
+ <div class="inline">
+ <input type="checkbox" id="show_flag_counts" name="show_flag_counts" value="1"
+ [%+ 'checked="checked"' IF show_flag_counts %]>
+ <label for="show_flag_counts">Show flag counts</label>
+ </div>
+
+ <input type="submit" id="submit" value="Filter">
</form>
<h3>Flag Types for [% terms.Bugs %]</h3>
@@ -91,7 +91,7 @@
[% 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 %]">
<tr class="column_header">
<th>Edit name ...</th>
@@ -113,7 +113,7 @@
<tr class="[% IF type.is_active %]active[% ELSE %]inactive[% END %]">
<td><a href="editflagtypes.cgi?action=edit&amp;id=[% type.id %]">[% type.name FILTER html FILTER no_break %]</a></td>
<td>[% type.description FILTER html %]</td>
- <td align="right">[% type.sortkey FILTER html %]</td>
+ <td class="right">[% type.sortkey FILTER html %]</td>
<td>
[% IF type.is_requestable %]
<span class="requestable">requestable</span>
diff --git a/template/en/default/admin/groups/create.html.tmpl b/template/en/default/admin/groups/create.html.tmpl
index db65629d0..ca95bab56 100644
--- a/template/en/default/admin/groups/create.html.tmpl
+++ b/template/en/default/admin/groups/create.html.tmpl
@@ -13,30 +13,35 @@
[% PROCESS global/header.html.tmpl
title = "Add group"
subheader = "This page allows you to define a new user group."
+ style_urls = ['skins/standard/admin.css']
doc_section = "groups.html#create-groups"
%]
<form method="post" action="editgroups.cgi">
- <table border="1" cellpadding="4" cellspacing="0"><tr>
- <th>New Name</th>
- <th>New Description</th>
- <th>New User RegExp</th>
- <th>Use For [% terms.Bugs %]</th>
- </tr><tr>
- <td><input size="20" name="name"></td>
- <td><input size="40" name="desc"></td>
- <td><input size="30" name="regexp"></td>
- <td><input type="checkbox" name="isactive" value="1" checked></td>
- </tr>
- <tr>
- <th>Icon URL:</th>
- <td colspan="3"><input type="text" size="70" maxlength="255" id="icon_url" name="icon_url"></td>
- </tr>
- [% Hook.process('field') %]
+ <table id="admin_table_edit">
+ <tr>
+ <th>Group Name:</th>
+ <td><input size="60" maxlength="255" name="name"></td>
+ </tr>
+ <tr>
+ <th>Description:</th>
+ <td><input size="60" name="desc"></td>
+ </tr>
+ <tr>
+ <th>User Regexp:</th>
+ <td><input size="60" name="regexp"></td>
+ </tr>
+ <tr>
+ <th>Icon URL:</th>
+ <td><input type="text" size="60" id="icon_url" name="icon_url"></td>
+ </tr>
+ <tr>
+ <th>Use For [% terms.Bugs %]:</th>
+ <td><input type="checkbox" name="isactive" value="1" checked></td>
+ </tr>
+ [% Hook.process('field') %]
</table>
- <hr>
-
<input type="checkbox" id="insertnew" name="insertnew" value="1"
[% IF Param("makeproductgroups") %] checked[% END %]>
<label for="insertnew">Insert new group into all existing products.</label>
@@ -46,7 +51,9 @@
<input type="hidden" name="token" value="[% token FILTER html %]">
</form>
-<p><b>Name</b> is what is used with the B<!-- blah -->ugzilla->user->in_group()
+<hr>
+
+<p><b>Group Name</b> is what is used with the B[%%]ugzilla->user->in_group()
function in any customized cgi files you write that use a given group.
It can also be used by people submitting [% terms.bugs %] by email to
limit [% terms.abug %] to a certain set of groups.</p>
@@ -55,15 +62,6 @@ limit [% terms.abug %] to a certain set of groups.</p>
to members of the group where they can choose whether
the [% terms.bug %] will be restricted to others in the same group.</p>
-<p>The <b>Use For [% terms.Bugs %]</b> flag determines whether or not the
-group is eligible to be used for [% terms.bugs %]. If you clear this, it will
-no longer be possible for users to add [% terms.bugs %] to this group,
-although [% terms.bugs %] already in the group will remain in the group.
-Doing so is a much less drastic way to stop a group from growing
-than deleting the group would be. <b>Note: If you are creating
-a group, you probably want it to be usable for [% terms.bugs %], in which
-case you should leave this checked.</b></p>
-
<p><b>User RegExp</b> is optional, and if filled in, will
automatically grant membership to this group to anyone with an
email address that matches this regular expression.</p>
@@ -75,6 +73,15 @@ email address that matches this regular expression.</p>
in comments in [% terms.bugs %] besides the name of the author of comments.
</p>
+<p>The <b>Use For [% terms.Bugs %]</b> flag determines whether or not the
+group is eligible to be used for [% terms.bugs %]. If you clear this, it will
+no longer be possible for users to add [% terms.bugs %] to this group,
+although [% terms.bugs %] already in the group will remain in the group.
+Doing so is a much less drastic way to stop a group from growing
+than deleting the group would be. <b>Note: If you are creating
+a group, you probably want it to be usable for [% terms.bugs %], in which
+case you should leave this checked.</b></p>
+
[% IF Param("makeproductgroups") %]
<p>By default, the new group will be associated with existing products.
Unchecking the "Insert new group into all existing products" option will
@@ -87,8 +94,6 @@ email address that matches this regular expression.</p>
a product.</p>
[% END %]
-<p>Back to the <a href="./">main [% terms.bugs %] page</a>
-
-or to the <a href="editgroups.cgi">group list</a>.
+<p>Back to the <a href="editgroups.cgi">group list</a>.</p>
[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/groups/delete.html.tmpl b/template/en/default/admin/groups/delete.html.tmpl
index 562b4cbae..e5a04d3a9 100644
--- a/template/en/default/admin/groups/delete.html.tmpl
+++ b/template/en/default/admin/groups/delete.html.tmpl
@@ -13,21 +13,28 @@
# group.
#%]
-
+[% title = BLOCK %]Delete group '[% group.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
- title = "Delete group"
+ title = title
+ style_urls = ['skins/standard/admin.css']
doc_section = "groups.html"
%]
-<table border="1">
- <tr>
- <th>Id</th>
- <th>Name</th>
- <th>Description</th>
+<table id="admin_table">
+ <tr class="column_header">
+ <th>Field</th>
+ <th>Value</th>
</tr>
<tr>
+ <td>Id</td>
<td>[% group.id FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>Name</td>
<td>[% group.name FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>Description</td>
<td>[% group.description FILTER html_light %]</td>
</tr>
</table>
@@ -150,7 +157,9 @@
<h2>Confirmation</h2>
- <p>Do you really want to delete this group?</p>
+ <p class="confirmation">
+ Do you really want to delete this group?
+ </p>
[% IF group.users.size || group.bugs.size || group.products.size
|| group.flags.size
%]
diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl
index 2f4101a13..de243b9a5 100644
--- a/template/en/default/admin/groups/edit.html.tmpl
+++ b/template/en/default/admin/groups/edit.html.tmpl
@@ -18,29 +18,20 @@
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
doc_section = "groups.html#edit-groups"
- style = "
- .grant_table { border-collapse: collapse; }
- .grant_table td, .grant_table th {
- padding-left: .5em;
- }
- .grant_table td.one, .grant_table th.one {
- border-right: 1px solid black;
- padding-right: .5em;
- }
- "
%]
<form method="post" action="editgroups.cgi">
<input type="hidden" name="action" value="postchanges">
<input type="hidden" name="group_id" value="[% group.id FILTER html %]">
- <table border="1" cellpadding="4">
+ <table id="admin_table_edit">
<tr>
<th>Group:</th>
<td>
[% IF group.is_bug_group %]
- <input type="text" name="name" size="60"
+ <input type="text" name="name" size="60" maxlength="255"
value="[% group.name FILTER html %]">
[% ELSE %]
[% group.name FILTER html %]
@@ -52,7 +43,7 @@
<th>Description:</th>
<td>
[% IF group.is_bug_group %]
- <input type="text" name="desc" size="70"
+ <input type="text" name="desc" size="60"
value="[% group.description FILTER html %]">
[% ELSE %]
[% group.description FILTER html %]
@@ -63,7 +54,7 @@
<tr>
<th>User Regexp:</th>
<td>
- <input type="text" name="regexp" size="40"
+ <input type="text" name="regexp" size="60"
value="[% group.user_regexp FILTER html %]">
</td>
</tr>
@@ -76,7 +67,7 @@
[% END %]
</th>
<td>
- <input type="text" name="icon_url" size="70" maxlength="255"
+ <input type="text" name="icon_url" size="60"
value="[% group.icon_url FILTER html %]">
</td>
</tr>
@@ -95,78 +86,72 @@
<h4>Group Permissions</h4>
- <table class="grant_table">
+ <table id="grant_table">
<tr>
- <th class="one">Groups That Are a Member of This Group<br>
- (&quot;Users in <var>X</var> are automatically in
- [%+ group.name FILTER html %]&quot;)</th>
- <th>Groups That This Group Is a Member Of<br>
- (&quot;If you are in [% group.name FILTER html %], you are
- automatically also in...&quot;)</th>
+ <th colspan="2">
+ Groups That Are a Member of This Group<br>
+ ("Users in <var>X</var> are automatically in [% group.name FILTER html %]")
+ </th>
+ <th colspan="2">
+ Groups That This Group Is a Member Of<br>
+ ("If you are in [% group.name FILTER html %], you are automatically also in...")
+ </th>
</tr>
+
<tr>
- <td class="one">
- [% PROCESS select_pair name = "members" size = 10
- items_available = members_available
- items_current = members_current %]
- </td>
-
- <td>[% PROCESS select_pair name = "member_of" size = 10
- items_available = member_of_available
- items_current = member_of_current %]</td>
+ [% PROCESS select_pair name = "members" size = 10
+ items_available = members_available
+ items_current = members_current %]
+
+ [% PROCESS select_pair name = "member_of" size = 10
+ items_available = member_of_available
+ items_current = member_of_current %]
</tr>
- </table>
- <table class="grant_table">
<tr>
- <th class="one">
+ <th colspan="2">
Groups That Can Grant Membership in This Group<br>
- (&quot;Users in <var>X</var> can add other users to
- [%+ group.name FILTER html %]&quot;)
-
+ ("Users in <var>X</var> can add other users to [% group.name FILTER html %]")
+ </th>
+ <th colspan="2">
+ Groups That This Group Can Grant Membership In<br>
+ ("Users in [% group.name FILTER html %] can add users to...")
</th>
- <th>Groups That This Group Can Grant Membership In<br>
- (&quot;Users in [% group.name FILTER html %] can add users to...&quot;)
- </th>
</tr>
+
<tr>
- <td class="one">
- [% PROCESS select_pair name = "bless_from" size = 10
- items_available = bless_from_available
- items_current = bless_from_current %]
- </td>
- <td>[% PROCESS select_pair name = "bless_to" size = 10
- items_available = bless_to_available
- items_current = bless_to_current %]
- </td>
+ [% PROCESS select_pair name = "bless_from" size = 10
+ items_available = bless_from_available
+ items_current = bless_from_current %]
+
+ [% PROCESS select_pair name = "bless_to" size = 10
+ items_available = bless_to_available
+ items_current = bless_to_current %]
</tr>
- </table>
- [% IF Param('usevisibilitygroups') %]
- <table class="grant_table">
+ [% IF Param('usevisibilitygroups') %]
<tr>
- <th class="one">
+ <th colspan="2">
Groups That Can See This Group<br>
- (&quot;Users in <var>X</var> can see users in
- [%+ group.name FILTER html %]&quot;)
+ ("Users in <var>X</var> can see users in [% group.name FILTER html %]")
+ </th>
+ <th colspan="2">
+ Groups That This Group Can See<br>
+ ("Users in [% group.name FILTER html %] can see users in...")
</th>
- <th>Groups That This Group Can See<br>
- (&quot;Users in [% group.name FILTER html %] can see users in...&quot;)
- </th>
</tr>
+
<tr>
- <td class="one">
- [% PROCESS select_pair name = "visible_from" size = 10
- items_available = visible_from_available
- items_current = visible_from_current %]
- </td>
- <td>[% PROCESS select_pair name = "visible_to_me" size = 10
- items_available = visible_to_me_available
- items_current = visible_to_me_current %]
- </td>
+ [% PROCESS select_pair name = "visible_from" size = 10
+ items_available = visible_from_available
+ items_current = visible_from_current %]
+
+ [% PROCESS select_pair name = "visible_to_me" size = 10
+ items_available = visible_to_me_available
+ items_current = visible_to_me_current %]
</tr>
- </table>
- [% END %]
+ [% END %]
+ </table>
<input type="submit" id="update-group" value="Update Group">
<input type="hidden" name="token" value="[% token FILTER html %]">
@@ -178,9 +163,8 @@
This is often very useful if you upgraded from [% terms.Bugzilla %]
2.16.</p>
-<table><tr><td>
<form method="post" action="editgroups.cgi">
- <fieldset>
+ <fieldset id="mass-remove">
<legend>Remove all explicit memberships from users whose login names
match the following regular expression:</legend>
<input type="text" size="20" name="regexp">
@@ -193,41 +177,35 @@
<input type="hidden" name="group_id" value="[% group.id FILTER html %]">
</fieldset>
</form>
-</td></tr></table>
-
+
<p>Back to the <a href="editgroups.cgi">group list</a>.</p>
[% PROCESS global/footer.html.tmpl %]
[% BLOCK select_pair %]
- <table class="select_pair">
- <tr>
- <th><label for="[% "${name}_add" FILTER html %]">Add<br>
- (select to add)</label></th>
- <th><label for="[% "${name}_remove" FILTER html %]">Current<br>
- (select to remove)</label></th>
- </tr>
- <tr>
- <td>
- <select multiple="multiple" size="[% size FILTER html %]"
- name="[% "${name}_add" FILTER html %]"
- id="[% "${name}_add" FILTER html %]">
- [% FOREACH item = items_available %]
- <option value="[% item.id FILTER html %]">
- [% item.name FILTER html %]</option>
- [% END %]
- </select>
- </td>
- <td>
- <select multiple="multiple" size="[% size FILTER html %]"
- name="[% "${name}_remove" FILTER html %]"
- id="[% "${name}_remove" FILTER html %]">
- [% FOREACH item = items_current %]
- <option value="[% item.id FILTER html %]">
- [% item.name FILTER html %]</option>
- [% END %]
- </select>
- </td>
- </tr>
- </table>
+ <td>
+ <label for="[% "${name}_add" FILTER html %]">Add<br>(select to add)</label>
+ <br>
+ <select multiple="multiple" size="[% size FILTER html %]"
+ name="[% "${name}_add" FILTER html %]"
+ id="[% "${name}_add" FILTER html %]">
+ [% FOREACH item = items_available %]
+ <option value="[% item.id FILTER html %]">
+ [% item.name FILTER html %]</option>
+ [% END %]
+ </select>
+ </td>
+
+ <td>
+ <label for="[% "${name}_remove" FILTER html %]">Current<br>(select to remove)</label>
+ <br>
+ <select multiple="multiple" size="[% size FILTER html %]"
+ name="[% "${name}_remove" FILTER html %]"
+ id="[% "${name}_remove" FILTER html %]">
+ [% FOREACH item = items_current %]
+ <option value="[% item.id FILTER html %]">
+ [% item.name FILTER html %]</option>
+ [% END %]
+ </select>
+ </td>
[% END %]
diff --git a/template/en/default/admin/keywords/confirm-delete.html.tmpl b/template/en/default/admin/keywords/confirm-delete.html.tmpl
index 718a32ec5..9f59cc57f 100644
--- a/template/en/default/admin/keywords/confirm-delete.html.tmpl
+++ b/template/en/default/admin/keywords/confirm-delete.html.tmpl
@@ -12,26 +12,29 @@
[% PROCESS global/header.html.tmpl
title = "Delete Keyword"
+ style_urls = ['skins/standard/admin.css']
%]
-<p>
+<h2>Confirmation</h2>
+
+<p class="confirmation">
[% IF keyword.bug_count == 1 %]
- There is one [% terms.bug %] with this keyword set.
+ There is one [% terms.bug %]
[% ELSIF keyword.bug_count > 1 %]
- There are [% keyword.bug_count FILTER html %] [%+ terms.bugs %] with
- this keyword set.
+ There are [% keyword.bug_count FILTER html %] [%+ terms.bugs %]
[% END %]
-
- Are you <b>sure</b> you want to delete
- the <code>[% keyword.name FILTER html %]</code> keyword?
+ with the <em>[% keyword.name FILTER html %]</em> keyword set.
+</p>
+
+<p>
+ Do you really want to delete this keyword?
</p>
<form method="post" action="editkeywords.cgi">
<input type="hidden" name="id" value="[% keyword.id FILTER html %]">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="token" value="[% token FILTER html %]">
- <input type="submit" id="delete"
- value="Yes, really delete the keyword">
+ <input type="submit" id="delete" value="Yes, delete">
</form>
<p><a href="editkeywords.cgi">Edit other keywords</a>.</p>
diff --git a/template/en/default/admin/keywords/create.html.tmpl b/template/en/default/admin/keywords/create.html.tmpl
index 10de960cb..3c310cce0 100644
--- a/template/en/default/admin/keywords/create.html.tmpl
+++ b/template/en/default/admin/keywords/create.html.tmpl
@@ -9,14 +9,15 @@
[%# INTERFACE:
# none
#%]
-
+
[% PROCESS global/header.html.tmpl
title = "Add keyword"
subheader = "This page allows you to add a new keyword."
+ style_urls = ['skins/standard/admin.css']
%]
<form method="post" action="editkeywords.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
+ <table id="admin_table_edit">
<tr>
<th>Name:</th>
<td><input size="64" maxlength="64" name="name" value=""></td>
@@ -33,13 +34,15 @@
</td>
</tr>
</table>
- <hr>
+
<input type="hidden" name="id" value="-1">
<input type="submit" id="create" value="Add">
<input type="hidden" name="action" value="new">
<input type="hidden" name="token" value="[% token FILTER html %]">
</form>
+<hr>
+
<p><a href="editkeywords.cgi">Edit other keywords</a>.</p>
[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/keywords/edit.html.tmpl b/template/en/default/admin/keywords/edit.html.tmpl
index f8b74ab21..1c3d1c3c5 100644
--- a/template/en/default/admin/keywords/edit.html.tmpl
+++ b/template/en/default/admin/keywords/edit.html.tmpl
@@ -12,10 +12,11 @@
[% PROCESS global/header.html.tmpl
title = "Edit keyword"
+ style_urls = ['skins/standard/admin.css']
%]
<form method="post" action="editkeywords.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
+ <table id="admin_table_edit">
<tr>
<th>Name:</th>
<td><input size="64" maxlength="64" name="name"
diff --git a/template/en/default/admin/milestones/confirm-delete.html.tmpl b/template/en/default/admin/milestones/confirm-delete.html.tmpl
index 2318a76bb..bc8b4eee3 100644
--- a/template/en/default/admin/milestones/confirm-delete.html.tmpl
+++ b/template/en/default/admin/milestones/confirm-delete.html.tmpl
@@ -21,33 +21,33 @@
style_urls = ['skins/standard/admin.css']
%]
-<table border="1" cellpadding="4" cellspacing="0">
-<tr class="column_header">
- <th valign="top" class="left">Field</th>
- <th valign="top" class="left">Value</th>
-</tr>
-<tr>
- <td valign="top">Milestone:</td>
- <td valign="top">[% milestone.name FILTER html %]</td>
-</tr>
-<tr>
- <td valign="top">Milestone of Product:</td>
- <td valign="top">[% product.name FILTER html %]</td>
-</tr>
-<tr>
- <td valign="top">[% terms.Bugs %]:</td>
- <td valign="top">
-[% IF milestone.bug_count %]
- <a title="List of [% terms.bugs %] targetted at milestone '
- [% milestone.name FILTER html %]'"
- href="buglist.cgi?target_milestone=[% milestone.name FILTER uri %]&amp;product=
- [%- product.name FILTER uri %]">
+<table id="admin_table">
+ <tr class="column_header">
+ <th>Field</th>
+ <th>Value</th>
+ </tr>
+ <tr>
+ <td>Milestone</td>
+ <td>[% milestone.name FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>Milestone of Product</td>
+ <td>[% product.name FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>[% terms.Bugs %]</td>
+ <td>
+ [% IF milestone.bug_count %]
+ <a title="List of [% terms.bugs %] targetted at milestone '
+ [%- milestone.name FILTER html %]'"
+ href="buglist.cgi?target_milestone=[% milestone.name FILTER uri %]&amp;product=
+ [%- product.name FILTER uri %]">
[% milestone.bug_count FILTER none %]</a>
-[% ELSE %]
- None
-[% END %]
- </td>
-</tr>
+ [% ELSE %]
+ None
+ [% END %]
+ </td>
+ </tr>
</table>
<h2>Confirmation</h2>
diff --git a/template/en/default/admin/milestones/create.html.tmpl b/template/en/default/admin/milestones/create.html.tmpl
index 31352a963..78ef49a8a 100644
--- a/template/en/default/admin/milestones/create.html.tmpl
+++ b/template/en/default/admin/milestones/create.html.tmpl
@@ -17,11 +17,12 @@
[% PROCESS global/header.html.tmpl
title = title
subheader = subheader
+ style_urls = ['skins/standard/admin.css']
onload = "document.forms['f'].milestone.focus()"
%]
<form name="f" method="post" action="editmilestones.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
+ <table id="admin_table_edit">
<tr>
<th><label for="milestone">Milestone:</label></th>
<td><input id="milestone" size="64" maxlength="64" name="milestone"
diff --git a/template/en/default/admin/milestones/edit.html.tmpl b/template/en/default/admin/milestones/edit.html.tmpl
index 759bd708a..86d0ebc1e 100644
--- a/template/en/default/admin/milestones/edit.html.tmpl
+++ b/template/en/default/admin/milestones/edit.html.tmpl
@@ -17,24 +17,24 @@
[%- product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
onload = "document.forms['f'].milestone.select()"
%]
<form name="f" method="post" action="editmilestones.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
-
+ <table id="admin_table_edit">
<tr>
- <th class="field_label"><label for="milestone">Milestone:</label></th>
+ <th><label for="milestone">Milestone:</label></th>
<td><input id="milestone" size="64" maxlength="64" name="milestone" value="
[%- milestone.name FILTER html %]"></td>
</tr>
<tr>
- <th class="field_label"><label for="sortkey">Sortkey:</label></th>
+ <th><label for="sortkey">Sortkey:</label></th>
<td><input id="sortkey" size="20" maxlength="20" name="sortkey" value="
[%- milestone.sortkey FILTER html %]"></td>
</tr>
<tr>
- <th class="field_label"><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>
+ <th><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>
<td><input id="isactive" name="isactive" type="checkbox" value="1"
[% 'checked="checked"' IF milestone.isactive %]></td>
</tr>
diff --git a/template/en/default/admin/params/editparams.html.tmpl b/template/en/default/admin/params/editparams.html.tmpl
index 3febbaba4..50a0a2ea5 100644
--- a/template/en/default/admin/params/editparams.html.tmpl
+++ b/template/en/default/admin/params/editparams.html.tmpl
@@ -40,9 +40,8 @@
doc_section = "parameters.html"
%]
-<table border="0" width="100%">
- <tr>
- <td>
+<div class="table">
+ <div class="cell">
[%# NAVIGATION BAR %]
<table id="menu">
<tr>
@@ -66,8 +65,9 @@
</tr>
[% END %]
</table>
- </td>
- <td>
+ </div>
+
+ <div class="cell">
[% IF curpanel == -1 %]
[% PROCESS admin/params/index.html.tmpl panels = panels %]
[% ELSE %]
@@ -96,8 +96,7 @@
<input type="submit" id="save-params" value="Save Changes">
</form>
[% END %]
- </td>
- </tr>
-</table>
+ </div>
+</div>
[% INCLUDE global/footer.html.tmpl %]
diff --git a/template/en/default/admin/products/confirm-delete.html.tmpl b/template/en/default/admin/products/confirm-delete.html.tmpl
index 626513526..2e02068a4 100644
--- a/template/en/default/admin/products/confirm-delete.html.tmpl
+++ b/template/en/default/admin/products/confirm-delete.html.tmpl
@@ -24,20 +24,19 @@
style_urls = ['skins/standard/admin.css']
%]
-<table border="1" cellpadding="4" cellspacing="0">
+<table id="admin_table">
<tr class="column_header">
- <th valign="top" class="left">Field</th>
- <th valign="top" class="left">Value</th>
+ <th>Field</th>
+ <th>Value</th>
</tr>
[% IF Param('useclassification') %]
<tr>
- <td>Classification:</td>
+ <td>Classification</td>
<td>[% classification.name FILTER html %]</td>
</tr>
<tr>
- <td>Classification Description:</td>
- [%# descriptions are intentionally not filtered to allow html content %]
+ <td>Classification Description</td>
<td>
[% IF classification.description %]
[% classification.description FILTER html_light %]
@@ -49,22 +48,21 @@
[% END %]
<tr>
- <td valign="top">Product:</td>
- <td valign="top">
+ <td>Product</td>
+ <td>
<a href="editproducts.cgi?product=[% product.name FILTER uri %]">
[% product.name FILTER html %]
</a>
</td>
</tr>
<tr>
- <td valign="top">Description:</td>
- [%# descriptions are intentionally not filtered to allow html content %]
- <td valign="top">[% product.description FILTER html_light %]</td>
+ <td>Description</td>
+ <td>[% product.description FILTER html_light %]</td>
</tr>
[% IF Param('usetargetmilestone') %]
<tr>
- <td>Milestone URL:</td>
+ <td>Milestone URL</td>
<td>
[% IF product.milestone_url %]
<a href="[% product.milestone_url FILTER html %]">
@@ -78,7 +76,7 @@
[% END %]
<tr>
- <td>Closed for [% terms.bugs %]:</td>
+ <td>Closed for [% terms.bugs %]</td>
<td>
[% IF product.is_active %]
open
@@ -93,15 +91,15 @@
[% IF product.components.size > 0 %]
<a href="editcomponents.cgi?product=[% product.name FILTER uri %]"
title="Edit components for product '[% product.name FILTER html %]'">
- Components:
+ Components
</a>
[% ELSE %]
- Components:
+ Components
[% END %]
</td>
<td>
[% IF product.components.size > 0 %]
- <table>
+ <table class="no-border">
[% FOREACH c = product.components %]
<tr>
<th>[% c.name FILTER html %]:</th>
@@ -119,17 +117,19 @@
<td>
[% IF product.versions.size > 0 %]
<a href="editversions.cgi?product=[%- product.name FILTER uri %]">
- Versions:
+ Versions
</a>
[% ELSE %]
- Versions:
+ Versions
[% END %]
</td>
<td>
[% IF product.versions.size > 0 %]
- [% FOREACH v = product.versions %]
- [% v.name FILTER html %]<br>
- [% END %]
+ <div class="multi-columns">
+ [% FOREACH v = product.versions %]
+ [% v.name FILTER html %]<br>
+ [% END %]
+ </div>
[% ELSE %]
none
[% END %]
@@ -139,20 +139,22 @@
[% IF Param('usetargetmilestone') %]
<tr>
- <td valign="top">
+ <td>
[% IF product.milestones.size > 0 %]
<a href="editmilestones.cgi?product=[%- product.name FILTER uri %]">
- Milestones:
+ Milestones
</a>
[% ELSE %]
- Milestones:
+ Milestones
[% END %]
</td>
<td>
[% IF product.milestones.size > 0 %]
- [% FOREACH m = product.milestones %]
- [% m.name FILTER html %]<br>
- [% END %]
+ <div class="multi-columns">
+ [% FOREACH m = product.milestones %]
+ [% m.name FILTER html %]<br>
+ [% END %]
+ </div>
[% ELSE %]
none
[% END %]
@@ -161,7 +163,7 @@
[% END %]
<tr>
- <td>[% terms.Bugs %]:</td>
+ <td>[% terms.Bugs %]</td>
<td>
[% IF product.bug_count %]
<a href="buglist.cgi?product=[% product.name FILTER uri %]"
@@ -181,41 +183,34 @@
[% IF !Param("allowbugdeletion") %]
- <p class="confirmation">Sorry, there
-
- [% IF product.bug_count > 1 %]
- are [% product.bug_count FILTER html %] [%+ terms.bugs %]
- [% ELSE %]
- is 1 [% terms.bug %]
- [% END %]
-
- outstanding for this product. You must reassign
-
- [% IF product.bug_count > 1 %]
- those [% terms.bugs %]
- [% ELSE %]
- that [% terms.bug %]
- [% END %]
-
- to another product before you can delete this one.</p>
+ <p class="confirmation">
+ Sorry, there
+ [% IF product.bug_count > 1 %]
+ are [% product.bug_count FILTER html %] [%+ terms.bugs %]
+ [% ELSE %]
+ is 1 [% terms.bug %]
+ [% END %]
+ outstanding for this product. You must reassign
+ [% IF product.bug_count > 1 %]
+ those [% terms.bugs %]
+ [% ELSE %]
+ that [% terms.bug %]
+ [% END %]
+ to another product before you can delete this one.
+ </p>
[% ELSE %]
- <table class="confirmation">
- <tr>
- <td>
- There
- [% IF product.bug_count > 1 %]
- are [% product.bug_count FILTER html %] [%+ terms.bugs %]
- [% ELSE %]
- is 1 [% terms.bug %]
- [% END %]
- entered for this product! When you delete this
- product, <b>ALL</b> stored [% terms.bugs %] and
- their history will be deleted, too.
- </td>
- </tr>
- </table>
+ <p class="confirmation">
+ There
+ [% IF product.bug_count > 1 %]
+ are [% product.bug_count FILTER html %] [%+ terms.bugs %]
+ [% ELSE %]
+ is 1 [% terms.bug %]
+ [% END %]
+ entered for this product! When you delete this product, <b>ALL</b>
+ stored [% terms.bugs %] and their history will be deleted, too.
+ </p>
[% END %]
diff --git a/template/en/default/admin/products/create.html.tmpl b/template/en/default/admin/products/create.html.tmpl
index 576e216d6..da63a2ff5 100644
--- a/template/en/default/admin/products/create.html.tmpl
+++ b/template/en/default/admin/products/create.html.tmpl
@@ -30,7 +30,7 @@
%]
<form method="post" action="editproducts.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
+ <table id="admin_table_edit">
[% PROCESS "admin/products/edit-common.html.tmpl" %]
diff --git a/template/en/default/admin/products/edit.html.tmpl b/template/en/default/admin/products/edit.html.tmpl
index fdbbe42c2..21689d9a7 100644
--- a/template/en/default/admin/products/edit.html.tmpl
+++ b/template/en/default/admin/products/edit.html.tmpl
@@ -30,12 +30,12 @@
%]
<form method="post" action="editproducts.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
+ <table id="admin_table_edit">
[% PROCESS "admin/products/edit-common.html.tmpl" %]
<tr>
- <th valign="top">
+ <th>
<a href="editcomponents.cgi?product=[% product.name FILTER uri %]">
Edit components:
</a>
@@ -55,16 +55,16 @@
</td>
</tr>
<tr>
- <th valign="top">
- <a href="editversions.cgi?product=[% product.name FILTER uri %]">Edit
-versions:</a>
+ <th>
+ <a href="editversions.cgi?product=[% product.name FILTER uri %]">Edit versions:</a>
</th>
<td>
[%- IF product.versions.size -%]
- [% FOREACH v = product.versions %]
- [% v.name FILTER html %]
- <br>
- [% END %]
+ <div class="multi-columns">
+ [% FOREACH v = product.versions %]
+ [% v.name FILTER html %]<br>
+ [% END %]
+ </div>
[% ELSE %]
<span class="warning">missing</span>
[% END %]
@@ -72,16 +72,17 @@ versions:</a>
</tr>
[% IF Param('usetargetmilestone') %]
<tr>
- <th valign="top">
+ <th>
<a href="editmilestones.cgi?product=[% product.name FILTER uri %]">
Edit milestones:</a>
</th>
<td>
[%- IF product.milestones.size -%]
- [%- FOREACH m = product.milestones -%]
- [% m.name FILTER html %]
- <br>
- [% END %]
+ <div class="multi-columns">
+ [%- FOREACH m = product.milestones -%]
+ [% m.name FILTER html %]<br>
+ [% END %]
+ </div>
[% ELSE %]
<span class="warning">missing</span>
[% END %]
@@ -89,7 +90,7 @@ versions:</a>
</tr>
[% END %]
<tr>
- <th valign="top">
+ <th>
<a href="editproducts.cgi?action=editgroupcontrols&product=
[%- product.name FILTER uri %]">
Edit Group Access Controls:
@@ -98,7 +99,7 @@ versions:</a>
<td>
[% IF product.group_controls.size %]
[% FOREACH g = product.group_controls.values.sort("name") %]
- <b>[% g.group.name FILTER html %]:</b>&nbsp;
+ <b>[% g.group.name FILTER html %]:</b>
[% IF g.group.isactive %]
[% group_control.${g.membercontrol} FILTER html %]/
[% group_control.${g.othercontrol} FILTER html %]
@@ -119,8 +120,10 @@ versions:</a>
</tr>
<tr>
<th>[% terms.Bugs %]:</th>
- <td><a href="buglist.cgi?product=[% product.name FILTER uri %]">
- [% product.bug_count FILTER html %]</a></td>
+ <td>
+ <a href="buglist.cgi?product=[% product.name FILTER uri %]">
+ [% product.bug_count FILTER html %]</a>
+ </td>
</tr>
</table>
diff --git a/template/en/default/admin/products/groupcontrol/edit.html.tmpl b/template/en/default/admin/products/groupcontrol/edit.html.tmpl
index 62e1439ad..876d95f92 100644
--- a/template/en/default/admin/products/groupcontrol/edit.html.tmpl
+++ b/template/en/default/admin/products/groupcontrol/edit.html.tmpl
@@ -24,7 +24,7 @@
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
- <table id="form" cellspacing="0" cellpadding="4" border="1">
+ <table id="admin_table">
<tr class="column_header">
<th>Group</th>
<th>Entry</th>
@@ -40,7 +40,7 @@
[% IF !group.group.isactive %]
<tr class="disabled">
<td>[% group.group.name FILTER html %]</td>
- <td align="center" colspan="7">Disabled</td>
+ <td class="center" colspan="7">Disabled</td>
<td>[% group.bug_count FILTER html %]</td>
</tr>
[% ELSE %]
@@ -167,7 +167,7 @@ indicate which [% terms.bugs %] will be placed in
this group according to the following definitions.
</p>
-<table border=1>
+<table id="group_settings_desc">
<tr>
<th>
MemberControl
diff --git a/template/en/default/admin/settings/edit.html.tmpl b/template/en/default/admin/settings/edit.html.tmpl
index 411c527a6..86fb79e7b 100644
--- a/template/en/default/admin/settings/edit.html.tmpl
+++ b/template/en/default/admin/settings/edit.html.tmpl
@@ -16,41 +16,38 @@
#%]
[% PROCESS global/header.html.tmpl
- title = "Default Preferences"
- %]
+ title = "Default Preferences"
+ style_urls = ['skins/standard/admin.css']
+%]
[% PROCESS "global/setting-descs.none.tmpl" %]
<p>
-This lets you edit the default preferences values.
+ This lets you edit the default preferences values. The Default Value displayed
+ for each preference will apply to all users who do not choose their own value,
+ and to anyone who is not logged in.
</p>
-<p>
-The Default Value displayed for each preference will apply to all users who
-do not choose their own value, and to anyone who is not logged in.
-</p>
-<p>
-The 'Enabled' checkbox controls whether or not this preference is available
-to users.<br>
-If it is checked, users will see this preference on their User Preferences page,
-and will be allowed to choose their own value if they desire.<br>
-If it is not checked, this preference will not appear on the User Preference
-page, and the Default Value will automatically apply to everyone.
-</p>
-<hr>
-[% IF settings.size %]
- <form name="adminsettingform" method="post" action="editsettings.cgi">
- <table border="1" cellpadding="4">
- <tr>
- <th>Preference Text</th>
- <th>Default Value</th>
- <th>Enabled</th>
- </tr>
+<div>
+ The 'Enabled' checkbox controls whether or not this preference is available to users:
+ <ul>
+ <li>If it is checked, users will be allowed to choose their own value if they desire.</li>
+ <li>If it is not checked, the Default Value will automatically apply to everyone.</li>
+ </ul>
+</div>
+
+ <form id="settings" method="post" action="editsettings.cgi">
+ <table id="admin_table">
+ <tr class="column_header">
+ <th>Preference Text</th>
+ <th>Default Value</th>
+ <th>Enabled</th>
+ </tr>
- [% FOREACH name = settings.keys %]
+ [% FOREACH name = settings.keys %]
[% checkbox_name = name _ '-enabled' %]
<tr>
- <td align="right">
+ <td>
[% setting_descs.$name OR name FILTER html %]
</td>
<td>
@@ -63,31 +60,19 @@ page, and the Default Value will automatically apply to everyone.
[% END %]
</select>
</td>
- <td align="center">
+ <td class="center">
<input type="checkbox"
name="[% checkbox_name FILTER html %]"
id="[% checkbox_name FILTER html %]"
[% " checked=\"checked\"" IF settings.${name}.is_enabled %]>
- <br>
</td>
</tr>
- [% END %]
+ [% END %]
</table>
<input type="hidden" name="action" value="update">
<input type="hidden" name="token" value="[% token FILTER html %]">
- <table>
- <tr>
- <td width="150"></td>
- <td>
- <input type="submit" id="update" value="Submit Changes">
- </td>
- </tr>
- </table>
-
+ <input type="submit" id="update" value="Submit Changes">
</form>
-[% ELSE %]
- There are no preferences to edit.
-[% END %]
[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/users/responsibilities.html.tmpl b/template/en/default/admin/users/responsibilities.html.tmpl
index 9e6e48c6a..c2f6584b9 100644
--- a/template/en/default/admin/users/responsibilities.html.tmpl
+++ b/template/en/default/admin/users/responsibilities.html.tmpl
@@ -7,7 +7,7 @@
#%]
[% hidden_products = 0 %]
-<table id="user_responsibilities" border="0">
+<table id="user_responsibilities">
[% FOREACH item = otheruser.product_responsibilities %]
[% IF !user.can_see_product(item.product.name) %]
[% hidden_products = 1 %]
diff --git a/template/en/default/admin/versions/confirm-delete.html.tmpl b/template/en/default/admin/versions/confirm-delete.html.tmpl
index ca5b4ef21..928170f50 100644
--- a/template/en/default/admin/versions/confirm-delete.html.tmpl
+++ b/template/en/default/admin/versions/confirm-delete.html.tmpl
@@ -21,33 +21,33 @@
style_urls = ['skins/standard/admin.css']
%]
-<table border="1" cellpadding="4" cellspacing="0">
-<tr class="column_header">
- <th valign="top" class="left">Field</th>
- <th valign="top" class="left">Value</th>
-</tr>
-<tr>
- <td valign="top">Version:</td>
- <td valign="top">[% version.name FILTER html %]</td>
-</tr>
-<tr>
- <td valign="top">Version of Product:</td>
- <td valign="top">[% product.name FILTER html %]</td>
-</tr>
-<tr>
- <td valign="top">[% terms.Bugs %]:</td>
- <td valign="top">
-[% IF version.bug_count %]
- <a title="List of [% terms.bugs %] targetted at version '
- [%- version.name FILTER html %]'"
- href="buglist.cgi?version=[% version.name FILTER uri %]&amp;product=
- [%- product.name FILTER uri %]">
- [%- version.bug_count FILTER none %]</a>
-[% ELSE %]
- None
-[% END %]
- </td>
-</tr>
+<table id="admin_table">
+ <tr class="column_header">
+ <th>Field</th>
+ <th>Value</th>
+ </tr>
+ <tr>
+ <td>Version</td>
+ <td>[% version.name FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>Version of Product</td>
+ <td>[% product.name FILTER html %]</td>
+ </tr>
+ <tr>
+ <td>[% terms.Bugs %]</td>
+ <td>
+ [% IF version.bug_count %]
+ <a title="List of [% terms.bugs %] targetted at version '
+ [%- version.name FILTER html %]'"
+ href="buglist.cgi?version=[% version.name FILTER uri %]&amp;product=
+ [%- product.name FILTER uri %]">
+ [%- version.bug_count FILTER none %]</a>
+ [% ELSE %]
+ None
+ [% END %]
+ </td>
+ </tr>
</table>
<h2>Confirmation</h2>
diff --git a/template/en/default/admin/versions/create.html.tmpl b/template/en/default/admin/versions/create.html.tmpl
index 3544a697b..46bd38c17 100644
--- a/template/en/default/admin/versions/create.html.tmpl
+++ b/template/en/default/admin/versions/create.html.tmpl
@@ -17,10 +17,11 @@
[% PROCESS global/header.html.tmpl
title = title
subheader = subheader
+ style_urls = ['skins/standard/admin.css']
%]
<form method="post" action="editversions.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
+ <table id="admin_table_edit">
<tr>
<th><label for="version">Version:</label></th>
<td><input id="version" size="64" maxlength="64" name="version"
diff --git a/template/en/default/admin/versions/edit.html.tmpl b/template/en/default/admin/versions/edit.html.tmpl
index 195a94c26..4ea202c04 100644
--- a/template/en/default/admin/versions/edit.html.tmpl
+++ b/template/en/default/admin/versions/edit.html.tmpl
@@ -17,20 +17,24 @@
[%- product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
%]
<form method="post" action="editversions.cgi">
- <table border="0" cellpadding="4" cellspacing="0">
-
+ <table id="admin_table_edit">
<tr>
- <th class="field_label"><label for="version">Version:</label></th>
- <td><input id="version" size="64" maxlength="64" name="version" value="
- [%- version.name FILTER html %]"></td>
+ <th><label for="version">Version:</label></th>
+ <td>
+ <input id="version" size="64" maxlength="64" name="version"
+ value="[% version.name FILTER html %]">
+ </td>
</tr>
<tr>
- <th class="field_label"><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>
- <td><input id="isactive" name="isactive" type="checkbox" value="1"
- [% 'checked="checked"' IF version.isactive %]></td>
+ <th><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>
+ <td>
+ <input id="isactive" name="isactive" type="checkbox" value="1"
+ [% 'checked="checked"' IF version.isactive %]>
+ </td>
</tr>
</table>