From 1854b507413f1fe8ea1a233719f7cd6b1b6e0863 Mon Sep 17 00:00:00 2001 From: Ralph Soika Date: Fri, 6 Sep 2024 14:45:19 +0200 Subject: [PATCH] fixed templates Issue #601 --- docker/docker-compose-dev.yaml | 3 +- .../src/main/webapp/error.xhtml | 2 +- .../src/main/webapp/layout/template.xhtml | 66 ++--- .../main/webapp/layout/template_error.xhtml | 167 ++++++++++++ .../main/webapp/layout/template_plain.xhtml | 241 ------------------ .../main/webapp/layout/template_print.xhtml | 58 ++--- .../src/main/webapp/pages/textblock.xhtml | 21 +- 7 files changed, 231 insertions(+), 327 deletions(-) create mode 100644 imixs-office-workflow-app/src/main/webapp/layout/template_error.xhtml delete mode 100644 imixs-office-workflow-app/src/main/webapp/layout/template_plain.xhtml diff --git a/docker/docker-compose-dev.yaml b/docker/docker-compose-dev.yaml index 98032a46..9996ade4 100644 --- a/docker/docker-compose-dev.yaml +++ b/docker/docker-compose-dev.yaml @@ -9,13 +9,14 @@ services: - dbdata:/var/lib/postgresql/data app: - image: imixs/imixs-office-workflow + image: imixs/imixs-office-workflow:latest depends_on: - db environment: TZ: "CET" LANG: "en_US.UTF-8" JAVA_OPTS: "-Dnashorn.args=--no-deprecation-warning" + DEBUG: "true" MAILGATEWAY: "localhost" POSTGRES_USER: "postgres" POSTGRES_PASSWORD: "adminadmin" diff --git a/imixs-office-workflow-app/src/main/webapp/error.xhtml b/imixs-office-workflow-app/src/main/webapp/error.xhtml index 988ca06a..acd558ec 100644 --- a/imixs-office-workflow-app/src/main/webapp/error.xhtml +++ b/imixs-office-workflow-app/src/main/webapp/error.xhtml @@ -1,6 +1,6 @@ + template="/layout/template_error.xhtml"> diff --git a/imixs-office-workflow-app/src/main/webapp/layout/template.xhtml b/imixs-office-workflow-app/src/main/webapp/layout/template.xhtml index 9f682b4f..a9b020e9 100644 --- a/imixs-office-workflow-app/src/main/webapp/layout/template.xhtml +++ b/imixs-office-workflow-app/src/main/webapp/layout/template.xhtml @@ -23,82 +23,72 @@ - + - - + xtheme="#{request.contextPath}/layout/themes/#{app.application_theme}" /> - - - - + - - - + + src="#{request.contextPath}/js/tinymce/tinymce.min.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/#{message['jquey.datepicker.regional']}?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/jquery.dataTables.min.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/marked.min.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/imixs-core.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/marty/imixs-marty.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/imixs-office.main.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/imixs-office.main.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/imixs-office.autocomplete.js?build=#{app.application_build_timestamp}"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + +
+ + + +
+ + + + +
+ + + + + + + + +
+ + +
+ +
+ +
+
+
+ + + \ No newline at end of file diff --git a/imixs-office-workflow-app/src/main/webapp/layout/template_plain.xhtml b/imixs-office-workflow-app/src/main/webapp/layout/template_plain.xhtml deleted file mode 100644 index 3e6088d8..00000000 --- a/imixs-office-workflow-app/src/main/webapp/layout/template_plain.xhtml +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - - - - - - - - - - - <ui:param name="title" - value="#{propertyController.getProperty('application.title')}"></ui:param> - <h:outputText rendered="#{empty title}" value="#{resourceBundleHandler.findMessage('application_title')}" /> - <h:outputText rendered="#{!empty title}" value="#{title}" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - -

Default Content

-
-
- -
- - - - - - - -
-
- - - - - - - - -
- - \ No newline at end of file diff --git a/imixs-office-workflow-app/src/main/webapp/layout/template_print.xhtml b/imixs-office-workflow-app/src/main/webapp/layout/template_print.xhtml index 78cb8a4a..15c7cb1e 100644 --- a/imixs-office-workflow-app/src/main/webapp/layout/template_print.xhtml +++ b/imixs-office-workflow-app/src/main/webapp/layout/template_print.xhtml @@ -25,53 +25,46 @@ - - + + + theme="#{request.contextPath}/layout/themes/#{app.application_theme}" /> - + - - + - + - - + + @@ -79,31 +72,31 @@ + src="#{request.contextPath}/js/tinymce/tinymce.min.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/#{message['jquey.datepicker.regional']}?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/marty/imixs-marty.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/jquery.dataTables.min.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/chartjs/Chart.bundle.min.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/imixs-core.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/imixs-office.main.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/imixs-office.main.custom.js?build=#{app.application_build_timestamp}"> + + src="#{request.contextPath}/js/imixs-core.js?build=#{app.application_build_timestamp}"> + src="#{request.contextPath}/js/imixs-office-workflow.js?build=#{app.application_build_timestamp}">