Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
59f642f7
Commit
59f642f7
authored
Feb 12, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 464187: Make the text inputs in the show_bug edit form grow with the window
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=pyrzak, a=mkanat
parent
c09a9a46
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
7 deletions
+31
-7
show_bug.css
skins/standard/show_bug.css
+23
-1
edit.html.tmpl
template/en/default/bug/edit.html.tmpl
+5
-4
field.html.tmpl
template/en/default/bug/field.html.tmpl
+3
-2
No files found.
skins/standard/show_bug.css
View file @
59f642f7
...
...
@@ -7,8 +7,30 @@
font-weight
:
bold
;
}
.bz_bug
.edit_form
{
width
:
100%
;
}
.bz_bug
.edit_form
table
{
width
:
100%
;
}
.bz_bug
.edit_form
.text_input
{
width
:
100%
;
min-width
:
25em
;
}
.bz_bug
#alias
{
min-width
:
0
;
width
:
10em
;
}
.flags_label
{
text-align
:
left
;
}
table
#flags
{
width
:
auto
;
}
.bz_column_spacer
{
width
:
2
em
;
width
:
0.5
em
;
}
.related_actions
{
...
...
template/en/default/bug/edit.html.tmpl
View file @
59f642f7
...
...
@@ -147,7 +147,7 @@
<input type="hidden" name="token" value="[% issue_hash_token([bug.id, bug.delta_ts]) FILTER html %]">
[% PROCESS section_title %]
<table>
<table
class="edit_form"
>
<tr>
[%# 1st Column %]
<td id="bz_show_bug_column_1" class="bz_show_bug_column">
...
...
@@ -298,7 +298,7 @@
[% BLOCK section_title %]
[%# That's the main table, which contains all editable fields. %]
<div class="bz_alias_short_desc_container">
<div class="bz_alias_short_desc_container
edit_form
">
[% PROCESS commit_button id="_top"%]
<a href="show_bug.cgi?id=[% bug.bug_id %]">
<b>[% terms.Bug %] [% bug.bug_id FILTER html %]</b></a> -
...
...
@@ -931,7 +931,7 @@
[% END %]
[% IF show_bug_flags %]
<tr>
<td class="field_label">
<td class="field_label
flags_label
">
<label><b>Flags:</b></label>
</td>
<td></td>
...
...
@@ -991,6 +991,7 @@
<span id="[% dep.fieldname %]_input_area">
[% IF bug.check_can_change_field(dep.fieldname, 0, 1) %]
<input name="[% dep.fieldname %]" id="[% dep.fieldname %]"
class="text_input"
value="[% bug.${dep.fieldname}.join(', ') %]">
[% END %]
</span>
...
...
@@ -1126,7 +1127,7 @@
[% END %]
[% val = value ? value : bug.$inputname %]
[% IF bug.check_can_change_field(inputname, 0, 1) %]
<input id="[% inputname %]" name="[% inputname %]"
<input id="[% inputname %]" name="[% inputname %]"
class="text_input"
value="[% val FILTER html %]"[% " size=\"$size\"" IF size %]
[% " maxlength=\"$maxlength\"" IF maxlength %]
[% " spellcheck=\"$spellcheck\"" IF spellcheck %]>
...
...
template/en/default/bug/field.html.tmpl
View file @
59f642f7
...
...
@@ -72,7 +72,8 @@
[% IF editable %]
[% SWITCH field.type %]
[% CASE constants.FIELD_TYPE_FREETEXT %]
<input id="[% field.name FILTER html %]" name="[% field.name FILTER html %]"
<input id="[% field.name FILTER html %]" class="text_input"
name="[% field.name FILTER html %]"
value="[% value FILTER html %]" size="40"
maxlength="[% constants.MAX_FREETEXT_LENGTH FILTER none %]">
[% CASE constants.FIELD_TYPE_DATETIME %]
...
...
@@ -184,7 +185,7 @@
<strong>Add [% terms.Bug %] URLs:</strong>
</label><br>
<input type="text" id="[% field.name FILTER html %]"
name="[% field.name FILTER html %]" size="40">
class="text_input"
name="[% field.name FILTER html %]" size="40">
[% END %]
[% ELSIF field.type == constants.FIELD_TYPE_TEXTAREA %]
<div class="uneditable_textarea">[% value FILTER wrap_comment(60)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment