From a7184bbe78976d071b6818b81738d61adb3b9aca Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 20 Jan 2017 15:52:24 +0100 Subject: [PATCH] Artikelsuche: Inputs gleich lang gemacht --- templates/webpages/amcvar/search_filter.html | 1 - templates/webpages/ic/search.html | 31 ++++++++++++-------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/templates/webpages/amcvar/search_filter.html b/templates/webpages/amcvar/search_filter.html index e2ff61555..96b774418 100644 --- a/templates/webpages/amcvar/search_filter.html +++ b/templates/webpages/amcvar/search_filter.html @@ -16,7 +16,6 @@ [%- ELSIF var.type == 'date' %] - [% 'from (time)' | $T8 %] [% L.date_tag(filter_prefix _'cvar_'_ HTML.escape(var.name) _'_from') %] [% 'to (time)' | $T8 %] diff --git a/templates/webpages/ic/search.html b/templates/webpages/ic/search.html index 5cd97c7df..ad5722eef 100644 --- a/templates/webpages/ic/search.html +++ b/templates/webpages/ic/search.html @@ -3,6 +3,7 @@ [%- USE LxERP %] [%- USE L %] [%- USE P %] +[% SET style="width: 250px" %]

[% title %]

@@ -45,48 +46,52 @@ [% 'Part Number' | $T8 %] - + [% L.input_tag("partnumber", "", style=style) %] [% 'EAN' | $T8 %] - + [% L.input_tag("ean", "", style=style) %] [% 'Part Classification' | $T8 %]: - [% P.select_classification('classification_id') %] + [% P.select_classification('classification_id', style=style) %] [% 'Part Description' | $T8 %] - + [% L.input_tag("description", "", style=style, class="initial_focus") %] [% 'Partsgroup' | $T8 %] - [% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, default=partsgroup, title_key="partsgroup", style="width: 250px") %] - [% 'Serial Number' | $T8 %] + [% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, default=partsgroup, title_key="partsgroup", style=style) %] + [% 'Serial Number' | $T8 %] + [% L.input_tag("serialnumber", "", style=style) %] [%- UNLESS is_service %] - [% 'Make' | $T8 %] - [% 'Model' | $T8 %] + [% 'Make' | $T8 %] + [% L.input_tag("make", "", style=style) %] + [% 'Model' | $T8 %] + [% L.input_tag("model", "", style=style) %] [%- END %] [% 'Drawing' | $T8 %] - + [% L.input_tag("drawing", "", style=style) %] [% 'Microfiche' | $T8 %] - + [% L.input_tag("microfiche", "", style=style) %] [% 'Shop article' | $T8 %] - [% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='---') %] + [% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='---', style=style) %] [% 'Insert Date' | $T8 %] - [% 'From' | $T8 %][% L.date_tag('insertdatefrom') %] - [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %] + [% L.date_tag('insertdatefrom') %] + [% 'Bis' | $T8 %] + [% L.date_tag('insertdateto') %] -- 2.20.1