aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2025-12-28 15:52:16 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2025-12-28 15:52:16 +0100
commit61339c1d3d89dfb0068c2ff898a7e66b136b2be5 (patch)
treede5cd4267b0567306ab190c43aedfb4698db77da /template
parenta0d303033e804a1b19eaeda6b7c34bc41ce8f572 (diff)
downloadbugs-61339c1d3d89dfb0068c2ff898a7e66b136b2be5.tar
bugs-61339c1d3d89dfb0068c2ff898a7e66b136b2be5.tar.gz
bugs-61339c1d3d89dfb0068c2ff898a7e66b136b2be5.tar.bz2
bugs-61339c1d3d89dfb0068c2ff898a7e66b136b2be5.tar.xz
bugs-61339c1d3d89dfb0068c2ff898a7e66b136b2be5.zip
Improve the UI of the search page for small screens (mga#34432)
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/show-header.html.tmpl1
-rw-r--r--template/en/default/search/field.html.tmpl6
-rw-r--r--template/en/default/search/search-specific.html.tmpl2
3 files changed, 5 insertions, 4 deletions
diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl
index 583708492..a9e87fb2a 100644
--- a/template/en/default/bug/show-header.html.tmpl
+++ b/template/en/default/bug/show-header.html.tmpl
@@ -17,7 +17,6 @@
[% filtered_desc = bug.short_desc FILTER html %]
[% filtered_timestamp = bug.delta_ts FILTER time %]
-[% subheader = filtered_desc %]
[% title = "$bug.bug_id &ndash; " %]
[% IF bug.alias.size %]
[% title = title _ "($filtered_alias) " %]
diff --git a/template/en/default/search/field.html.tmpl b/template/en/default/search/field.html.tmpl
index 5a95d67c1..23b202457 100644
--- a/template/en/default/search/field.html.tmpl
+++ b/template/en/default/search/field.html.tmpl
@@ -21,7 +21,8 @@
selected = type_selected
%]
<input name="[% field.name FILTER html %]"
- id="[% field.name FILTER html %]" size="40"
+ id="[% field.name FILTER html %]"
+ class="text_field"
[% IF onchange %] onchange="[% onchange FILTER html %]"[% END %]
value="[% value FILTER html %]" [% 'autofocus' IF focus %]>
[% CASE constants.FIELD_TYPE_KEYWORDS %]
@@ -37,7 +38,8 @@
%]
<div id="[% field.name FILTER html %]_container">
<input name="[% field.name FILTER html %]"
- id="[% field.name FILTER html %]" size="40"
+ id="[% field.name FILTER html %]"
+ class="keywords_field"
[% IF onchange %] onchange="[% onchange FILTER html %]"[% END %]
value="[% value FILTER html %]" [% 'autofocus' IF focus %]>
<div id="[% field.name FILTER html %]_autocomplete"></div>
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl
index af61ce52f..9fb7523a3 100644
--- a/template/en/default/search/search-specific.html.tmpl
+++ b/template/en/default/search/search-specific.html.tmpl
@@ -73,7 +73,7 @@ for "crash secure SSL flash".
<label for="content">Words:</label>
</th>
<td>
- <input name="content" size="40" id="content" autofocus
+ <input name="content" id="content" autofocus
value="[% default.content.0 FILTER html %]"
[%- " required" UNLESS Param('search_allow_no_criteria') %]>
</td>