Compare commits
No commits in common. 'master' and 'viz_kern51' have entirely different histories.
master
...
viz_kern51
72 changed files with 2211 additions and 5422 deletions
@ -1,33 +1,37 @@
@@ -1,33 +1,37 @@
|
||||
44130^Spaltenlayout^3000^350^-1^140^180^1^char^30^1^1^<<SQL>>SELECT uniquename,\ |
||||
caption\ |
||||
FROM rpta_column_layout \ |
||||
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ |
||||
and R.systeminfo_id=7)\ |
||||
and uniquename in ('sos_stud_nach_alter')\ |
||||
order by sortnr, caption\ |
||||
;^^<<SQL>>SELECT uniquename,\ |
||||
caption\ |
||||
FROM rpta_column_layout \ |
||||
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ |
||||
and R.systeminfo_id=7)\ |
||||
and uniquename in ('sos_stud_nach_alter')\ |
||||
order by sortnr, caption\ |
||||
;^ |
||||
44131^Seit Semester^10^0^0^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^ ^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ |
||||
44132^Fächer^30^0^0^130^200^6^char^1000^0^12^<<SQL>> select tid,name,sortnr from sichten where art='Fächer-Sicht' order by 3,2;^ ^ ^ |
||||
44133^Abschluss^40^0^0^100^200^3^char^1500^0^1^<<SQL>> select apnr, druck from cifx where key=35 order by 2;^ ^ ^ |
||||
44134^bis Fachsemester^1000^300^-1^200^100^1^integer^30^0^0^^ ^ ^ |
||||
44135^Semestertyp^22^350^-1^140^80^1^integer^255^0^1^<<SQL>> select 1,'nur Sommersemester' from xdummy union select 2,'nur Wintersemester' from xdummy^Eintrag^<<SQL>> select 2,'nur Wintersemester' from xdummy^ |
||||
44136^Hochschulzugangsberechtigung^120^300^-1^200^200^1^sql^30^0^1^hs_zugangsber^apnr, eintrag^ ^ |
||||
44137^Bis Semester^20^350^-1^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^ ^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ |
||||
44138^Staatsangehörigkeit^150^0^0^140^150^10^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art='SOS-Staaten-Sicht' order by 3,2;^ ^ ^ |
||||
44139^Studiengang^25^0^0^140^150^50^char^1000^0^12^<<SQL>> select tid,name,sortnr from sichten where art in ('SOS-Kostenstellen-Sicht', 'SOS-Studiengang-Sicht') order by 3,2;^ ^ ^ |
||||
44140^Grafik^4000^300^-1^170^150^1^char^30^0^1^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=44130 order by 2;^^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=44130 order by 2 limit 1;^ |
||||
44141^Stichtag^23^330^-1^130^100^1^sql^30^1^1^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende';^ ^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende' and appl_key='0';^ |
||||
44142^Hörerstatus^200^330^-1^140^150^1^sql^30^0^1^<<SQL>> select apnr, eintrag from hoererstatus order by 2^apnr, eintrag^<<SQL>> select apnr, eintrag from hoererstatus where eintrag='alle';^ |
||||
44143^tablestylesheet^1500^0^0^100^100^1^char^255^1^1^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44130 order by ord^ ^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44130 order by ord limit 1^ |
||||
44148^Köpfe oder Fälle ?^0^0^0^140^150^1^sql^70^0^1^<<SQL>> select apnr, eintrag from koepfe_oder_faelle order by 2^apnr, eintrag^<<SQL>> select apnr, eintrag from koepfe_oder_faelle where eintrag = 'Fälle';^ |
||||
44152^Geschlecht^110^0^0^140^80^1^integer^30^0^1^<<SQL>> SELECT apnr,druck FROM cif where key = 9003 and apnr between 1 and 4 order by 1;^ ^ ^ |
||||
44153^Spalten^3001^0^0^150^190^10^char^30^0^1^<<SQL>>\ |
||||
select C.uniquename, C.caption ,L.layout_id from rpta_column C, rpta_column2layout L where C.tid=L.column_id and layout_id in\ |
||||
(select tid from rpta_column_layout where uniquename=<<Spaltenlayout>>) order by 2;^hidden^^ |
||||
44130^Köpfe oder Fälle ?^0^0^0^140^150^1^sql^70^0^1^<<SQL>> select apnr, eintrag from koepfe_oder_faelle order by 2^hidden^<<SQL>> select apnr, eintrag from koepfe_oder_faelle where eintrag='Köpfe';^ |
||||
44131^Seit Semester^3^0^0^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^Eintrag^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ |
||||
44132^Stichtag^1^350^-1^140^100^1^sql^30^0^1^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende';^hidden^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende' and appl_key='0';^ |
||||
44133^Staatsangehörigkeit^36^0^0^130^150^10^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art='SOS-Staaten-Sicht' order by 3,2;^^^ |
||||
44134^Status^14^350^-1^140^180^1^sql^30^0^1^<<SQL>> select apnr,eintrag from sos_status order by 2^hidden^<<SQL>> select apnr,eintrag from sos_status where eintrag='Alle ohne Beurl.';^ |
||||
44135^Hörerstatus^33^0^0^140^170^1^sql^30^0^1^<<SQL>> select apnr, eintrag from hoererstatus order by 2^hidden^<<SQL>> select apnr, eintrag from hoererstatus where eintrag='alle';^ |
||||
44136^Weitere Tabellen^123^0^0^140^140^10^char^30^0^1^<<SQL>> select name,string_not_null(caption) || ' - ' || name from sx_tables where name in ('dim_studiengang','dim_staat')\ |
||||
order by 2^hidden^^ |
||||
44137^bis Fachsemester^35^350^-1^140^100^1^integer^30^0^0^^hidden^^ |
||||
44139^Bis Semester^4^350^-1^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^Eintrag^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ |
||||
44140^Filter Studierende^119^0^0^140^150^1^sql^20^0^1^<<SQL>> SELECT id,caption from sx_repository where aktiv =1 and today() between gueltig_seit and gueltig_bis and art='SOS_STUD_FILTER' order by 2;^^^ |
||||
44141^Geschlecht^37^0^0^140^80^1^integer^30^0^1^<<SQL>> SELECT apnr,druck FROM cif where key = 9003 and apnr between 1 and 4 order by 1;^^^ |
||||
44142^Felder^125^0^0^150^190^10^char^30^0^1^<<SQL>>\ |
||||
--freemarker template\ |
||||
select trim(F.table_name) || '.' || F.name,trim(T.caption) || ':' || trim(F.caption) || ' - ' || trim(F.name) from sx_fields F,\ |
||||
sx_tables T where F.table_name=T.name and F.currentlyused=1\ |
||||
--Pseudonyme eingeschaltet:\ |
||||
and (F.name != 'matrikel_nr' or 0=(select \ |
||||
count(*) from konstanten where beschreibung='SOS_MTKNR_EXT'\ |
||||
and apnr=1)) \ |
||||
and F.table_name in ('sos_stg_aggr','dim_staat','dim_studiengang') \ |
||||
order by 2;^hidden^sos_stg_aggr.alter,sos_stg_aggr.geschlecht,sos_stg_aggr.matrikel_nr,sos_stg_aggr.summe^ |
||||
44143^Studiengang^6^0^0^140^150^50^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art in ('SOS-Kostenstellen-Sicht', 'SOS-Studiengang-Sicht') order by 3,2;^^^ |
||||
44144^Schlüssel anzeigen^150^0^0^100^100^1^integer^30^1^1^<<SQL>> select 1,'Ja' from xdummy union select 0,'Nein' from xdummy^hidden^<<SQL>> select 1,'Ja' from xdummy^ |
||||
44145^tablestylesheet^121^0^0^100^200^1^char^200^1^1^<<SQL>> select filename,X.caption,ord from sx_stylesheets X,sx_mask_style S where X.tid=S.stylesheet_id and S.maskeninfo_id=44130 order by ord^^<<SQL>> select filename,X.caption from sx_stylesheets X,sx_mask_style S where X.tid=S.stylesheet_id and S.maskeninfo_id=44130 and ord=20 order by ord limit 1^ |
||||
44146^Ausgabeformat^2001^0^0^100^150^1^char^200^1^1^<<SQL>> select element_value,description from menu_element where element='Ausgabeformat' and nature::smallint<100 order by nature::smallint^hidden^<<SQL>> select element_value,description from menu_element where element='Ausgabeformat' and description='HTML'^ |
||||
44147^Grafik^1000^300^-1^170^150^1^integer^30^0^1^<<SQL>> select tid, caption from viz_chart where maskeninfo_id=44130 order by 2;^^<<SQL>> select tid, caption from viz_chart where maskeninfo_id=44130 order by 2 limit 1^ |
||||
44148^Jahrgang^42^350^-1^140^180^1^sql^30^0^13^<<SQL>> select attributevalue from personattribute_value_list where personattributetype_id = (select personattributetype_id from personattributetype where attributevalue = 'Jahrgang');^hidden^^ |
||||
44149^Name der Hochschule^15^350^-1^140^80^1^char^255^0^13^<<SQL>> select name from hochschulinfo;^Eintrag^<<SQL>> select name from hochschulinfo;^ |
||||
44150^Spaltenanzahl^300^0^0^140^80^1^integer^30^0^1^<<SQL>> SELECT 1,'1-spaltig' from xdummy \ |
||||
union SELECT 2,'2-spaltig' from xdummy \ |
||||
union SELECT 3,'3-spaltig' from xdummy \ |
||||
union SELECT 4,'4-spaltig' from xdummy \ |
||||
order by 1;^hidden^<<SQL>> SELECT 1,'1-spaltig' from xdummy^ |
||||
44151^Abschluss^7^0^0^140^170^5^char^30^0^1^<<SQL>> select abint,dtxt from k_abint order by 2;^^^ |
||||
44152^Matrikel-Nr.^20^350^-1^150^180^1^char^200^0^0^^hidden^^ |
||||
44153^##line##^40^0^0^100^100^1^char^5000^0^8^^^1^ |
||||
|
@ -1 +1 @@
@@ -1 +1 @@
|
||||
44130^Studierende nach Alter (Boxplot)^<sximport>select select_stmt from maskeninfo where tid=48000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=48000</sximport>^Studienfach^Anzahl bzw. Anteil^Datenblatt Studierendenstatistik^<sximport>select cleanup_stmt from maskeninfo where tid=48000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
||||
44130^Studierende nach Alter (Boxplot)^<sximport>select select_stmt from maskeninfo where tid=160440</sximport>^<sximport>select xil_proplist from maskeninfo where tid=160440</sximport>^Altersgruppe^Anzahl^Altersverteilung der Studierenden als Boxplot^<sximport>select cleanup_stmt from maskeninfo where tid=160440</sximport>^^3^700^360^0^1^ ^ |
||||
|
@ -1 +1 @@
@@ -1 +1 @@
|
||||
44220^Studierende nach Geschlecht^<sximport>select select_stmt from maskeninfo where tid=48000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=48000</sximport>^Studienfach^Anzahl bzw. Anteil^Ausgabe der Studierenden nach Geschlecht in verschiedenen Visualisierungen (z.B. Tortendiagramm)^<sximport>select cleanup_stmt from maskeninfo where tid=48000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
||||
44220^Studierende nach Geschlecht^<sximport>select select_stmt from maskeninfo where tid=45000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=45000</sximport>^Studienfach^Anzahl bzw. Anteil^Ausgabe der Studierenden nach Geschlecht in verschiedenen Visualisierungen (z.B. Tortendiagramm)^<sximport>select cleanup_stmt from maskeninfo where tid=45000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
||||
|
@ -1 +1 @@
@@ -1 +1 @@
|
||||
44250^Studierende nach Staaten^<sximport>select select_stmt from maskeninfo where tid=48000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=48000</sximport>^Studienfach^Anzahl bzw. Anteil^Ausgabe der Studierenden nach Staat (Staatsangehörigkeit, Staat der Hochschulzugangsberechtigung) als Datenblatt oder Weltkarte^<sximport>select cleanup_stmt from maskeninfo where tid=48000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
||||
44250^Studierende nach Staaten^<sximport>select select_stmt from maskeninfo where tid=45000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=45000</sximport>^Studienfach^Anzahl bzw. Anteil^Ausgabe der Studierenden nach Staat (Staatsangehörigkeit, Staat der Hochschulzugangsberechtigung) als Datenblatt oder Weltkarte^<sximport>select cleanup_stmt from maskeninfo where tid=45000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
||||
|
@ -1 +1 @@
@@ -1 +1 @@
|
||||
44280^Studierende nach Fakultät^<sximport>select select_stmt from maskeninfo where tid=48000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=48000</sximport>^Studienfach^Anzahl bzw. Anteil^Ausgabe der Studierenden nach Fakultät mit verschiedenen Visualisierungen (z.B. Tortendiagramm)^<sximport>select cleanup_stmt from maskeninfo where tid=48000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
||||
44280^Studierende nach Fakultät^<sximport>select select_stmt from maskeninfo where tid=45000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=45000</sximport>^Studienfach^Anzahl bzw. Anteil^Ausgabe der Studierenden nach Fakultät mit verschiedenen Visualisierungen (z.B. Tortendiagramm)^<sximport>select cleanup_stmt from maskeninfo where tid=45000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
||||
|
@ -1 +1 @@
@@ -1 +1 @@
|
||||
44510^Studienanfänger_innen nach Jahr^<sximport>select select_stmt from maskeninfo where tid=48000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=48000</sximport>^Studienfach^Anzahl bzw. Anteil^Ausgabe der Studierenden nach Geschlecht in verschiedenen Visualisierungen (z.B. Tortendiagramm)^<sximport>select cleanup_stmt from maskeninfo where tid=48000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
||||
44510^Studienanfänger_innen nach Jahr^<sximport>select select_stmt from maskeninfo where tid=45000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=45000</sximport>^Studienfach^Anzahl bzw. Anteil^Ausgabe der Studierenden nach Geschlecht in verschiedenen Visualisierungen (z.B. Tortendiagramm)^<sximport>select cleanup_stmt from maskeninfo where tid=45000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
||||
|
@ -1,30 +0,0 @@
@@ -1,30 +0,0 @@
|
||||
44570^Köpfe oder Fälle ?^0^0^0^140^150^1^sql^70^0^1^<<SQL>> select apnr, eintrag from koepfe_oder_faelle order by 2^apnr, eintrag^<<SQL>> select apnr, eintrag from koepfe_oder_faelle where eintrag='Köpfe';^ |
||||
44571^Seit Semester^3^0^0^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^Eintrag^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ |
||||
44572^Stichtag^1^350^-1^140^100^1^sql^30^0^1^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende';^^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende' and appl_key='0';^ |
||||
44573^Staatsangehörigkeit^36^0^0^130^150^10^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art='SOS-Staaten-Sicht' order by 3,2;^hidden^^ |
||||
44574^Status^14^350^-1^140^180^1^sql^30^0^1^<<SQL>> select apnr,eintrag from sos_status order by 2^^<<SQL>> select apnr,eintrag from sos_status where eintrag='Alle ohne Beurl.';^ |
||||
44575^Hörerstatus^33^0^0^140^170^1^sql^30^0^1^<<SQL>> select apnr, eintrag from hoererstatus order by 2^apnr, eintrag^<<SQL>> select apnr, eintrag from hoererstatus where eintrag='alle';^ |
||||
44577^bis Fachsemester^35^350^-1^140^100^1^integer^30^0^13^^^^ |
||||
44579^Bis Semester^4^350^-1^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^Eintrag^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ |
||||
44580^Filter Studierende^119^0^0^140^150^1^sql^20^0^999^<<SQL>> SELECT id,caption from sx_repository where aktiv =1 and today() between gueltig_seit and gueltig_bis and art='SOS_STUD_FILTER' order by 2;^^^ |
||||
44581^Geschlecht^37^0^0^140^80^1^integer^30^0^999^<<SQL>> SELECT apnr,druck FROM cif where key = 9003 and apnr between 1 and 4 order by 1;^^^ |
||||
44583^Studiengang^6^0^0^140^150^50^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art in ('SOS-Kostenstellen-Sicht', 'SOS-Studiengang-Sicht') order by 3,2;^^^ |
||||
44584^Jahr^110^0^0^140^80^1^integer^30^0^13^ ^ ^ ^ |
||||
44585^tablestylesheet^150^0^0^100^100^1^char^255^1^1^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44570 order by ord^ ^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44570 order by ord limit 1^ |
||||
44587^Grafik^1000^300^-1^170^150^1^char^30^0^1^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=44570 order by 2;^ ^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=44570 order by 2 limit 1;^ |
||||
44588^Spaltenlayout^3000^350^-1^140^180^1^char^30^1^1^<<SQL>>SELECT uniquename,\ |
||||
caption\ |
||||
FROM rpta_column_layout \ |
||||
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename='sos_stud_astat'\ |
||||
and R.systeminfo_id=7)\ |
||||
order by sortnr, caption\ |
||||
;^^<<SQL>>SELECT uniquename,\ |
||||
caption\ |
||||
FROM rpta_column_layout \ |
||||
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename='sos_stud_astat'\ |
||||
and R.systeminfo_id=7) and uniquename='sos_stud_sem';^ |
||||
44589^Semestertyp^5^350^-1^140^80^1^integer^255^0^1^<<SQL>> select 1,'nur Sommersemester' from xdummy union select 2,'nur Wintersemester' from xdummy^Eintrag^<<SQL>> select 2,'nur Wintersemester' from xdummy^ |
||||
44590^##line##^30^0^0^100^100^1^char^5000^0^8^^^1^ |
||||
44591^Abschluss^7^0^0^140^170^5^char^30^0^1^<<SQL>> select abint,dtxt from k_abint order by 2;^^^ |
||||
44592^Matrikel-Nr.^20^350^-1^150^180^1^char^200^0^13^^{InputCheck:matrikelnummern}^^ |
||||
44593^##line##^40^0^0^100^100^1^char^5000^0^8^^^1^ |
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
44570^7^ |
@ -1,20 +0,0 @@
@@ -1,20 +0,0 @@
|
||||
44570^44570^ |
||||
44570^44571^ |
||||
44570^44572^ |
||||
44570^44573^ |
||||
44570^44574^ |
||||
44570^44575^ |
||||
44570^44577^ |
||||
44570^44579^ |
||||
44570^44580^ |
||||
44570^44581^ |
||||
44570^44583^ |
||||
44570^44584^ |
||||
44570^44585^ |
||||
44570^44587^ |
||||
44570^44588^ |
||||
44570^44589^ |
||||
44570^44590^ |
||||
44570^44591^ |
||||
44570^44592^ |
||||
44570^44593^ |
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
44570^Studierende nach Semester^<sximport>select select_stmt from maskeninfo where tid=48000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=48000</sximport>^Altersgruppe^Anzahl^Studienanfänger_innen als Zeitreihe, nach Gesschlecht und Fakultät in verschiedenen Visualisierungen^<sximport>select cleanup_stmt from maskeninfo where tid=48000</sximport>^^3^700^360^0^1^^ |
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
16^44570^ |
@ -1,29 +0,0 @@
@@ -1,29 +0,0 @@
|
||||
44600^Spaltenlayout^3000^350^-1^140^180^1^char^30^1^1^<<SQL>>SELECT uniquename,\ |
||||
caption\ |
||||
FROM rpta_column_layout \ |
||||
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ |
||||
and R.systeminfo_id=7)\ |
||||
and (uniquename like 'sos_stud_%_bland' or uniquename like 'sos_stud_%_lkreis')\ |
||||
order by sortnr, caption\ |
||||
;^ ^<<SQL>>SELECT uniquename,\ |
||||
caption\ |
||||
FROM rpta_column_layout \ |
||||
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ |
||||
and R.systeminfo_id=7)\ |
||||
and uniquename in ('sos_stud_hzb_bland')\ |
||||
order by sortnr, caption limit 1\ |
||||
;^ |
||||
44601^Seit Semester^10^0^0^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^ ^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ |
||||
44602^Fächer^30^0^0^130^200^6^char^1000^0^12^<<SQL>> select tid,name,sortnr from sichten where art='Fächer-Sicht' order by 3,2;^ ^ ^ |
||||
44603^Abschluss^40^0^0^100^200^3^char^1500^0^1^<<SQL>> select apnr, druck from cifx where key=35 order by 2;^ ^ ^ |
||||
44604^bis Fachsemester^1000^300^-1^200^100^1^integer^30^0^0^^ ^ ^ |
||||
44605^Grafik^4000^300^-1^170^150^1^char^30^0^1^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=44600 and chart_active=1 order by 2;^ ^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=44600 and chart_active=1order by 2 limit 1;^ |
||||
44607^Bis Semester^20^350^-1^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^ ^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ |
||||
44608^Staatsangehörigkeit^150^0^0^140^150^10^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art='SOS-Staaten-Sicht' order by 3,2;^ ^ ^ |
||||
44609^Studiengang^25^0^0^140^150^50^char^1000^0^12^<<SQL>> select tid,name,sortnr from sichten where art in ('SOS-Kostenstellen-Sicht', 'SOS-Studiengang-Sicht') order by 3,2;^ ^ ^ |
||||
44610^tablestylesheet^150^0^0^100^100^1^char^255^1^1^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44600 order by ord^ ^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44600 order by ord limit 1^ |
||||
44611^Stichtag^23^330^-1^130^100^1^sql^30^1^1^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende';^ ^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende' and appl_key='0';^ |
||||
44612^Hörerstatus^200^330^-1^140^150^1^sql^30^0^1^<<SQL>> select apnr, eintrag from hoererstatus order by 2^apnr, eintrag^<<SQL>> select apnr, eintrag from hoererstatus where eintrag='alle';^ |
||||
44613^Jahr^110^0^0^140^80^1^integer^30^0^0^ ^ ^ ^ |
||||
44618^Köpfe oder Fälle ?^0^0^0^140^150^1^sql^70^0^1^<<SQL>> select apnr, eintrag from koepfe_oder_faelle order by 2^apnr, eintrag^<<SQL>> select apnr, eintrag from koepfe_oder_faelle where eintrag = 'Fälle';^ |
||||
44622^Geschlecht^110^0^0^140^80^1^integer^30^0^1^<<SQL>> SELECT apnr,druck FROM cif where key = 9003 and apnr between 1 and 4 order by 1;^ ^ ^ |
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
44600^7^ |
@ -1,15 +0,0 @@
@@ -1,15 +0,0 @@
|
||||
44600^44600^ |
||||
44600^44601^ |
||||
44600^44602^ |
||||
44600^44603^ |
||||
44600^44604^ |
||||
44600^44605^ |
||||
44600^44607^ |
||||
44600^44608^ |
||||
44600^44609^ |
||||
44600^44610^ |
||||
44600^44611^ |
||||
44600^44612^ |
||||
44600^44613^ |
||||
44600^44618^ |
||||
44600^44622^ |
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
44600^Studierende nach Region^<sximport>select select_stmt from maskeninfo where tid=48000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=48000</sximport>^Studienfach^Anzahl bzw. Anteil^Ausgabe der Studierenden nach Landkreis/Bundesland^<sximport>select cleanup_stmt from maskeninfo where tid=48000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
16^44600^ |
@ -1,10 +0,0 @@
@@ -1,10 +0,0 @@
|
||||
44645^tablestylesheet^150^0^0^100^100^1^char^255^1^1^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44190 order by ord^ ^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44190 order by ord limit 1^ |
||||
44647^Grafik^1000^300^-1^170^150^1^integer^30^0^1^<<SQL>> select tid, caption from viz_chart order by 2;^hidden^ ^ |
||||
44649^Spaltenanzahl^5^350^-1^140^80^1^integer^255^0^1^<<SQL>> SELECT 0,'Dynamisch' from xdummy \ |
||||
union SELECT 1,'1-spaltig' from xdummy \ |
||||
union SELECT 2,'2-spaltig' from xdummy \ |
||||
union SELECT 3,'3-spaltig' from xdummy \ |
||||
union SELECT 4,'4-spaltig' from xdummy \ |
||||
order by 1;^ ^<<SQL>> SELECT 2,'2-spaltig' from xdummy;^ |
||||
44650^Kachelbreite^30^0^0^100^100^1^integer^5000^0^0^^^800^ |
||||
44653^Kachelhöhe^40^0^0^100^100^1^integer^5000^0^0^^^600^ |
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
44630^320^ |
@ -1,5 +0,0 @@
@@ -1,5 +0,0 @@
|
||||
44630^44645^ |
||||
44630^44647^ |
||||
44630^44649^ |
||||
44630^44650^ |
||||
44630^44653^ |
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
44630^VIZ-Dashboard Settings^ ^ ^ ^ ^Dashboard Inistialisierung^ ^^3^700^360^0^1^^ |
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
320^44630^ |
@ -1,45 +0,0 @@
@@ -1,45 +0,0 @@
|
||||
--freemarker template |
||||
<#include "RPTA-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="rpta_installed"> |
||||
select count(*) from systeminfo where tid=330; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign rpta_column_layout = |
||||
{"uniquename":"sos_stud_hmkfz_bland", |
||||
"caption":"Studierende nach Bundesland (Heimatanschrift)", |
||||
"rpta_resultset":"sos_stud_astat", |
||||
"whereclause":"", |
||||
"description":"Studierende nach Bundesland (Heimatanschrift)" |
||||
} |
||||
/> |
||||
|
||||
<#assign rpta_columns = [ |
||||
{"uniquename":"hmkfz_bland", |
||||
"caption":"Bundesland (Heimatanschrift)", |
||||
"srcfieldname":"", |
||||
"targetfieldname":"hmkfz_bland", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"case when (hmkfzkz=0 and hmkfz is not null and hmkfz<>-9999) then (select B.druck from sos_hzb_wohnsitz W, sos_k_bland B where W.bland=B.apnr and W.astat=hmkfz) else ''unbekannt/ außerhalb BRD'' end", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Bundesland (Heimatanschrift)" |
||||
}, |
||||
{"uniquename":"summe", |
||||
"caption":"Anzahl der Studierenden", |
||||
"srcfieldname":"summe", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"sum", |
||||
"is_visible":"1", |
||||
"visible_size":"5", |
||||
"is_aggregate":"1", |
||||
"description":"Summe der Studierenden" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
<#if rpta_installed==1> |
||||
<@rpta_column_layout_fuellen /> |
||||
</#if> |
@ -1,45 +0,0 @@
@@ -1,45 +0,0 @@
|
||||
--freemarker template |
||||
<#include "RPTA-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="rpta_installed"> |
||||
select count(*) from systeminfo where tid=330; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign rpta_column_layout = |
||||
{"uniquename":"sos_stud_hzb_bland", |
||||
"caption":"Studierende nach Bundesland (HZB)", |
||||
"rpta_resultset":"sos_stud_astat", |
||||
"whereclause":"", |
||||
"description":"Studierende nach Bundesland (HZB" |
||||
} |
||||
/> |
||||
|
||||
<#assign rpta_columns = [ |
||||
{"uniquename":"hzb_bland", |
||||
"caption":"Bundesland (HZB)", |
||||
"srcfieldname":"", |
||||
"targetfieldname":"hzb_bland", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"case when (hzbkfzkz=0 and hzbkfz is not null and hzbkfz<>-9999 ) then (select B.druck from sos_hzb_wohnsitz W, sos_k_bland B where W.bland=B.apnr and W.astat=hzbkfz) else ''unbekannt/ außerhalb BRD'' end", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Bundesland (HZB)" |
||||
}, |
||||
{"uniquename":"summe", |
||||
"caption":"Anzahl der Studierenden", |
||||
"srcfieldname":"summe", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"sum", |
||||
"is_visible":"1", |
||||
"visible_size":"5", |
||||
"is_aggregate":"1", |
||||
"description":"Summe der Studierenden" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
<#if rpta_installed==1> |
||||
<@rpta_column_layout_fuellen /> |
||||
</#if> |
@ -1,45 +0,0 @@
@@ -1,45 +0,0 @@
|
||||
--freemarker template |
||||
<#include "RPTA-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="rpta_installed"> |
||||
select count(*) from systeminfo where tid=330; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign rpta_column_layout = |
||||
{"uniquename":"sos_stud_semkfz_bland", |
||||
"caption":"Studierende nach Bundesland (Semesteranschrift)", |
||||
"rpta_resultset":"sos_stud_astat", |
||||
"whereclause":"", |
||||
"description":"Studierende nach Bundesland (Semesteranschrift)" |
||||
} |
||||
/> |
||||
|
||||
<#assign rpta_columns = [ |
||||
{"uniquename":"semkfz_bland", |
||||
"caption":"Bundesland (Semesteranschrift)", |
||||
"srcfieldname":"", |
||||
"targetfieldname":"semkfz_bland", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"case when (semkfzkz=0 and semkfz is not null and semkfz<>-9999) then (select B.druck from sos_hzb_wohnsitz W, sos_k_bland B where W.bland=B.apnr and W.astat=semkfz) else ''unbekannt/ außerhalb BRD'' end", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Bundesland (Semesteranschrift)" |
||||
}, |
||||
{"uniquename":"summe", |
||||
"caption":"Anzahl der Studierenden", |
||||
"srcfieldname":"summe", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"sum", |
||||
"is_visible":"1", |
||||
"visible_size":"5", |
||||
"is_aggregate":"1", |
||||
"description":"Summe der Studierenden" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
<#if rpta_installed==1> |
||||
<@rpta_column_layout_fuellen /> |
||||
</#if> |
@ -1,54 +0,0 @@
@@ -1,54 +0,0 @@
|
||||
--freemarker template |
||||
<#include "RPTA-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="rpta_installed"> |
||||
select count(*) from systeminfo where tid=330; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign rpta_column_layout = {"uniquename":"sos_stud_fak_sem", |
||||
"caption":"Studierende nach Fak. und Semester", |
||||
"rpta_resultset":"sos_stud_astat", |
||||
"whereclause":"", |
||||
"description":"Studierende nach Fak. und Semester" |
||||
} |
||||
/> |
||||
|
||||
<#assign rpta_columns = [ |
||||
{"uniquename":"dim_studiengang_fak", |
||||
"caption":"Fakultät", |
||||
"srcfieldname":"dim_studiengang_fb_str", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"", |
||||
"is_visible":"1", |
||||
"visible_size":"10", |
||||
"is_aggregate":"0", |
||||
"description":"Fakultät" |
||||
}, |
||||
{"uniquename":"sem_rueck_beur_ein", |
||||
"caption":"Semester", |
||||
"srcfieldname":"sem_rueck_beur_ein", |
||||
"targetfieldname":"", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"substring(sem_rueck_beur_ein::varchar(255) from 1 for 4)", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Semester" |
||||
}, |
||||
{"uniquename":"summe", |
||||
"caption":"Anzahl der Studierenden", |
||||
"srcfieldname":"summe", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"sum", |
||||
"is_visible":"1", |
||||
"visible_size":"5", |
||||
"is_aggregate":"1", |
||||
"description":"Summe der Studierenden" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
<#if rpta_installed==1> |
||||
<@rpta_column_layout_fuellen /> |
||||
</#if> |
@ -1,45 +0,0 @@
@@ -1,45 +0,0 @@
|
||||
--freemarker template |
||||
<#include "RPTA-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="rpta_installed"> |
||||
select count(*) from systeminfo where tid=330; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign rpta_column_layout = |
||||
{"uniquename":"sos_stud_hmkfz_lkreis", |
||||
"caption":"Studierende nach Landkreis (Heimatanschrift)", |
||||
"rpta_resultset":"sos_stud_astat", |
||||
"whereclause":"", |
||||
"description":"Studierende nach Landkreis (Heimatanschrift)" |
||||
} |
||||
/> |
||||
|
||||
<#assign rpta_columns = [ |
||||
{"uniquename":"hmkfz_lkreis", |
||||
"caption":"Landkreis (Heimatanschrift)", |
||||
"srcfieldname":"", |
||||
"targetfieldname":"hmkfz_lkreis", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"case when (hmkfzkz=0 and hmkfz is not null and hmkfz<>-9999) then (select text from sos_k_kfz where ikfz::integer=hmkfz) else ''unbekannt/ außerhalb BRD'' end", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Landkreis (Heimatanschrift)" |
||||
}, |
||||
{"uniquename":"summe", |
||||
"caption":"Anzahl der Studierenden", |
||||
"srcfieldname":"summe", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"sum", |
||||
"is_visible":"1", |
||||
"visible_size":"5", |
||||
"is_aggregate":"1", |
||||
"description":"Summe der Studierenden" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
<#if rpta_installed==1> |
||||
<@rpta_column_layout_fuellen /> |
||||
</#if> |
@ -1,45 +0,0 @@
@@ -1,45 +0,0 @@
|
||||
--freemarker template |
||||
<#include "RPTA-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="rpta_installed"> |
||||
select count(*) from systeminfo where tid=330; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign rpta_column_layout = |
||||
{"uniquename":"sos_stud_hzb_lkreis", |
||||
"caption":"Studierende nach Landkreis (HZB)", |
||||
"rpta_resultset":"sos_stud_astat", |
||||
"whereclause":"", |
||||
"description":"Studierende nach Landkreis (HZB)" |
||||
} |
||||
/> |
||||
|
||||
<#assign rpta_columns = [ |
||||
{"uniquename":"hzb_lkreis", |
||||
"caption":"Landkreis (HZB)", |
||||
"srcfieldname":"", |
||||
"targetfieldname":"hzb_lkreis", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"case when (hzbkfzkz=0 and hzbkfz is not null and hzbkfz<>-9999 ) then (select text from sos_k_kfz where ikfz::integer=hzbkfz) else ''unbekannt/ außerhalb BRD'' end", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Landkreis (HZB)" |
||||
}, |
||||
{"uniquename":"summe", |
||||
"caption":"Anzahl der Studierenden", |
||||
"srcfieldname":"summe", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"sum", |
||||
"is_visible":"1", |
||||
"visible_size":"5", |
||||
"is_aggregate":"1", |
||||
"description":"Summe der Studierenden" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
<#if rpta_installed==1> |
||||
<@rpta_column_layout_fuellen /> |
||||
</#if> |
@ -1,45 +0,0 @@
@@ -1,45 +0,0 @@
|
||||
--freemarker template |
||||
<#include "RPTA-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="rpta_installed"> |
||||
select count(*) from systeminfo where tid=330; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign rpta_column_layout = |
||||
{"uniquename":"sos_stud_semkfz_lkreis", |
||||
"caption":"Studierende nach Landkreis (Semesteranschrift)", |
||||
"rpta_resultset":"sos_stud_astat", |
||||
"whereclause":"", |
||||
"description":"Studierende nach Landkreis (Semesteranschrift)" |
||||
} |
||||
/> |
||||
|
||||
<#assign rpta_columns = [ |
||||
{"uniquename":"semkfz_lkreis", |
||||
"caption":"Landkreis (Semesteranschrift)", |
||||
"srcfieldname":"", |
||||
"targetfieldname":"semkfz_lkreis", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"case when (semkfzkz=0 and semkfz is not null and semkfz<>-9999) then (select text from sos_k_kfz where ikfz::integer=semkfz) else ''unbekannt/ außerhalb BRD'' end", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Landkreis (Semesteranschrift)" |
||||
}, |
||||
{"uniquename":"summe", |
||||
"caption":"Anzahl der Studierenden", |
||||
"srcfieldname":"summe", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"sum", |
||||
"is_visible":"1", |
||||
"visible_size":"5", |
||||
"is_aggregate":"1", |
||||
"description":"Summe der Studierenden" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
<#if rpta_installed==1> |
||||
<@rpta_column_layout_fuellen /> |
||||
</#if> |
@ -1,77 +0,0 @@
@@ -1,77 +0,0 @@
|
||||
--freemarker template |
||||
<#include "RPTA-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="sos_stud_astat_exists"> |
||||
select count(*) from rpta_resultset where uniquename='sos_stud_astat'; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign rpta_column_layout = {"uniquename":"sos_stud_nach_alter", |
||||
"caption":"Studierende nach Alter", |
||||
"rpta_resultset":"sos_stud_astat", |
||||
"whereclause":"", |
||||
"description":"Studierende nach Alter" |
||||
} |
||||
/> |
||||
|
||||
<#assign rpta_columns = [ |
||||
{"uniquename":"alter", |
||||
"caption":"Alter", |
||||
"srcfieldname":"alter", |
||||
"targetfieldname":"", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"", |
||||
"is_visible":"1", |
||||
"format_code":"INTEGER", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Alter in Jahren" |
||||
}, |
||||
{"uniquename":"geschlecht", |
||||
"caption":"Geschlecht", |
||||
"srcfieldname":"geschlecht", |
||||
"targetfieldname":"", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"(select druck from cif where key=9003 and apnr=geschlecht)", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Geschlecht" |
||||
}, |
||||
{"uniquename":"geschlecht_schl", |
||||
"caption":"Geschlecht (Schlüssel)", |
||||
"srcfieldname":"geschlecht", |
||||
"targetfieldname":"geschlecht_schl", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"geschlecht", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Geschlecht (Schlüssel)" |
||||
}, |
||||
{"uniquename":"matrikel_nr", |
||||
"caption":"Matrikelnummer", |
||||
"srcfieldname":"matrikel_nr", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"", |
||||
"is_visible":"1", |
||||
"format_code":"INT_NO_SEP", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Matrikelnr." |
||||
}, |
||||
{"uniquename":"summe", |
||||
"caption":"Anzahl der Studierenden", |
||||
"srcfieldname":"summe", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"sum", |
||||
"is_visible":"1", |
||||
"visible_size":"5", |
||||
"is_aggregate":"1", |
||||
"description":"Summe der Studierenden" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
<@rpta_column_layout_fuellen /> |
@ -1,246 +0,0 @@
@@ -1,246 +0,0 @@
|
||||
--freemarker template |
||||
<sqlvars> |
||||
<sqlvar name="rpta_installed"> |
||||
select count(*) from systeminfo where tid=330; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign rpta_column_layout = |
||||
{"uniquename":"sos_stud_hzb_bland", |
||||
"caption":"Studierende nach HZB-Bundesland", |
||||
"rpta_resultset":"sos_stud_astat", |
||||
"whereclause":"", |
||||
"description":"Studierende nach HZB-Bundesland" |
||||
} |
||||
/> |
||||
|
||||
<#assign rpta_columns = [ |
||||
{"uniquename":"hzb_bland", |
||||
"caption":"Bundesland (HZB)", |
||||
"srcfieldname":"", |
||||
"targetfieldname":"hzb_bland", |
||||
"column_type":"lookupColumn", |
||||
"col_function":"select B.druck from sos_hzb_wohnsitz W, sos_k_bland B where W.bland=B.apnr and W.astat=hzbkfz", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Bundesland (HZB)" |
||||
}, |
||||
{"uniquename":"summe", |
||||
"caption":"Anzahl der Studierenden", |
||||
"srcfieldname":"summe", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"sum", |
||||
"is_visible":"1", |
||||
"visible_size":"5", |
||||
"is_aggregate":"1", |
||||
"description":"Summe der Studierenden" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
<#if rpta_installed==1> |
||||
---ab hier nicht mehr ändern: |
||||
|
||||
CREATE temp TABLE tmp_rpta_column |
||||
( |
||||
uniquename varchar(255) NOT NULL, |
||||
caption varchar(255), |
||||
srcfieldname varchar(255), |
||||
targetfieldname varchar(255), |
||||
column_type integer, |
||||
col_function text, |
||||
is_visible smallint, |
||||
visible_size smallint, |
||||
is_aggregate smallint, |
||||
resultset_id integer, |
||||
sortnr integer, |
||||
description TEXT |
||||
); |
||||
|
||||
CREATE temp TABLE tmp_rpta_column_layout |
||||
( |
||||
uniquename varchar(255) NOT NULL, |
||||
caption varchar(255), |
||||
resultset_id integer, |
||||
whereclause text, |
||||
description text |
||||
); |
||||
|
||||
insert into tmp_rpta_column_layout( |
||||
resultset_id, |
||||
uniquename, |
||||
caption, |
||||
whereclause, |
||||
description |
||||
) |
||||
select tid, |
||||
'${rpta_column_layout.uniquename}', |
||||
'${rpta_column_layout.caption}', |
||||
'${rpta_column_layout.whereclause}', |
||||
'${rpta_column_layout.description}' |
||||
FROM rpta_resultset |
||||
where uniquename='${rpta_column_layout.rpta_resultset}'; |
||||
|
||||
<#assign sortnr=0 /> |
||||
<#foreach column in rpta_columns> |
||||
<#assign sortnr=sortnr +1 /> |
||||
|
||||
INSERT INTO tmp_rpta_column |
||||
(resultset_id, |
||||
uniquename, |
||||
caption, |
||||
srcfieldname, |
||||
targetfieldname, |
||||
column_type, |
||||
col_function, |
||||
is_visible, |
||||
visible_size, |
||||
is_aggregate, |
||||
sortnr, |
||||
description |
||||
) |
||||
select R.tid, |
||||
'${column.uniquename}', |
||||
'${column.caption}', |
||||
'${column.srcfieldname}', |
||||
<#if !column.targetfieldname?exists || column.targetfieldname=="">null::varchar <#else>'${column.targetfieldname}' </#if>, |
||||
T.tid as column_type, |
||||
'${column.col_function}', |
||||
${column.is_visible}, |
||||
${column.visible_size}, |
||||
${column.is_aggregate}, |
||||
${sortnr*10}, |
||||
'${column.description}' |
||||
FROM rpta_resultset R, rpta_column_type T |
||||
where R.uniquename='${rpta_column_layout.rpta_resultset}' |
||||
and T.uniquename='${column.column_type}'; |
||||
|
||||
</#foreach> |
||||
|
||||
|
||||
select * into temp tmp_rpta_column2layout |
||||
from rpta_column2layout |
||||
where layout_id in (select L.tid |
||||
from rpta_column_layout L,rpta_resultset R |
||||
where R.tid=L.resultset_id |
||||
and R.uniquename='${rpta_column_layout.rpta_resultset}' |
||||
and L.uniquename='${rpta_column_layout.uniquename}' |
||||
) |
||||
; |
||||
|
||||
select * into temp tmp_rpta_column_layout_target |
||||
from rpta_column_layout |
||||
where resultset_id in (select tid |
||||
FROM rpta_resultset |
||||
where uniquename='${rpta_column_layout.rpta_resultset}') |
||||
and uniquename in (select uniquename from tmp_rpta_column_layout) |
||||
; |
||||
|
||||
insert into rpta_column_layout |
||||
(uniquename, |
||||
caption, |
||||
resultset_id, |
||||
whereclause, |
||||
description) |
||||
select uniquename, |
||||
caption, |
||||
resultset_id, |
||||
whereclause, |
||||
description |
||||
FROM tmp_rpta_column_layout T |
||||
where 0=(select count(*) from tmp_rpta_column_layout_target T2 |
||||
where T.uniquename=T2.uniquename); |
||||
|
||||
drop table tmp_rpta_column_layout_target; |
||||
|
||||
delete from rpta_column2layout |
||||
where layout_id in (select L.tid |
||||
from rpta_column_layout L,rpta_resultset R |
||||
where R.tid=L.resultset_id |
||||
and R.uniquename='${rpta_column_layout.rpta_resultset}' |
||||
and L.uniquename='${rpta_column_layout.uniquename}' |
||||
) |
||||
; |
||||
|
||||
select * into temp tmp_rpta_column2 |
||||
from tmp_rpta_column T |
||||
where (resultset_id,uniquename) not in |
||||
(select resultset_id,uniquename from rpta_column); |
||||
|
||||
INSERT INTO rpta_column |
||||
(resultset_id, |
||||
uniquename, |
||||
caption, |
||||
srcfieldname, |
||||
targetfieldname, |
||||
column_type, |
||||
col_function, |
||||
is_aggregate, |
||||
description, |
||||
custom |
||||
) |
||||
select |
||||
resultset_id, |
||||
uniquename, |
||||
caption, |
||||
srcfieldname, |
||||
targetfieldname, |
||||
column_type, |
||||
col_function, |
||||
is_aggregate, |
||||
description, |
||||
0 as custom |
||||
from tmp_rpta_column2; |
||||
|
||||
--evtl. neuen Satz einfügen, dann alle updaten |
||||
|
||||
update rpta_column set ( caption, |
||||
srcfieldname, |
||||
targetfieldname, |
||||
column_type, |
||||
col_function, |
||||
is_aggregate, |
||||
description) |
||||
= (select caption, |
||||
srcfieldname, |
||||
targetfieldname, |
||||
column_type, |
||||
col_function, |
||||
is_aggregate, |
||||
description |
||||
from tmp_rpta_column T |
||||
where T.resultset_id=rpta_column.resultset_id |
||||
and T.uniquename=rpta_column.uniquename) |
||||
where custom=0 |
||||
and (resultset_id,uniquename) in |
||||
(select T.resultset_id,T.uniquename |
||||
from tmp_rpta_column T) |
||||
; |
||||
|
||||
drop table tmp_rpta_column2; |
||||
|
||||
insert into rpta_column2layout(column_id, |
||||
layout_id, |
||||
sortnr, |
||||
is_visible, |
||||
visible_size, |
||||
caption, |
||||
description) |
||||
select C.tid as column_id, |
||||
L.tid as layout_id, |
||||
T.sortnr, |
||||
T.is_visible, |
||||
T.visible_size, |
||||
T.caption, |
||||
T.description |
||||
FROM rpta_column C, rpta_column_layout L, tmp_rpta_column T |
||||
where C.uniquename=T.uniquename |
||||
and C.resultset_id=T.resultset_id |
||||
and L.uniquename='${rpta_column_layout.uniquename}' |
||||
and L.resultset_id=T.resultset_id |
||||
; |
||||
drop table tmp_rpta_column; |
||||
drop TABLE tmp_rpta_column_layout; |
||||
drop TABLE tmp_rpta_column2layout; |
||||
</#if> |
@ -1,57 +0,0 @@
@@ -1,57 +0,0 @@
|
||||
--freemarker template |
||||
<#include "RPTA-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="rpta_installed"> |
||||
select count(*) from systeminfo where tid=330; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign rpta_column_layout = |
||||
{"uniquename":"sos_stud_sem_jahr", |
||||
"caption":"Studierende nach Studienjahr", |
||||
"rpta_resultset":"sos_stud_astat", |
||||
"whereclause":"", |
||||
"description":"Studierende nach Studienjahr" |
||||
} |
||||
/> |
||||
|
||||
<#assign rpta_columns = [ |
||||
{"uniquename":"jahr", |
||||
"caption":"Jahr", |
||||
"srcfieldname":"sem_rueck_beur_ein", |
||||
"targetfieldname":"jahr", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"get_akad_jahr(sem_rueck_beur_ein,''A'')", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"(WS + darauffolgendes SS)" |
||||
}, |
||||
{"uniquename":"semestertyp", |
||||
"caption":"Semestertyp", |
||||
"srcfieldname":"sem_rueck_beur_ein", |
||||
"targetfieldname":"semestertyp", |
||||
"column_type":"logicalColumn", |
||||
"col_function":"(case when substring('''' || sem_rueck_beur_ein from 5 for 1)=''2'' then ''WiSe'' else ''SoSe'' end)::varchar(255) ", |
||||
"is_visible":"1", |
||||
"format_code":"", |
||||
"visible_size":"5", |
||||
"is_aggregate":"0", |
||||
"description":"Winter oder Sommersemester" |
||||
}, |
||||
{"uniquename":"summe", |
||||
"caption":"Anzahl der Studierenden", |
||||
"srcfieldname":"summe", |
||||
"column_type":"physicalColumn", |
||||
"col_function":"sum", |
||||
"is_visible":"1", |
||||
"visible_size":"5", |
||||
"is_aggregate":"1", |
||||
"description":"Summe der Studierenden" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
<#if rpta_installed==1> |
||||
<@rpta_column_layout_fuellen /> |
||||
</#if> |
File diff suppressed because one or more lines are too long
@ -1,222 +0,0 @@
@@ -1,222 +0,0 @@
|
||||
|
||||
Apache License |
||||
Version 2.0, January 2004 |
||||
http://www.apache.org/licenses/ |
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
||||
|
||||
1. Definitions. |
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction, |
||||
and distribution as defined by Sections 1 through 9 of this document. |
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by |
||||
the copyright owner that is granting the License. |
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all |
||||
other entities that control, are controlled by, or are under common |
||||
control with that entity. For the purposes of this definition, |
||||
"control" means (i) the power, direct or indirect, to cause the |
||||
direction or management of such entity, whether by contract or |
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the |
||||
outstanding shares, or (iii) beneficial ownership of such entity. |
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity |
||||
exercising permissions granted by this License. |
||||
|
||||
"Source" form shall mean the preferred form for making modifications, |
||||
including but not limited to software source code, documentation |
||||
source, and configuration files. |
||||
|
||||
"Object" form shall mean any form resulting from mechanical |
||||
transformation or translation of a Source form, including but |
||||
not limited to compiled object code, generated documentation, |
||||
and conversions to other media types. |
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or |
||||
Object form, made available under the License, as indicated by a |
||||
copyright notice that is included in or attached to the work |
||||
(an example is provided in the Appendix below). |
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object |
||||
form, that is based on (or derived from) the Work and for which the |
||||
editorial revisions, annotations, elaborations, or other modifications |
||||
represent, as a whole, an original work of authorship. For the purposes |
||||
of this License, Derivative Works shall not include works that remain |
||||
separable from, or merely link (or bind by name) to the interfaces of, |
||||
the Work and Derivative Works thereof. |
||||
|
||||
"Contribution" shall mean any work of authorship, including |
||||
the original version of the Work and any modifications or additions |
||||
to that Work or Derivative Works thereof, that is intentionally |
||||
submitted to Licensor for inclusion in the Work by the copyright owner |
||||
or by an individual or Legal Entity authorized to submit on behalf of |
||||
the copyright owner. For the purposes of this definition, "submitted" |
||||
means any form of electronic, verbal, or written communication sent |
||||
to the Licensor or its representatives, including but not limited to |
||||
communication on electronic mailing lists, source code control systems, |
||||
and issue tracking systems that are managed by, or on behalf of, the |
||||
Licensor for the purpose of discussing and improving the Work, but |
||||
excluding communication that is conspicuously marked or otherwise |
||||
designated in writing by the copyright owner as "Not a Contribution." |
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity |
||||
on behalf of whom a Contribution has been received by Licensor and |
||||
subsequently incorporated within the Work. |
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of |
||||
this License, each Contributor hereby grants to You a perpetual, |
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
||||
copyright license to reproduce, prepare Derivative Works of, |
||||
publicly display, publicly perform, sublicense, and distribute the |
||||
Work and such Derivative Works in Source or Object form. |
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of |
||||
this License, each Contributor hereby grants to You a perpetual, |
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
||||
(except as stated in this section) patent license to make, have made, |
||||
use, offer to sell, sell, import, and otherwise transfer the Work, |
||||
where such license applies only to those patent claims licensable |
||||
by such Contributor that are necessarily infringed by their |
||||
Contribution(s) alone or by combination of their Contribution(s) |
||||
with the Work to which such Contribution(s) was submitted. If You |
||||
institute patent litigation against any entity (including a |
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work |
||||
or a Contribution incorporated within the Work constitutes direct |
||||
or contributory patent infringement, then any patent licenses |
||||
granted to You under this License for that Work shall terminate |
||||
as of the date such litigation is filed. |
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the |
||||
Work or Derivative Works thereof in any medium, with or without |
||||
modifications, and in Source or Object form, provided that You |
||||
meet the following conditions: |
||||
|
||||
(a) You must give any other recipients of the Work or |
||||
Derivative Works a copy of this License; and |
||||
|
||||
(b) You must cause any modified files to carry prominent notices |
||||
stating that You changed the files; and |
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works |
||||
that You distribute, all copyright, patent, trademark, and |
||||
attribution notices from the Source form of the Work, |
||||
excluding those notices that do not pertain to any part of |
||||
the Derivative Works; and |
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its |
||||
distribution, then any Derivative Works that You distribute must |
||||
include a readable copy of the attribution notices contained |
||||
within such NOTICE file, excluding those notices that do not |
||||
pertain to any part of the Derivative Works, in at least one |
||||
of the following places: within a NOTICE text file distributed |
||||
as part of the Derivative Works; within the Source form or |
||||
documentation, if provided along with the Derivative Works; or, |
||||
within a display generated by the Derivative Works, if and |
||||
wherever such third-party notices normally appear. The contents |
||||
of the NOTICE file are for informational purposes only and |
||||
do not modify the License. You may add Your own attribution |
||||
notices within Derivative Works that You distribute, alongside |
||||
or as an addendum to the NOTICE text from the Work, provided |
||||
that such additional attribution notices cannot be construed |
||||
as modifying the License. |
||||
|
||||
You may add Your own copyright statement to Your modifications and |
||||
may provide additional or different license terms and conditions |
||||
for use, reproduction, or distribution of Your modifications, or |
||||
for any such Derivative Works as a whole, provided Your use, |
||||
reproduction, and distribution of the Work otherwise complies with |
||||
the conditions stated in this License. |
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise, |
||||
any Contribution intentionally submitted for inclusion in the Work |
||||
by You to the Licensor shall be under the terms and conditions of |
||||
this License, without any additional terms or conditions. |
||||
Notwithstanding the above, nothing herein shall supersede or modify |
||||
the terms of any separate license agreement you may have executed |
||||
with Licensor regarding such Contributions. |
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade |
||||
names, trademarks, service marks, or product names of the Licensor, |
||||
except as required for reasonable and customary use in describing the |
||||
origin of the Work and reproducing the content of the NOTICE file. |
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or |
||||
agreed to in writing, Licensor provides the Work (and each |
||||
Contributor provides its Contributions) on an "AS IS" BASIS, |
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
||||
implied, including, without limitation, any warranties or conditions |
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
||||
PARTICULAR PURPOSE. You are solely responsible for determining the |
||||
appropriateness of using or redistributing the Work and assume any |
||||
risks associated with Your exercise of permissions under this License. |
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory, |
||||
whether in tort (including negligence), contract, or otherwise, |
||||
unless required by applicable law (such as deliberate and grossly |
||||
negligent acts) or agreed to in writing, shall any Contributor be |
||||
liable to You for damages, including any direct, indirect, special, |
||||
incidental, or consequential damages of any character arising as a |
||||
result of this License or out of the use or inability to use the |
||||
Work (including but not limited to damages for loss of goodwill, |
||||
work stoppage, computer failure or malfunction, or any and all |
||||
other commercial damages or losses), even if such Contributor |
||||
has been advised of the possibility of such damages. |
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing |
||||
the Work or Derivative Works thereof, You may choose to offer, |
||||
and charge a fee for, acceptance of support, warranty, indemnity, |
||||
or other liability obligations and/or rights consistent with this |
||||
License. However, in accepting such obligations, You may act only |
||||
on Your own behalf and on Your sole responsibility, not on behalf |
||||
of any other Contributor, and only if You agree to indemnify, |
||||
defend, and hold each Contributor harmless for any liability |
||||
incurred by, or claims asserted against, such Contributor by reason |
||||
of your accepting any such warranty or additional liability. |
||||
|
||||
END OF TERMS AND CONDITIONS |
||||
|
||||
APPENDIX: How to apply the Apache License to your work. |
||||
|
||||
To apply the Apache License to your work, attach the following |
||||
boilerplate notice, with the fields enclosed by brackets "[]" |
||||
replaced with your own identifying information. (Don't include |
||||
the brackets!) The text should be enclosed in the appropriate |
||||
comment syntax for the file format. We also recommend that a |
||||
file or class name and description of purpose be included on the |
||||
same "printed page" as the copyright notice for easier |
||||
identification within third-party archives. |
||||
|
||||
Copyright [yyyy] [name of copyright owner] |
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); |
||||
you may not use this file except in compliance with the License. |
||||
You may obtain a copy of the License at |
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
||||
Unless required by applicable law or agreed to in writing, software |
||||
distributed under the License is distributed on an "AS IS" BASIS, |
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
See the License for the specific language governing permissions and |
||||
limitations under the License. |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
======================================================================== |
||||
Apache ECharts Subcomponents: |
||||
|
||||
The Apache ECharts project contains subcomponents with separate copyright |
||||
notices and license terms. Your use of the source code for these |
||||
subcomponents is also subject to the terms and conditions of the following |
||||
licenses. |
||||
|
||||
BSD 3-Clause (d3.js): |
||||
The following files embed [d3.js](https://github.com/d3/d3) BSD 3-Clause: |
||||
`/src/chart/treemap/treemapLayout.ts`, |
||||
`/src/chart/tree/layoutHelper.ts`, |
||||
`/src/chart/graph/forceHelper.ts`, |
||||
`/src/util/number.ts` |
||||
See `d3-7.8.0-license.txt` for details of the license. |
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -1,266 +0,0 @@
@@ -1,266 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet version="1.0" |
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:HtmlUtils="de.superx.util.HtmlUtils"> |
||||
<xsl:import href="resultset_html.xsl" /> |
||||
<xsl:import href="interLinks_html.xsl" /> |
||||
<xsl:import href="nd_templates.xsl" /> |
||||
<xsl:import href="pageComponents_html.xsl" /> |
||||
<xsl:import href="viz_components.xsl" /> |
||||
<!--In diesem Stylesheet können Sie individuelle templates unterbringen, |
||||
die in ihrer Präzedenz das normale Stylesheet |
||||
pageComponents_html.xsl überragt. --> |
||||
<xsl:import href="pageComponents_html_final.xsl" /> |
||||
|
||||
<xsl:decimal-format name="German" grouping-separator="." NaN="" zero-digit ="0" decimal-separator="," /> |
||||
|
||||
<!-- wichtig für DOJO!--> |
||||
<xsl:output method="xml" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" |
||||
doctype-system="DTD/xhtml1-strict.dtd" cdata-section-elements="script style" indent="yes" encoding="UTF-8"/> |
||||
|
||||
<xsl:variable name="colon"><xsl:text>'</xsl:text></xsl:variable> |
||||
<xsl:variable name="quote"><xsl:text>"</xsl:text></xsl:variable> |
||||
|
||||
<xsl:variable name="defaultRenderer" select="'plot'" /> |
||||
<xsl:variable name="availableRendererPlot" select="'true'" /> |
||||
<xsl:variable name="availableRendererD3" select="'true'" /> |
||||
|
||||
<xsl:template match="/"> |
||||
<xsl:variable name="maskenname"> |
||||
<xsl:choose> |
||||
<xsl:when test="/ergebnisse/@isMakro='true'"> |
||||
<xsl:value-of select="/ergebnisse/makro/name" /> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="/ergebnisse/ergebnis/maskenname" /> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<html> |
||||
<head> |
||||
<xsl:call-template name="nd_htmlhead"> |
||||
<xsl:with-param name="title" select="concat('Tabelle ',$maskenname)" /> |
||||
</xsl:call-template> |
||||
|
||||
<link rel="stylesheet" href="../style/sx_tabelle.css" /> |
||||
<!--<link rel="stylesheet" href="../style/superx.css" />--> |
||||
|
||||
</head> |
||||
<xsl:call-template name="nd_htmlscript" /> |
||||
<xsl:call-template name="nd_tableJavascript" /> |
||||
<xsl:call-template name="nd_tableCSS" /> |
||||
<xsl:call-template name="importVizJavascriptLibsViewer"></xsl:call-template> |
||||
|
||||
<body class="has-navbar-fixed-top" onload="document.getElementById('progressbar').style.display='none';initPage();"> |
||||
<!--#Template Beginn Top-Navigation--> |
||||
<!--<xsl:call-template name="nd_navi_top" />--> |
||||
<!--#Template Ende Top-Navigation--> |
||||
|
||||
<div class="columns"> |
||||
|
||||
<!--#Template Beginn Navigations-Panel Auswertungen--> |
||||
<xsl:if test="/ergebnisse/@showNavigation='true' and 1=0"><!-- erstmal kein Panel,weil der Asssistent schon recht breit ist --> |
||||
<xsl:for-each select="/ergebnisse"> |
||||
<xsl:call-template name="nd_navi_panel" /> |
||||
</xsl:for-each> |
||||
</xsl:if> |
||||
<!--#Template Ende Navigations-Panel Auswertungen--> |
||||
|
||||
<!--Beginn Seitentitel, Krümelpfad, Knopfleiste, Legende, Erläuterung--> |
||||
<section class="hero-body"> |
||||
<div class="container"> |
||||
<div class="columns is-mobile is-left"> |
||||
<div class="column is-full"> |
||||
<div class="card "> |
||||
<div class="card-content"> |
||||
|
||||
<xsl:call-template name="nd_progressbar" /> |
||||
|
||||
<xsl:call-template name="viz_viewer_columnwise"/> |
||||
<xsl:call-template name="bottombar" /> |
||||
<xsl:comment>customfooter</xsl:comment> |
||||
</div> <!--Ende content --> |
||||
</div> <!--Ende card-content--> |
||||
</div> <!--Ende card-background --> |
||||
</div> <!--Ende column--> |
||||
</div> <!--Ende hero-columns--> |
||||
|
||||
</section> <!--Ende hero = Berichts-Card--> |
||||
</div> <!--Ende site-columns--> |
||||
<xsl:call-template name="modalCards" /> |
||||
</body> |
||||
<!-- end body --> |
||||
</html> |
||||
</xsl:template> |
||||
<!-- end main --> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<xsl:template name="viz_viewer_columnwise"> |
||||
<xsl:if test="/ergebnisse/@isMakro='true'"> |
||||
<h1 class="title is-4"><xsl:value-of select="/ergebnisse/makro/name" /></h1> |
||||
</xsl:if> |
||||
<p></p> |
||||
<xsl:call-template name="buildVizMetadata" /> |
||||
|
||||
<!-- end Kopf--> |
||||
<!-- start Grafiken--> |
||||
<!-- Berechne den Umbruch der Spalten für die Kacheln |
||||
z.B. 6 Grafiken ergibt einen Umbruch nach der 3. Teiltabelle |
||||
Formel: ANZ / 2 kaufm. gerundet |
||||
--> |
||||
<xsl:variable name="spalten_anz"> |
||||
<xsl:value-of select="max(number(/ergebnisse/ergebnis/felder/feld[@varname='Spaltenanzahl']/value))"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="colwidth"> |
||||
<xsl:value-of select="12 div $spalten_anz"/> |
||||
</xsl:variable> |
||||
|
||||
<xsl:variable name="ergebniselemente_anz"> |
||||
<xsl:value-of select="count(/ergebnisse/ergebnis[felder/feld[@varname='Grafik']])"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="ergebniselemente_umbruch"> |
||||
<xsl:value-of select="round($ergebniselemente_anz div max(number(/ergebnisse/ergebnis/felder/feld[@varname='Spaltenanzahl']/value)))"/> |
||||
</xsl:variable> |
||||
<!--<p>plan: <xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Spaltenanzahl']/value"/> |
||||
</p>--> |
||||
<span class="separator"> </span> |
||||
<!--Beginn Selektions-Card--> |
||||
<!--Beginn Berichtstitel, Pfad, Knopfleiste--> |
||||
<section class="hero-body has-background-light"> |
||||
<section class="container"> <!--Beginn Kartenreihe --> |
||||
<div class="columns features is-mobile is-left"> <!--Beginn columns Kartenreihe --> |
||||
|
||||
<xsl:for-each select="ergebnisse/ergebnis[felder/feld[@varname='Grafik']/value!='']/ergebniselement"> |
||||
<xsl:variable name="ergebniselement_counter" select="position()" /> |
||||
<xsl:variable name="chart_uniquename"><xsl:value-of select="../felder/feld[@varname='Grafik']/value" /></xsl:variable> |
||||
<xsl:variable name="ergebniselement_ordnr"><xsl:value-of select="@ordnr" /></xsl:variable> |
||||
|
||||
|
||||
<!--<p><xsl:value-of select="concat('Zähler: ',$ergebniselement_counter)"/></p>--> |
||||
<div> |
||||
<xsl:attribute name="class"><xsl:text>column is-</xsl:text><xsl:value-of select="$colwidth"/></xsl:attribute> |
||||
<h2><xsl:value-of select="viz_charts/viz_chart[@uniquename=$chart_uniquename]/@caption"/></h2> |
||||
|
||||
<xsl:call-template name="viewer_kachel"> |
||||
<xsl:with-param name="caption" select="viz_charts/viz_chart[@uniquename=$chart_uniquename]/@caption"/> |
||||
<xsl:with-param name="ergebniselement_ordnr" select="$ergebniselement_ordnr" /> |
||||
</xsl:call-template> |
||||
<!--<p><xsl:value-of select="concat($spalten_anz,'-',$ergebniselement_counter,':',$ergebniselement_counter mod $spalten_anz)"/></p>--> |
||||
</div> |
||||
<!-- neue Zeile wenn counter mod Spaltenanz. =0 --> |
||||
|
||||
<!--<xsl:if test="$ergebniselement_counter >= $spalten_anz and ($ergebniselement_counter mod $spalten_anz) =0">--> |
||||
<xsl:text disable-output-escaping="yes"><![CDATA[ |
||||
</div> |
||||
</section> |
||||
<hr /> |
||||
<section class="container"> |
||||
<div class="columns features is-mobile is-left"> |
||||
]]></xsl:text> |
||||
<!--</xsl:if>--> |
||||
</xsl:for-each> |
||||
</div><!-- der columns --> |
||||
</section><!-- der letzten Kartenreihe --> |
||||
</section><!-- des Portals --> |
||||
</xsl:template> |
||||
<!--<xsl:template name="viewer_kachel"> |
||||
<xsl:param name="caption" /> |
||||
<xsl:param name="ergebniselement_ordnr" /> |
||||
<div class="card is-shady"> |
||||
<div class="card-image"> |
||||
<div id="{concat('chartDiv',$ergebniselement_ordnr)}"> |
||||
Platzhalter |
||||
</div> |
||||
</div> |
||||
<p> |
||||
<a onClick="{concat('javascript:openModalImage(',$ergebniselement_ordnr,');')}"> |
||||
<span class="button is-success is-small modal-button">Vergrößern ...</span></a> |
||||
|
||||
<a onClick="{concat('javascript:openModalCardDetail(',$ergebniselement_ordnr,');')}"> |
||||
<span class="button is-link is-small modal-button">Mehr Infos ...</span></a> |
||||
|
||||
</p> |
||||
|
||||
</div> |
||||
|
||||
</xsl:template>--> |
||||
<xsl:template name="importVizJavascriptLibsViewer"> |
||||
<script language="Javascript" type="text/javascript" src="../xml/js/jquery-2.1.1.min.js" /> |
||||
<script language="JavaScript" type="text/javascript" src="../xml/js/memtext/sx_functions.js"></script> |
||||
<xsl:call-template name="tableJavascript_viz" /> |
||||
<script language="Javascript" type="text/javascript"> |
||||
<xsl:text><![CDATA[ |
||||
|
||||
function initPage() |
||||
{ |
||||
var myChartModelStr=""; |
||||
var myDiv=""; |
||||
]]></xsl:text> |
||||
<xsl:for-each select="ergebnisse"> |
||||
<xsl:for-each select="ergebnis/ergebniselement"> |
||||
<xsl:variable name="chart_uniquename"><xsl:value-of select="../felder/feld[@varname='Grafik']/value" /></xsl:variable> |
||||
<xsl:variable name="ergebniselement_ordnr"><xsl:value-of select="@ordnr" /></xsl:variable> |
||||
<xsl:if test="$chart_uniquename != ''"> |
||||
<xsl:text> |
||||
myChartModelStr='</xsl:text> |
||||
<xsl:call-template name="getChartModel"> |
||||
<xsl:with-param name="chart_uniquename" select="$chart_uniquename"/> |
||||
<xsl:with-param name="useMiniatureIfAvailable" select="'true'"/> |
||||
</xsl:call-template> |
||||
<xsl:text>'; |
||||
myDiv="</xsl:text> |
||||
<xsl:value-of select="concat('chartDiv',$ergebniselement_ordnr)" /> |
||||
<xsl:text><![CDATA["; |
||||
createViewer(myChartModelStr,myDiv); |
||||
myDiv="]]></xsl:text> |
||||
<xsl:value-of select="concat('modalCardImage',$ergebniselement_ordnr)" /> |
||||
<xsl:text>"; |
||||
myChartModelStr='</xsl:text> |
||||
<xsl:call-template name="getChartModel"> |
||||
<xsl:with-param name="chart_uniquename" select="$chart_uniquename"/> |
||||
<xsl:with-param name="useMiniatureIfAvailable" select="'false'"/> |
||||
</xsl:call-template> |
||||
<xsl:text>'; |
||||
|
||||
createViewer(myChartModelStr,myDiv); |
||||
myDiv="</xsl:text> |
||||
<xsl:value-of select="concat('modalCardDetailImage',$ergebniselement_ordnr)" /> |
||||
<xsl:text>"; |
||||
myChartModelStr='</xsl:text> |
||||
<xsl:call-template name="getChartModel"> |
||||
<xsl:with-param name="chart_uniquename" select="$chart_uniquename"/> |
||||
<xsl:with-param name="useMiniatureIfAvailable" select="'false'"/> |
||||
</xsl:call-template> |
||||
<xsl:text>'; |
||||
createViewer(myChartModelStr,myDiv); |
||||
</xsl:text> |
||||
</xsl:if> |
||||
</xsl:for-each> |
||||
</xsl:for-each> |
||||
<xsl:text><![CDATA[ |
||||
} |
||||
|
||||
function createViewer(myChartModelStr,chartDiv) |
||||
{ |
||||
myChartModel=JSON.parse(myChartModelStr); |
||||
renderChart(chartDiv,myChartModel); |
||||
} |
||||
|
||||
function toggleLegendeDisplay(legendeDiv) |
||||
{ |
||||
var myDiv=document.getElementById(legendeDiv); |
||||
if(myDiv.style.display=="block") |
||||
myDiv.style.display="none"; |
||||
else |
||||
myDiv.style.display="block"; |
||||
|
||||
} |
||||
|
||||
]]></xsl:text> |
||||
</script> |
||||
|
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -1,374 +0,0 @@
@@ -1,374 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet version="1.0" |
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:HtmlUtils="de.superx.util.HtmlUtils"> |
||||
<xsl:import href="resultset_html.xsl" /> |
||||
<xsl:import href="interLinks_html.xsl" /> |
||||
<xsl:import href="nd_templates.xsl" /> |
||||
<xsl:import href="pageComponents_html.xsl" /> |
||||
<xsl:import href="viz_components.xsl" /> |
||||
<!--In diesem Stylesheet können Sie individuelle templates unterbringen, |
||||
die in ihrer Präzedenz das normale Stylesheet |
||||
pageComponents_html.xsl überragt. --> |
||||
<xsl:import href="pageComponents_html_final.xsl" /> |
||||
|
||||
<xsl:decimal-format name="German" grouping-separator="." NaN="" zero-digit ="0" decimal-separator="," /> |
||||
|
||||
<!-- wichtig für DOJO!--> |
||||
<xsl:output method="xml" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" |
||||
doctype-system="DTD/xhtml1-strict.dtd" cdata-section-elements="script style" indent="yes" encoding="UTF-8"/> |
||||
|
||||
<xsl:variable name="colon"><xsl:text>'</xsl:text></xsl:variable> |
||||
<xsl:variable name="quote"><xsl:text>"</xsl:text></xsl:variable> |
||||
|
||||
<!--<xsl:variable name="defaultRenderer" select="'echarts'" /> |
||||
<xsl:variable name="availableRendererPlot" select="'true'" /> |
||||
<xsl:variable name="availableRendererD3" select="'true'" /> |
||||
--> |
||||
<xsl:template match="/"> |
||||
<xsl:variable name="maskenname"> |
||||
<xsl:choose> |
||||
<xsl:when test="/ergebnisse/@isMakro='true'"> |
||||
<xsl:value-of select="/ergebnisse/makro/name" /> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="/ergebnisse/ergebnis/maskenname" /> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<html> |
||||
<head> |
||||
<xsl:call-template name="nd_htmlhead"> |
||||
<xsl:with-param name="title" select="concat('Tabelle ',$maskenname)" /> |
||||
</xsl:call-template> |
||||
|
||||
<link rel="stylesheet" href="../style/sx_tabelle.css" /> |
||||
<!--<link rel="stylesheet" href="../style/superx.css" />--> |
||||
|
||||
</head> |
||||
<xsl:call-template name="nd_htmlscript" /> |
||||
<xsl:call-template name="nd_tableJavascript" /> |
||||
<xsl:call-template name="nd_tableCSS" /> |
||||
<xsl:call-template name="importVizViewer"></xsl:call-template> |
||||
|
||||
<body class="has-navbar-fixed-top" onload="document.getElementById('progressbar').style.display='none';initPage();"> |
||||
<!--#Template Beginn Top-Navigation--> |
||||
<xsl:call-template name="viz_navi_top" /> |
||||
<!--<xsl:call-template name="ude_header_dashboard" />--> |
||||
|
||||
|
||||
<!--#Template Ende Top-Navigation--> |
||||
|
||||
<div class="columns"> |
||||
|
||||
<!--#Template Beginn Navigations-Panel Auswertungen--> |
||||
<xsl:if test="/ergebnisse/@showNavigation='true' and 1=0"><!-- erstmal kein Panel,weil der Asssistent schon recht breit ist --> |
||||
<xsl:for-each select="/ergebnisse"> |
||||
<xsl:call-template name="nd_navi_panel" /> |
||||
</xsl:for-each> |
||||
</xsl:if> |
||||
<!--#Template Ende Navigations-Panel Auswertungen--> |
||||
|
||||
<!--Beginn Seitentitel, Krümelpfad, Knopfleiste, Legende, Erläuterung--> |
||||
<section class="hero-body"> |
||||
<div class="container"> |
||||
<div class="columns is-mobile is-left"> |
||||
<div class="column is-full"> |
||||
<div class="card "> |
||||
<div class="card-content"> |
||||
|
||||
<xsl:call-template name="nd_progressbar" /> |
||||
|
||||
<xsl:call-template name="viz_viewer_columnwise"/> |
||||
|
||||
<xsl:call-template name="bottombar" /> |
||||
<xsl:comment>customfooter</xsl:comment> |
||||
</div> <!--Ende content --> |
||||
</div> <!--Ende card-content--> |
||||
</div> <!--Ende card-background --> |
||||
</div> <!--Ende column--> |
||||
</div> <!--Ende hero-columns--> |
||||
|
||||
</section> <!--Ende hero = Berichts-Card--> |
||||
</div> <!--Ende site-columns--> |
||||
<xsl:call-template name="modalCards" /> |
||||
</body> |
||||
<!-- end body --> |
||||
</html> |
||||
</xsl:template> |
||||
<!-- end main --> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<xsl:template name="viz_viewer_columnwise"> |
||||
<xsl:if test="/ergebnisse/@isMakro='true'"> |
||||
<p class="cockpit_title"><xsl:value-of select="/ergebnisse/makro/name" /></p> |
||||
</xsl:if> |
||||
<p></p> |
||||
<xsl:call-template name="buildVizMetadata" /> |
||||
|
||||
<!-- end Kopf--> |
||||
<!-- start Grafiken--> |
||||
|
||||
<span class="separator"> </span> |
||||
<!--Beginn Selektions-Card--> |
||||
<!--Beginn Berichtstitel, Pfad, Knopfleiste--> |
||||
<section class="hero-body"> |
||||
<section class="container"> <!--Beginn Kartenreihe --> |
||||
<div class="columns features is-mobile is-left"> <!--Beginn columns Kartenreihe --> |
||||
<div class="column is-two-thirds"> |
||||
|
||||
<xsl:for-each select="ergebnisse/ergebnis[felder/feld[@varname='Grafik']/value!='']/ergebniselement"> |
||||
<xsl:variable name="ergebniselement_counter" select="position()" /> |
||||
<xsl:variable name="chart_uniquename"><xsl:value-of select="../felder/feld[@varname='Grafik']/value" /></xsl:variable> |
||||
<xsl:variable name="ergebniselement_ordnr"><xsl:value-of select="@ordnr" /></xsl:variable> |
||||
|
||||
|
||||
<!--<p><xsl:value-of select="concat('Zähler: ',$ergebniselement_counter)"/></p>--> |
||||
<xsl:call-template name="viewer_kachel"> |
||||
<xsl:with-param name="caption" select="viz_charts/viz_chart[@uniquename=$chart_uniquename]/@caption"/> |
||||
<xsl:with-param name="ergebniselement_ordnr" select="$ergebniselement_ordnr" /> |
||||
</xsl:call-template> |
||||
<!--<p><xsl:value-of select="concat($spalten_anz,'-',$ergebniselement_counter,':',$ergebniselement_counter mod $spalten_anz)"/></p>--> |
||||
|
||||
</xsl:for-each> |
||||
<xsl:call-template name="displayTables" /> |
||||
</div> |
||||
|
||||
<div class="column"> |
||||
<xsl:if test="count(/ergebnisse/ergebnis[@ordnr='0']/completefields/feld[@art='1']) > 0"> |
||||
<xsl:call-template name="renderTableDialogs" /> |
||||
</xsl:if> |
||||
</div><!--Ende column--> |
||||
</div> <!--Ende hero-columns--> |
||||
|
||||
|
||||
</section> |
||||
</section><!-- des Portals --> |
||||
</xsl:template> |
||||
|
||||
|
||||
<xsl:template name="ude_header_dashboard_alt"> |
||||
<header> |
||||
<div class="hs_header"> |
||||
|
||||
<div class="hs_header_box1"></div> |
||||
<div class="hs_header_box2"> |
||||
|
||||
<a class="button is-link is-outlined is-small" onclick="alert('todo');">Studienanfänger*innen</a> |
||||
<a class="button is-link is-outlined is-small" onclick="alert('todo');">Studierende</a> |
||||
<a class="button is-link is-outlined is-small" onclick="alert('todo');">Absolvent*innen</a> |
||||
<a class="button is-link is-outlined is-small" onclick="alert('todo');">Doktorand*innen</a> |
||||
|
||||
<!--<p class="cockpit_title">Universität Duisburg-Essen</p>--> |
||||
<div class="field"><span class="buttonlist"> |
||||
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:exportBooklet('application/pdf')"> |
||||
<img title="Ausgabe im PDF-Querformat" alt="Ausgabe im PDF-Querformat" src="../images/icons/into_pdf.svg" class="svg_icon" border="0" /></a> |
||||
<span class="separator"> </span> |
||||
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:exportBooklet('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')"> |
||||
<img title="Ausgabe in Excel" alt="Ausgabe in Excel" src="../images/icons/into_excel_normal.svg" class="svg_icon" border="0" /></a> |
||||
<span class="separator"> </span> |
||||
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:exportBooklet('application/vnd.openxmlformats-officedocument.wordprocessingml.document')"> |
||||
<img title="Ausgabe in Word" alt="Ausgabe in Word" width="25px" height="25px" src="../images/icons/into_word.svg" class="svg_icon" border="0" /></a> |
||||
|
||||
</span> |
||||
|
||||
</div> |
||||
<a href="https://www.uni-due.de/verwaltung/dtac/akademisches_controlling.php"> |
||||
<figure class="image is-64x64"><img src="../images/signet_ude_rgb.svg" title="UDE. Akademisches Controlling" /></figure></a> |
||||
</div> |
||||
|
||||
|
||||
<div class="hs_header_box1"></div> |
||||
|
||||
</div> |
||||
</header> |
||||
</xsl:template> |
||||
|
||||
|
||||
<xsl:template name="buildVizMetadata"> |
||||
<xsl:variable name="vizInitialName"> |
||||
<xsl:choose> |
||||
<xsl:when test="/ergebnisse/@isMakro='true'"> |
||||
<xsl:value-of select="/ergebnisse/makro/name"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="/ergebnisse/ergebnis/maskenname" /> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<!--<xsl:call-template name="navigationsmenue" />--> |
||||
<script language="Javascript"> |
||||
|
||||
<xsl:text> |
||||
|
||||
var vizInitialName='</xsl:text><xsl:value-of select="$vizInitialName"/><xsl:text>'; |
||||
|
||||
|
||||
function dataRowMetaData(tableId,nr,colname,colcaption,coltype,colfunction) |
||||
{ |
||||
this.tableId=tableId; |
||||
this.nr=nr; |
||||
this.colname=colname; |
||||
this.colcaption=colcaption; |
||||
this.coltype=coltype; |
||||
this.colfunction=colfunction; |
||||
} |
||||
|
||||
|
||||
function tableMetaData(nr,value,name,isDefault) |
||||
{ |
||||
this.value=value; |
||||
this.nr=nr; |
||||
this.name=name |
||||
this.isDefault=isDefault; |
||||
|
||||
} |
||||
|
||||
var rsTableMetaData=new Array(); |
||||
var rsColumnMetaData=new Array(); |
||||
var rs=new Array(); |
||||
|
||||
</xsl:text> |
||||
|
||||
|
||||
|
||||
</script> |
||||
|
||||
|
||||
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement"> |
||||
<xsl:call-template name="buildVizData" > |
||||
<xsl:with-param name="tableId" select="@ordnr" /> |
||||
</xsl:call-template> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="buildVizData"> |
||||
<xsl:param name="tableId" /> |
||||
|
||||
<script language="Javascript"> |
||||
|
||||
<xsl:text> |
||||
|
||||
rsTableMetaData.push(new tableMetaData( |
||||
</xsl:text> |
||||
<xsl:value-of select="position()"/> |
||||
<xsl:text>,'</xsl:text> |
||||
<xsl:value-of select="$tableId"/> |
||||
<xsl:text>','</xsl:text> |
||||
<xsl:value-of select="concat('Tab. ',$tableId+1)"/> |
||||
<xsl:text>', |
||||
</xsl:text> |
||||
<xsl:choose> |
||||
<xsl:when test="position()=1"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text>false</xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
<xsl:text> |
||||
)); |
||||
rs[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>]=new Array(); |
||||
|
||||
//var myChartModel=new chartModel(1,"","",rsTableMetaData); |
||||
|
||||
function dataRow_</xsl:text><xsl:value-of select="$tableId"/><xsl:text>(rownr</xsl:text> |
||||
<xsl:for-each select="sqlerg/complete_headers/header"> |
||||
<xsl:text>,</xsl:text> |
||||
<xsl:call-template name="getColumnNameJS"> |
||||
<xsl:with-param name="columnNameFromDB" select="f_name"/> |
||||
</xsl:call-template> |
||||
</xsl:for-each> |
||||
<xsl:text> |
||||
) |
||||
{ |
||||
this.rownr=rownr; |
||||
</xsl:text> |
||||
<xsl:for-each select="sqlerg/complete_headers/header"> |
||||
<xsl:text>this.</xsl:text><xsl:call-template name="getColumnNameJS"> |
||||
<xsl:with-param name="columnNameFromDB" select="f_name"/> |
||||
</xsl:call-template><xsl:text>=</xsl:text> |
||||
<xsl:call-template name="getColumnNameJS"> |
||||
<xsl:with-param name="columnNameFromDB" select="f_name"/> |
||||
</xsl:call-template><xsl:text>; |
||||
</xsl:text> |
||||
</xsl:for-each><xsl:text> |
||||
} |
||||
|
||||
rsColumnMetaData[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>]=new Array(); |
||||
|
||||
rsColumnMetaData[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>].push(new dataRowMetaData('</xsl:text> |
||||
<xsl:value-of select="$tableId"/><xsl:text>',</xsl:text> |
||||
<xsl:value-of select="0"/> |
||||
<xsl:text>,'rownr','Zeilennr.',0,4)); |
||||
</xsl:text> |
||||
|
||||
|
||||
<xsl:for-each select="sqlerg/complete_headers/header"> |
||||
<xsl:variable name="rownr"> |
||||
<xsl:value-of select="position()"/> |
||||
</xsl:variable> |
||||
<xsl:text> |
||||
rsColumnMetaData[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>].push(new dataRowMetaData('</xsl:text> |
||||
<xsl:value-of select="$tableId"/><xsl:text>',</xsl:text> |
||||
<xsl:value-of select="$rownr"/> |
||||
<xsl:text>,'</xsl:text> |
||||
<xsl:call-template name="getColumnNameJS"> |
||||
<xsl:with-param name="columnNameFromDB" select="f_name"/> |
||||
</xsl:call-template> |
||||
<xsl:text>','</xsl:text> |
||||
<xsl:call-template name="remove_linebreaksAndQuot"> |
||||
<xsl:with-param name="volltext" select="wert" /> |
||||
</xsl:call-template> |
||||
<xsl:text>',0,null));</xsl:text> <!--coltype noch unbekannt, colfunction unnötig--> |
||||
</xsl:for-each> |
||||
|
||||
|
||||
<xsl:for-each select="sqlerg/row"> |
||||
<xsl:variable name="rownr"> |
||||
<xsl:value-of select="position()"/> |
||||
</xsl:variable> |
||||
<xsl:if test="$rownr=1"> |
||||
<!-- first metadata --> |
||||
<xsl:for-each select="col"> |
||||
<xsl:variable name="colnr"> |
||||
<xsl:value-of select="position()"/> |
||||
</xsl:variable> |
||||
<xsl:text> |
||||
rsColumnMetaData[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>][</xsl:text><xsl:value-of select="number($colnr)"/><xsl:text>].coltype=</xsl:text><xsl:value-of select="@typ"/> |
||||
<xsl:text>; |
||||
</xsl:text> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:if> |
||||
<!--now resultset--> |
||||
<xsl:text> |
||||
//rs[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>]= new Array(); |
||||
rs[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>].push(new dataRow_</xsl:text><xsl:value-of select="$tableId"/><xsl:text>(</xsl:text><xsl:value-of select="$rownr"/> |
||||
<xsl:for-each select="col"> |
||||
<xsl:text>,</xsl:text> |
||||
<xsl:choose> |
||||
<xsl:when test="@typ='1'"><xsl:text>'</xsl:text> |
||||
<xsl:call-template name="remove_linebreaksAndQuot"> |
||||
<xsl:with-param name="volltext" select="wert" /> |
||||
</xsl:call-template> |
||||
<xsl:text>'</xsl:text></xsl:when> |
||||
<!--todo:Typ Datum --> |
||||
<xsl:when test="string-length(wert)=0"><xsl:text>null</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="wert"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:for-each> |
||||
<xsl:text>)); |
||||
</xsl:text> |
||||
</xsl:for-each> |
||||
|
||||
|
||||
</script> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
Loading…
Reference in new issue