From: mkanat%bugzilla.org <> Date: Thu, 12 Feb 2009 19:04:53 +0000 (+0000) Subject: Bug 464187: Make the text inputs in the show_bug edit form grow with the window X-Git-Tag: bugzilla-3.3.4~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59f642f7dd0626db80a94da0f625678c0ebbf506;p=thirdparty%2Fbugzilla.git Bug 464187: Make the text inputs in the show_bug edit form grow with the window Patch By Max Kanat-Alexander r=pyrzak, a=mkanat --- diff --git a/skins/standard/show_bug.css b/skins/standard/show_bug.css index 17ce9afd02..3a91e8c7b4 100644 --- a/skins/standard/show_bug.css +++ b/skins/standard/show_bug.css @@ -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: 2em; + width: 0.5em; } .related_actions { diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index f097d0616c..b3b5c8d424 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -147,7 +147,7 @@ [% PROCESS section_title %] - +
[%# 1st Column %] - @@ -991,6 +991,7 @@ [% IF bug.check_can_change_field(dep.fieldname, 0, 1) %] [% END %] @@ -1126,7 +1127,7 @@ [% END %] [% val = value ? value : bug.$inputname %] [% IF bug.check_can_change_field(inputname, 0, 1) %] - diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index 3ae7302c6d..bdfdd099ee 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -72,7 +72,8 @@ [% IF editable %] [% SWITCH field.type %] [% CASE constants.FIELD_TYPE_FREETEXT %] - [% CASE constants.FIELD_TYPE_DATETIME %] @@ -184,7 +185,7 @@ Add [% terms.Bug %] URLs:
+ class="text_input" name="[% field.name FILTER html %]" size="40"> [% END %] [% ELSIF field.type == constants.FIELD_TYPE_TEXTAREA %]
[% value FILTER wrap_comment(60)
@@ -298,7 +298,7 @@ [% BLOCK section_title %] [%# That's the main table, which contains all editable fields. %] -
+
[% PROCESS commit_button id="_top"%] [% terms.Bug %] [% bug.bug_id FILTER html %] - @@ -931,7 +931,7 @@ [% END %] [% IF show_bug_flags %]
+