From c431c0a30a8391292ef9d44e8a289a8632026a51 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Thu, 15 Jan 2015 12:28:40 +0100 Subject: [PATCH] Chartpicker testpage - style als Variable und Fall IC Chartpicker mit type=IC wird bei den Buchungsgruppen verwendet. --- templates/webpages/chart/test_page.html | 30 +++++++++++++------------ 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/templates/webpages/chart/test_page.html b/templates/webpages/chart/test_page.html index 3e68e033a..4fc46887d 100644 --- a/templates/webpages/chart/test_page.html +++ b/templates/webpages/chart/test_page.html @@ -1,38 +1,40 @@ [% USE L %] +[% SET style="width: 400px" %]

Chart Picker Testpage

-All charts: [% L.chart_picker('chart_id', '', style="width: 400px") %]text after icon
-Only booked charts: [% L.chart_picker('chart_id_booked', '', booked=1, style="width: 400px") %]
-All charts choose: [% L.chart_picker('chart_id_choose', '', choose=1, style="width: 400px") %]
+All charts: [% L.chart_picker('chart_id', '', style=style) %]text after icon
+Only booked charts: [% L.chart_picker('chart_id_booked', '', booked=1, style=style) %]
+All charts choose: [% L.chart_picker('chart_id_choose', '', choose=1, style=style) %]

Filter by link:
-AR_paid: [% L.chart_picker('chart_id_ar_paid', undef, type='AR_paid', category='I,A' style="width: 400px") %]
-AR: [% L.chart_picker('chart_id_ar', undef, type='AR', style="width: 400px") %]
-AP: [% L.chart_picker('chart_id_ap', undef, type='AP', style="width: 400px") %]
-AR or AP: [% L.chart_picker('chart_id_arap', undef, type='AR,AP', style="width: 400px") %]
-IC_income,IC_sale: [% L.chart_picker('chart_id_icis', undef, type='IC_income,IC_sale', style="width: 400px") %]
-IC_expense,IC_cogs: [% L.chart_picker('chart_id_icco', undef, type='IC_expense,IC_cogs', style="width: 400px") %]
+AR_paid: [% L.chart_picker('chart_id_ar_paid', undef, type='AR_paid', category='I,A' style=style) %]
+AR: [% L.chart_picker('chart_id_ar', undef, type='AR', style=style) %]
+AP: [% L.chart_picker('chart_id_ap', undef, type='AP', style=style) %]
+AR or AP: [% L.chart_picker('chart_id_arap', undef, type='AR,AP', style=style) %]
+IC_income,IC_sale: [% L.chart_picker('chart_id_icis', undef, type='IC_income,IC_sale', style=style) %]
+IC_expense,IC_cogs: [% L.chart_picker('chart_id_icco', undef, type='IC_expense,IC_cogs', style=style) %]
+IC: [% L.chart_picker('chart_id_ic', undef, type='IC', style=style) %]

Filter by category:
-I: [% L.chart_picker('chart_id_i', undef, category='I', style="width: 400px") %]
-IE: [% L.chart_picker('chart_id_ie', undef, category='I,E', style="width: 400px") %]
-AQL: [% L.chart_picker('chart_id_aql', undef, category='A,Q,L', style="width: 400px") %]
+I: [% L.chart_picker('chart_id_i', undef, category='I', style=style) %]
+IE: [% L.chart_picker('chart_id_ie', undef, category='I,E', style=style) %]
+AQL: [% L.chart_picker('chart_id_aql', undef, category='A,Q,L', style=style) %]

Filter by special type:
-GuV: [% L.chart_picker('chart_id_guv', undef, type='guv', style="width: 400px") %]
+GuV: [% L.chart_picker('chart_id_guv', undef, type='guv', style=style) %]

-

bank (fat): [% L.chart_picker('bank_id', '', type='bank', fat_set_item=1, choose=1, style="width: 400px") %] +

bank (fat): [% L.chart_picker('bank_id', '', type='bank', fat_set_item=1, choose=1, style=style) %]

-- 2.20.1