CAS 5.1.0-RC3 UI Customizations

130 views
Skip to first unread message

Catalin Dobrea

unread,
Apr 10, 2017, 10:53:13 AM4/10/17
to CAS Community
Hi

I'm trying to customize the UI of CAS 5 and followed up this tutorial:

https://apereo.github.io/cas/5.0.x/installation/User-Interface-Customization-Themes.html

What I did

1) Created a templates/<theme_name> folder under resources
2) Copied everything from <overlay>\WEB-INF\classes\
templates to the new folder that I have created
3) Created a <theme_name>.properties directly under resources
with the content :

standard.custom.css.file=/css/cas.css
admin.custom.css.file=/css/admin.css
cas.javascript.file=/js/cas.js

And in the webapp folder I do have a css/cas.css file with custom styles
4) Specified the theme: <theme_name> in the json file

What I was able to modify

1) css, this one seems to be read properly from my custom css file.
2) casLoginView.html   here I have dropped the notifications div and only used the login form removed anything else

What I was NOT able to modify

footer.html -  I've tried to modify this one similar as I did with casLoginView , but it seems that's not taken into consideration

Anyone could tell me what I did wrong ?

Thanks in advance btw :)
Reply all
Reply to author
Forward
0 new messages