From 613a55119a0bcffb23a05a5b89fcf2e938da2093 Mon Sep 17 00:00:00 2001 From: Maxim Thomas Date: Mon, 11 Nov 2024 15:40:04 +0300 Subject: [PATCH] move sample chess image to local (#86) --- openidm-zip/src/main/assembly/zip.xml | 1 + .../workflow/conf/ui.context-selfservice.json | 6 ++++++ .../selfservice/extension/images/chess.png} | Bin .../samples/workflow/workflow/chessboard.xhtml | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 openidm-zip/src/main/resources/samples/workflow/conf/ui.context-selfservice.json rename openidm-zip/src/main/resources/samples/workflow/{workflow/sprite.png => ui/selfservice/extension/images/chess.png} (100%) diff --git a/openidm-zip/src/main/assembly/zip.xml b/openidm-zip/src/main/assembly/zip.xml index 8a0560a191..6a7cd980c5 100644 --- a/openidm-zip/src/main/assembly/zip.xml +++ b/openidm-zip/src/main/assembly/zip.xml @@ -502,6 +502,7 @@ conf/** script/** + ui/** conf/*patch* diff --git a/openidm-zip/src/main/resources/samples/workflow/conf/ui.context-selfservice.json b/openidm-zip/src/main/resources/samples/workflow/conf/ui.context-selfservice.json new file mode 100644 index 0000000000..8936d1105b --- /dev/null +++ b/openidm-zip/src/main/resources/samples/workflow/conf/ui.context-selfservice.json @@ -0,0 +1,6 @@ +{ + "enabled" : true, + "urlContextRoot" : "/", + "defaultDir" : "&{launcher.install.location}/ui/selfservice/default", + "extensionDir" : "&{launcher.project.location}/ui/selfservice/extension" +} \ No newline at end of file diff --git a/openidm-zip/src/main/resources/samples/workflow/workflow/sprite.png b/openidm-zip/src/main/resources/samples/workflow/ui/selfservice/extension/images/chess.png similarity index 100% rename from openidm-zip/src/main/resources/samples/workflow/workflow/sprite.png rename to openidm-zip/src/main/resources/samples/workflow/ui/selfservice/extension/images/chess.png diff --git a/openidm-zip/src/main/resources/samples/workflow/workflow/chessboard.xhtml b/openidm-zip/src/main/resources/samples/workflow/workflow/chessboard.xhtml index f19bc43a1e..55c46deee1 100644 --- a/openidm-zip/src/main/resources/samples/workflow/workflow/chessboard.xhtml +++ b/openidm-zip/src/main/resources/samples/workflow/workflow/chessboard.xhtml @@ -21,7 +21,7 @@ .grid tbody tr:nth-child(even) td:nth-child(odd) { background-color: #eee; } .piece { - background-image: url('https://raw.githubusercontent.com/OpenIdentityPlatform/OpenIDM/refs/heads/master/openidm-zip/src/main/resources/samples/workflow/workflow/sprite.png'); + background-image: url('/images/chess.png'); width: 64px; height: 64px;