From 518e6454ac06fa1702a0545af972e085d28db885 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 20 Jan 2017 15:18:27 +0100 Subject: [PATCH] Verkaufsrechnungssuche: Inputs gleich lang gemacht MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Naja gut… so gleich lang, wie Inputs nun mal werden, wenn man sie alle auf eine einheitliche Breite setzt. Comboboxes werden trotzdem leicht schmaler gerendert. --- templates/webpages/ar/search.html | 43 ++++++++++++++----------------- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/templates/webpages/ar/search.html b/templates/webpages/ar/search.html index 85f1d1249..d3e606bb1 100644 --- a/templates/webpages/ar/search.html +++ b/templates/webpages/ar/search.html @@ -1,5 +1,6 @@ [%- USE T8 %] [%- USE L %][%- USE P -%] +[%- SET style="width: 250px" %]

[% title %]

@@ -10,78 +11,72 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + [% IF ALL_BUSINESS_TYPES.as_list.size > 0 %] - + [% END %] - - - - -- 2.20.1
[% 'Customer' | $T8 %][% L.input_tag("customer", customer, style="width: 250px", class="initial_focus") %][% L.input_tag("customer", customer, style=style, class="initial_focus") %]
[% 'Contact Person' | $T8 %][% L.input_tag("cp_name", '', size=20) %][% L.input_tag("cp_name", '', style=style) %]
[% 'Department' | $T8 %][% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style="width: 200px") %][% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]
[% 'Invoice Number' | $T8 %][% L.input_tag("invnumber", "", style=style) %]
[% 'Order Number' | $T8 %][% L.input_tag("ordnumber", "", style=style) %]
[% 'Customer Order Number' | $T8 %][% L.input_tag("cusordnumber", "", style=style) %]
[% 'Employee' | $T8 %][% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %][% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style=style) %]
[% 'Salesman' | $T8 %][% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %][% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style=style) %]
[% 'Transaction description' | $T8 %][% L.input_tag("transaction_description", "", style=style) %] [% 'Part Description' | $T8 %][% L.input_tag("parts_description", "", style=style) %]
[% 'Notes' | $T8 %][% L.input_tag("notes", "", style=style) %] [% 'Part Number' | $T8 %][% L.input_tag("parts_partnumber", "", style=style) %]
[% 'Project Number' | $T8 %][% P.project_picker("project_id", project_id, style="width: 250px") %][% P.project_picker("project_id", project_id, style=style) %]
[% 'Customer type' | $T8 %][% L.select_tag("business_id", ALL_BUSINESS_TYPES, with_empty=1, title_key="description", style="width: 250px") %][% L.select_tag("business_id", ALL_BUSINESS_TYPES, with_empty=1, title_key="description", style=style) %]
[% 'Invoice Date' | $T8 %] - [% 'From' | $T8 %] [% L.date_tag('transdatefrom') %] - [% 'Bis' | $T8 %] - [% L.date_tag('transdateto') %] + [% 'Bis' | $T8 %] + [% L.date_tag('transdateto') %]
[% 'Due Date' | $T8 %] - [% 'From' | $T8 %] [% L.date_tag('duedatefrom') %] - [% 'Bis' | $T8 %] - [% L.date_tag('duedateto') %] + [% 'Bis' | $T8 %] + [% L.date_tag('duedateto') %]