Hello, I encountered an issue with the customization of the theme. I have build the war following https://apereo.github.io/cas/5.1.x/installation/User-Interface-Customization-Themes.html but the theme is not display after each war startup, here is the case :
1/ Build the war with the customize theme 2/ Start the application (java -jar target/cas.war) 3/ Display the default login page (http://localhost:8443/cas/login) ==> the page is a broken default login page (I want the default login page without customization) *it doesn't work* 4/ Display the login page through a service which uses the customize theme => the page is a broken default login page (I want the customize login page) *it doesn't work* 5/ Restart the application 6/ Display the login page through a service which uses the customize theme (set the theme property in the service declaration) => the page is the custom one (the one I want) here* it works * 7/ Display the default login page (http://localhost:8443/cas/login) => the page is the custom one without css (I want the default login page) *it doesn't work* 8/ Stop the application 9/ Add properties in order to set the default theme cas.theme.defaultThemeName=mytheme 10/ Start the application 11/ Display the default login page, but it's the same broken login page (as step 3) ) *it doesn't work*12/ Restart the application 13/ Display the login page through a service which uses the customize theme => Sale as step 6 the page is the custom one,* it works* 14/ 7/ Display the default login page directly => The page is the custom one* it works* In order to build the custom login page I have done the following : src/main/resources/ . ├── mytheme.properties ├── static │ └── themes │ └── mytheme │ ├── css │ │ └── cas.css │ ├── fonts │ │ └── iconic │ │ ├── css │ │ │ ├── material-design-iconic-font.css │ │ │ └── material-design-iconic-font.min.css │ │ └── fonts │ │ ├── Material-Design-Iconic-Font.eot │ │ ├── Material-Design-Iconic-Font.svg │ │ ├── Material-Design-Iconic-Font.ttf │ │ ├── Material-Design-Iconic-Font.woff │ │ └── Material-Design-Iconic-Font.woff2 │ ├── images │ │ ├── bg-01.jpg │ │ └── logo.gif │ └── js │ └── cas.js └── templates └── mytheme └── casLoginView.html with mytheme.properties : standard.custom.css.file=/themes/mytheme/css/cas.css standard.custom.js.file=/themes/mytheme/js/cas.js What's wrong ? Thanks in advance Olivier Guilloux -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/2b21006e-4ac7-40d0-ab84-1e2ed56d9dbd%40apereo.org.
