From c8db6030aae52a7c98ac65b8b99d3b364edab62e Mon Sep 17 00:00:00 2001 From: Daniel Quathamer Date: Mon, 13 Oct 2025 09:36:57 +0200 Subject: [PATCH] Repo Variable CUSTOMXMLADD #1 --- src-modules/module/viz/conf/viz.xml | 47 +- .../viz/schluesseltabellen/customxmladd.sql | 43 +- ...a_sos_lab_aggr_abgrp_zeitreihe_fuellen.sql | 10 +- .../viz/schluesseltabellen/sx_repository.unl | 56 - .../sx_repository_customxmladd.unl | 359 +++++ .../sx_repository_customxmladd_unload.sql | 27 + .../sx_repository_fuellen.sql | 9 +- .../sx_repository_fuellen.x | 40 +- .../viz/schluesseltabellen/viz_chart.unl | 1419 +++++++++++++++++ .../schluesseltabellen/viz_chart_fuellen.sql | 59 +- .../viz/schluesseltabellen/viz_chart_unload.x | 46 +- .../viz/schluesseltabellen/viz_chart_upload.x | 9 +- ...iz_properties_echarts_line_bar_fuellen.sql | 2 +- .../module/viz/upgrade/viz_upgrade_man.sql | 6 + superx/xml/js/viz/viz_assistent.js | 39 +- superx/xml/js/viz/viz_viewer.js | 37 +- superx/xml/viz_components.xsl | 105 +- superx/xml/viz_html_chart_viewer_grid.xsl | 8 +- 18 files changed, 2163 insertions(+), 158 deletions(-) create mode 100644 src-modules/module/viz/schluesseltabellen/sx_repository_customxmladd.unl create mode 100644 src-modules/module/viz/schluesseltabellen/sx_repository_customxmladd_unload.sql diff --git a/src-modules/module/viz/conf/viz.xml b/src-modules/module/viz/conf/viz.xml index 0110a12..2ed3b0c 100644 --- a/src-modules/module/viz/conf/viz.xml +++ b/src-modules/module/viz/conf/viz.xml @@ -1,6 +1,6 @@ - @@ -134,8 +134,11 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[VIZ]" /> in px in px in px - - + + 1=ja, d.h. von der Hochschule angepaßt, 0=nein, d.h. + Auslieferung der Software + @@ -180,6 +183,32 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[VIZ]" /> --> + +tid +Diagrammtyp +Eigenschaft der Visualisierung +Pflichteingabe +Sortiernr. + + + + + +public +viz_type_property +tid +1 +viz_type_property_pkey + + + + + + + + +
Schlüsseltabelle für Eigenschaften von Visualisieren @@ -655,13 +684,13 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen $VIZ_PFAD/masken - + Teiltabelle für Makrobericht Studierende gesamt / 1. FS / 1.HS $VIZ_PFAD/masken - + Makrobericht Studierende gesamt / 1. FS / 1.HS $VIZ_PFAD/masken @@ -757,7 +786,7 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen $VIZ_PFAD/masken - + $VIZ_PFAD/masken @@ -930,6 +959,7 @@ booklet_stylesheet VARCHAR(255) + @@ -1107,7 +1137,8 @@ chart_active SMALLINT default 1 , chart_width INTEGER default 600 , chart_height INTEGER default 400 , chart_miniature_width INTEGER default 200 , -chart_miniature_height INTEGER default 100 +chart_miniature_height INTEGER default 100 , +is_custom SMALLINT ) ;" scriptfile="" database=""/> @@ -1138,6 +1169,7 @@ booklet_stylesheet VARCHAR(255) + -
+
@@ -1711,7 +1711,7 @@ Platzhalter
-
+

@@ -1759,7 +1759,7 @@ Platzhalter -
    +
      @@ -2170,7 +2170,7 @@ td.integer { html, body { height: auto; min-height: 100vh; - overflow-x: hidden; + overflow-x: auto; overflow-y: auto; } /*Cockpit-Header*/ @@ -2211,12 +2211,84 @@ html, body { /*justify-content: space-between;*/ /*für gleichm. Leerraum zw. Elementen*/ background-color: #004c93; } +/*--20250917 eingefügt, klappt nicht bei fester Spaltenanzahl:--*/ +/*.grid { display: flex; + flex-wrap: wrap; erlaubt Umbruch + }*/ + +.dashboard-tabs { + display: flex; + flex-wrap: wrap; /* erlaubt Umbruch */ + list-style: none; + margin: 1rem; + padding: 0; + /*border-bottom: 1px solid #ccc;*/ +} + +.dashboard-tabs li { + flex: 1 1 auto; /* alle Tabs gleich breit, aber flexibel */ + text-align: center; + /*border: 1px solid #ccc; + border-bottom: none; + background: #f9f9f9;*/ +} + +.dashboard-tabs li a { + display: block; + padding: 0.75em 1em; + text-decoration: none; + font-weight: bold; + color: #333; + height: 2.5rem; +} + +.dashboard-tabs li a:hover { + background: #e0e0e0; +} -@media screen and (max-width: 768px) { /* 300425BF eingefügt*/ - .hs_header { - background: red; - padding: 10em; +.columns { + display: flex; + flex-wrap: wrap; } + +@media (max-width: 475px) { +/* 20250920 eingefügt */ + .columns { padding-top: 2.5rem; } + .grid { padding-top: 17.5rem; } +} + +@media (min-width: 476px) and (max-width: 576px) { +/* 20250920 eingefügt */ + .grid { padding-top: 15rem; } +} + +@media (min-width: 577px) and (max-width: 621px) { +/* 20250920 eingefügt */ + .grid { padding-top: 10rem; } +} + +@media (min-width: 622px) and (max-width: 639px) { +/* 20250920 eingefügt */ + .grid { padding-top: 8rem; } +} + +@media (min-width: 640px) and (max-width: 768px) { + .grid { padding-top: 5rem; } +} + +@media (min-width: 769px) and (max-width: 1070px) { +/* 20250919 eingefügt: bis 769px: mobile; ab 769px: tablet and up; ab 1024px: desctop an up */ + .grid { padding-top: 5rem; } +} + +@media (min-width: 1071px) and (max-width: 1094px) { +/* 20250919 eingefügt */ + .grid { padding-top: 1.5rem; } +} + +@media (min-width: 1095px) { +/* 20250919 eingefügt*/ + .grid { padding-top: 0.5rem; } } .buttons-container { /* 300425BF eingefügt*/ @@ -2433,6 +2505,17 @@ vertical-align:center; empty-cells:show vertical-align:center; } + .vizTitle + { + margin-top: 2em; + white-space: normal; + word-wrap: normal; + overflow-wrap: break-word; + hyphens: auto; + font-size:1.2em; + font-weight:bolder; + } + @@ -2531,11 +2614,11 @@ vertical-align:center;
      -

      - +

      + diff --git a/superx/xml/viz_html_chart_viewer_grid.xsl b/superx/xml/viz_html_chart_viewer_grid.xsl index 2a46145..a4e1d59 100644 --- a/superx/xml/viz_html_chart_viewer_grid.xsl +++ b/superx/xml/viz_html_chart_viewer_grid.xsl @@ -85,7 +85,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:HtmlUtils="de.superx.util -

      +
      @@ -141,12 +141,12 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:HtmlUtils="de.superx.util
      Ausgabe im PDF-Querformat -   + Ausgabe in Excel -   + - Ausgabe in Word + Ausgabe in Word