From 5472b4a75fa8a82db781022dc45729400eb7bd4e Mon Sep 17 00:00:00 2001 From: Jonas Werner Date: Sun, 23 Mar 2025 17:11:34 +0100 Subject: [PATCH] added speech and speaker-speech export buttons --- src/main/resources/static/index.css | 6 ++++++ .../resources/templates/parlamentarierDetails.ftl | 12 ++++++++++++ src/main/resources/templates/speech.ftl | 14 ++++++++++++++ 3 files changed, 32 insertions(+) diff --git a/src/main/resources/static/index.css b/src/main/resources/static/index.css index c77d335..73f5f71 100644 --- a/src/main/resources/static/index.css +++ b/src/main/resources/static/index.css @@ -296,3 +296,9 @@ select { margin-bottom: 20px; border-radius: 10px; } + +.export-button { + flex: 1; + flex-direction: row; + justify-content: center; +} diff --git a/src/main/resources/templates/parlamentarierDetails.ftl b/src/main/resources/templates/parlamentarierDetails.ftl index 9bd8a6a..d256399 100644 --- a/src/main/resources/templates/parlamentarierDetails.ftl +++ b/src/main/resources/templates/parlamentarierDetails.ftl @@ -32,6 +32,18 @@
${speechesCount} Reden vorhanden
+
+

Reden Export von allen Reden von ${p.vorname} ${p.nachname}

+
+ +
+ + +
<#else> Keine Reden vorhanden diff --git a/src/main/resources/templates/speech.ftl b/src/main/resources/templates/speech.ftl index 24a20e1..d4a6f31 100644 --- a/src/main/resources/templates/speech.ftl +++ b/src/main/resources/templates/speech.ftl @@ -48,6 +48,20 @@

+

Reden Export von dieser Rede

+
+ +
+ + +
+ +
+
<#list s.content as c> <#if sentimentIcons??>