Commit cd9895c9 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 364164: <select> fields for flags are of different widths if you are not in…

Bug 364164: <select> fields for flags are of different widths if you are not in the grant group for all flags - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=reed r=gerv a=LpSolit
parent 4c77e10c
...@@ -263,6 +263,10 @@ table#flags td { ...@@ -263,6 +263,10 @@ table#flags td {
text-align: left; text-align: left;
} }
.flag_select {
min-width: 3em;
}
.throw_error { .throw_error {
background-color: #ff0000; background-color: #ff0000;
color: black; color: black;
......
...@@ -105,7 +105,8 @@ ...@@ -105,7 +105,8 @@
<td> <td>
<select id="flag-[% flag.id %]" name="flag-[% flag.id %]" <select id="flag-[% flag.id %]" name="flag-[% flag.id %]"
title="[% type.description FILTER html %]" title="[% type.description FILTER html %]"
onchange="toggleRequesteeField(this);"> onchange="toggleRequesteeField(this);"
class="flag_select">
[%# Only display statuses the user is allowed to set. %] [%# Only display statuses the user is allowed to set. %]
[% IF user.can_request_flag(type) %] [% IF user.can_request_flag(type) %]
<option value="X"></option> <option value="X"></option>
...@@ -156,7 +157,8 @@ ...@@ -156,7 +157,8 @@
<select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]" <select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]"
title="[% type.description FILTER html %]" title="[% type.description FILTER html %]"
[% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %] [% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %]
onchange="toggleRequesteeField(this);"> onchange="toggleRequesteeField(this);"
class="flag_select">
<option value="X"></option> <option value="X"></option>
[% IF type.is_requestable && user.can_request_flag(type) %] [% IF type.is_requestable && user.can_request_flag(type) %]
<option value="?">?</option> <option value="?">?</option>
...@@ -199,7 +201,8 @@ ...@@ -199,7 +201,8 @@
<select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]" <select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]"
title="[% type.description FILTER html %]" title="[% type.description FILTER html %]"
[% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %] [% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %]
onchange="toggleRequesteeField(this);"> onchange="toggleRequesteeField(this);"
class="flag_select">
<option value="X"></option> <option value="X"></option>
[% IF type.is_requestable && user.can_request_flag(type) %] [% IF type.is_requestable && user.can_request_flag(type) %]
<option value="?">?</option> <option value="?">?</option>
......
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