diff --git a/.gitignore b/.gitignore index d2b38ec..e3b75fa 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,4 @@ /config/opencloud/apps # exclude custom compose files -/custom +/custom \ No newline at end of file diff --git a/config/keycloak/themes/opencloud/login/resources/js/custom.js b/config/keycloak/themes/opencloud/login/resources/js/custom.js new file mode 100644 index 0000000..3312396 --- /dev/null +++ b/config/keycloak/themes/opencloud/login/resources/js/custom.js @@ -0,0 +1,3 @@ +document.addEventListener("DOMContentLoaded", function () { + //Add your custom JavaScript code here +}); \ No newline at end of file diff --git a/config/keycloak/themes/opencloud/login/theme.properties b/config/keycloak/themes/opencloud/login/theme.properties index 767efe4..09e73bd 100644 --- a/config/keycloak/themes/opencloud/login/theme.properties +++ b/config/keycloak/themes/opencloud/login/theme.properties @@ -2,4 +2,4 @@ parent=keycloak import=common/keycloak styles=css/login.css css/theme.css -scripts=js/script.js \ No newline at end of file +scripts=js/script.js js/custom.js \ No newline at end of file