X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2Ftest_page.html;h=64d956c2fc087c225afb812476da769ea98bdb08;hb=9c19433144efc5b50d90a969aa9ac6ea65b2dbbf;hp=202b5d3cddf51d94fe1f9e5e2b80a49691fab244;hpb=9be50d3a150fde70377e0f10bc25d10cd155557b;p=kivitendo-erp.git diff --git a/templates/webpages/part/test_page.html b/templates/webpages/part/test_page.html index 202b5d3cd..64d956c2f 100644 --- a/templates/webpages/part/test_page.html +++ b/templates/webpages/part/test_page.html @@ -1,13 +1,75 @@ [% USE L %] -

Waren Picker Testpage

+

Part Picker Testpage


Alle:
-[% L.part_picker('part_id') %]
+[% L.part_picker('part_id') %] text
Nur Waren:
-[% L.part_picker('part_id2', undef, type='part') %]
+[% L.part_picker('part_id2', undef, part_type='part') %]
Nur Dienstleistungen:
-[% L.part_picker('part_id3', undef, type='service') %]
+[% L.part_picker('part_id3', undef, part_type='service') %]
+Nur Erzeugnisse:
+[% L.part_picker('part_id4', undef, part_type='assembly') %]
Waren und Dienstleistungen:
-[% L.part_picker('part_id4', undef, type='part,service') %]
+[% L.part_picker('part_id5', undef, part_type='part,service') %]
+Artikel-Klassifizierung: Einkauf
+[% L.part_picker('part_id10', undef, classification_id='1') %]
+Artikel-Klassifizierung: Verkauf
+[% L.part_picker('part_id11', undef, classification_id='2') %]
+Artikel-Klassifizierung: Handelsware
+[% L.part_picker('part_id12', undef, classification_id='3') %]
+Artikel-Klassifizierung: Produktion
+[% L.part_picker('part_id13', undef, classification_id='4') %]
+Artikel-Klassifizierung: Eink.,Verk.,Prod.
+[% L.part_picker('part_id14', undef, classification_id='1,2,4') %]
+Pre-filled:
+[% L.part_picker('part_id6', pre_filled_part) %]
+Convertible unit 'Std': (only select parts with unit Tag/Std/Min)
+[% L.part_picker('part_id7', undef, convertible_unit='Std') %]
+ +

Styling

+ +In a span: +Leading text: [% L.part_picker('p1', undef, part_type='part,service') %] and text after with spacing
+Leading text:[% L.part_picker('p2', undef, part_type='part,service') %]and text after without spacing
+
Leading text: [% L.part_picker('p3', undef, part_type='part,service') %] and text after with spacing with div

+
Leading text:[% L.part_picker('p4', undef, part_type='part,service') %]and text after with spacing with div

+ +Picker + input next to each other: [% L.part_picker('p5', undef, part_type='part,service', width="100%") %] + +
[% L.part_picker('p6', undef, part_type='part,service', style="width:500px") %] 500px width
+
[% L.part_picker('p7', undef, part_type='part,service', style="width:200px") %] 200px width
+
[% L.part_picker('p8', undef, part_type='part,service', style="height:40px") %] 40px height
+ +[%# FOREACH i IN 1..50 %] +[%# L.part_picker('part_id_' _ i) %]
+[%# END %] + +

In tables

+ +

No classes:

+ + + + + + + + + + +
Part picker in table heading[% L.part_picker('p9', undef, part_type='part,service') %]
Part picker in table cell[% L.part_picker('p10', undef, part_type='part,service') %]
+ +

With classes:

+ + + + + + + + + + +
Part picker in table heading[% L.part_picker('p11', undef, part_type='part,service') %]
Part picker in table cell[% L.part_picker('p12', undef, part_type='part,service') %]