Bug 364164: <select> fields for flags are of different widths if you are not in the grant group for all flags - Patch by Frédéric Buclin <LpSolit@gmail.com> r=reed r=gerv a=LpSolit

git-svn-id: svn://10.0.0.236/trunk@227335 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com 2007-05-31 15:50:54 +00:00
parent b86f64139d
commit 865040f68d
2 changed files with 10 additions and 3 deletions

View File

@ -263,6 +263,10 @@ table#flags td {
text-align: left;
}
.flag_select {
min-width: 3em;
}
.throw_error {
background-color: #ff0000;
color: black;

View File

@ -105,7 +105,8 @@
<td>
<select id="flag-[% flag.id %]" name="flag-[% flag.id %]"
title="[% type.description FILTER html %]"
onchange="toggleRequesteeField(this);">
onchange="toggleRequesteeField(this);"
class="flag_select">
[%# Only display statuses the user is allowed to set. %]
[% IF user.can_request_flag(type) %]
<option value="X"></option>
@ -156,7 +157,8 @@
<select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]"
title="[% type.description FILTER html %]"
[% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %]
onchange="toggleRequesteeField(this);">
onchange="toggleRequesteeField(this);"
class="flag_select">
<option value="X"></option>
[% IF type.is_requestable && user.can_request_flag(type) %]
<option value="?">?</option>
@ -199,7 +201,8 @@
<select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]"
title="[% type.description FILTER html %]"
[% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %]
onchange="toggleRequesteeField(this);">
onchange="toggleRequesteeField(this);"
class="flag_select">
<option value="X"></option>
[% IF type.is_requestable && user.can_request_flag(type) %]
<option value="?">?</option>