From 3e45de56cfedbb489220d789c511d07d78a0942a Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Mon, 4 Dec 2023 17:35:44 +0100 Subject: feat: add page that shows transformation configuration --- src/main/resources/static/style.css | 23 +++++++++++ src/main/resources/templates/fragments.html | 1 + src/main/resources/templates/transformations.html | 47 +++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 src/main/resources/templates/transformations.html (limited to 'src/main/resources') diff --git a/src/main/resources/static/style.css b/src/main/resources/static/style.css index 5a70c2d..203ac56 100644 --- a/src/main/resources/static/style.css +++ b/src/main/resources/static/style.css @@ -86,6 +86,10 @@ nav > ul > li:first-of-type { text-decoration: none; } +.centered { + text-align: center; +} + main { margin: 0 auto; max-width: 1140px; @@ -209,6 +213,25 @@ td.bg-gray, th.bg-gray { color: white; } +.bg-path { + background: var(--bg-gray-op); +} + +.bg-from { + background: var(--bg-red-op); +} + +.bg-to { + background: var(--bg-green-op); +} + +.bg-path, .bg-from, .bg-to { + padding: 0.25rem 0.5rem; + border-radius: 3px; + + font-family: monospace; +} + td.bg-shaded, th.bg-shaded { background: repeating-linear-gradient(140deg, white, #e5e5f5 4px, white 8px); } diff --git a/src/main/resources/templates/fragments.html b/src/main/resources/templates/fragments.html index 369add3..ea0fe1d 100644 --- a/src/main/resources/templates/fragments.html +++ b/src/main/resources/templates/fragments.html @@ -10,6 +10,7 @@ diff --git a/src/main/resources/templates/transformations.html b/src/main/resources/templates/transformations.html new file mode 100644 index 0000000..b8e2f37 --- /dev/null +++ b/src/main/resources/templates/transformations.html @@ -0,0 +1,47 @@ + + + + + ETL-Prozessor + + + +
+
+

Transformationen

+ +

Syntax

+ Hier einige Beispiele zum Syntax des JSON-Path + + +

Konfigurierte Transformationen

+

+ Hier sehen Sie eine Übersicht der konfigurierten Transformationen. +

+ + + + + + + + + + + + + + +
JSON-PathTransformation von ⇒ nach
+ [[ ${transformation.path} ]] + + [[ ${transformation.existingValue} ]] + + [[ ${transformation.newValue} ]] +
+
+ + \ No newline at end of file -- cgit v1.2.3