Commit 377e583d authored by Matt Selsky's avatar Matt Selsky Committed by Frédéric Buclin

Bug 615636: Labels are badly aligned when editing versions and milestones in admin pages

r/a=LpSolit
parent 613d9ce7
...@@ -27,15 +27,16 @@ ...@@ -27,15 +27,16 @@
[% DEFAULT desc_name = "description" %] [% DEFAULT desc_name = "description" %]
<tr> <tr>
<th align="right">Component:</th> <th class="field_label"><label for="component">Component:</label></th>
<td><input size="64" maxlength="64" name="component" <td><input size="64" maxlength="64" name="component" id="component"
value="[%- comp.name FILTER html %]"></td> value="[%- comp.name FILTER html %]"></td>
</tr> </tr>
<tr> <tr>
<th align="right">Component Description:</th> <th class="field_label"><label for="[% desc_name FILTER html %]">Component Description:</label></th>
<td> <td>
[% INCLUDE global/textarea.html.tmpl [% INCLUDE global/textarea.html.tmpl
name = desc_name name = desc_name
id = desc_name
minrows = 4 minrows = 4
cols = 64 cols = 64
wrap = 'virtual' wrap = 'virtual'
...@@ -44,7 +45,7 @@ ...@@ -44,7 +45,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<th align="right"><label for="initialowner">Default Assignee:</label></th> <th class="field_label"><label for="initialowner">Default Assignee:</label></th>
<td> <td>
[% INCLUDE global/userselect.html.tmpl [% INCLUDE global/userselect.html.tmpl
name => "initialowner" name => "initialowner"
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
</tr> </tr>
[% IF Param('useqacontact') %] [% IF Param('useqacontact') %]
<tr> <tr>
<th align="right"><label for="initialqacontact">Default QA contact:</label></th> <th class="field_label"><label for="initialqacontact">Default QA contact:</label></th>
<td> <td>
[% INCLUDE global/userselect.html.tmpl [% INCLUDE global/userselect.html.tmpl
name => "initialqacontact" name => "initialqacontact"
...@@ -69,7 +70,7 @@ ...@@ -69,7 +70,7 @@
</tr> </tr>
[% END %] [% END %]
<tr> <tr>
<th align="right"><label for="initialcc">Default CC List:</label></th> <th class="field_label"><label for="initialcc">Default CC List:</label></th>
<td> <td>
[% INCLUDE global/userselect.html.tmpl [% INCLUDE global/userselect.html.tmpl
name => "initialcc" name => "initialcc"
......
...@@ -43,12 +43,12 @@ ...@@ -43,12 +43,12 @@
[% PROCESS "admin/components/edit-common.html.tmpl" %] [% PROCESS "admin/components/edit-common.html.tmpl" %]
<tr> <tr>
<td><label for="isactive">Enabled For [% terms.Bugs %]:</label></td> <th class="field_label"><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>
<td><input id="isactive" name="isactive" type="checkbox" value="1" <td><input id="isactive" name="isactive" type="checkbox" value="1"
[% 'checked="checked"' IF comp.isactive %]></td> [% 'checked="checked"' IF comp.isactive %]></td>
</tr> </tr>
<tr> <tr>
<td>[% terms.Bugs %]:</td> <th class="field_label">[% terms.Bugs %]:</th>
<td> <td>
[% IF comp.bug_count > 0 %] [% IF comp.bug_count > 0 %]
<a title="[% terms.Bugs %] in component '[% comp.name FILTER html %]'" <a title="[% terms.Bugs %] in component '[% comp.name FILTER html %]'"
......
...@@ -38,17 +38,17 @@ ...@@ -38,17 +38,17 @@
<table border="0" cellpadding="4" cellspacing="0"> <table border="0" cellpadding="4" cellspacing="0">
<tr> <tr>
<th valign="top"><label for="milestone">Milestone:</label></th> <th class="field_label"><label for="milestone">Milestone:</label></th>
<td><input id="milestone" size="20" maxlength="20" name="milestone" value=" <td><input id="milestone" size="20" maxlength="20" name="milestone" value="
[%- milestone.name FILTER html %]"></td> [%- milestone.name FILTER html %]"></td>
</tr> </tr>
<tr> <tr>
<th align="right"><label for="sortkey">Sortkey:</label></th> <th class="field_label"><label for="sortkey">Sortkey:</label></th>
<td><input id="sortkey" size="20" maxlength="20" name="sortkey" value=" <td><input id="sortkey" size="20" maxlength="20" name="sortkey" value="
[%- milestone.sortkey FILTER html %]"></td> [%- milestone.sortkey FILTER html %]"></td>
</tr> </tr>
<tr> <tr>
<th><label for="isactive">Enabled For [% terms.Bugs %]:</label></th> <th class="field_label"><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>
<td><input id="isactive" name="isactive" type="checkbox" value="1" <td><input id="isactive" name="isactive" type="checkbox" value="1"
[% 'checked="checked"' IF milestone.isactive %]></td> [% 'checked="checked"' IF milestone.isactive %]></td>
</tr> </tr>
......
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
<table border="0" cellpadding="4" cellspacing="0"> <table border="0" cellpadding="4" cellspacing="0">
<tr> <tr>
<th valign="top"><label for="version">Version:</label></th> <th class="field_label"><label for="version">Version:</label></th>
<td><input id="version" size="64" maxlength="64" name="version" value=" <td><input id="version" size="64" maxlength="64" name="version" value="
[%- version.name FILTER html %]"></td> [%- version.name FILTER html %]"></td>
</tr> </tr>
<tr> <tr>
<th><label for="isactive">Enabled For [% terms.Bugs %]:</label></th> <th class="field_label"><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>
<td><input id="isactive" name="isactive" type="checkbox" value="1" <td><input id="isactive" name="isactive" type="checkbox" value="1"
[% 'checked="checked"' IF version.isactive %]></td> [% 'checked="checked"' IF version.isactive %]></td>
</tr> </tr>
......
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