[keycloak-user] Custom theme - modifying HTML files
lkubik at redhat.com
Tue Oct 6 04:59:21 EDT 2015
for some reasons angular holds the imported HTML files in the cache even when you reload them without cache (ctrl+f5). Just go to the URL of the HTML file that you have changed and reload it without cache (ctrl + f5). Then go to the page where the HTML file is imported and reload it without cache. Then you should see the changed file.
For example if you want to change the navbar HTML file then you would go to the:
Do a reload with ctrl+f5 and then go back to the admin console and do the reload without cache. This worked for me. The URL could be also different just adjust it by your Keycloak version.
----- Original Message -----
From: "Maciej Szewczykowski" <maciej.szewczykowski at pjmedia.co.uk>
To: keycloak-user at lists.jboss.org
Sent: Friday, October 2, 2015 12:16:25 PM
Subject: [keycloak-user] Custom theme - modifying HTML files
I’d like to create a custom admin theme which would contain some additional controls (buttons) which, when clicked, would redirect user to some external address.
Creating a theme itself is rather easy and well documented. The problem is that I can’t seem to be able to modify the HTML page of my choice – in my case it is role-mappings.html page where the additional button should be placed. Modification of the page simply doesn’t seem to take any effect (although page caching is switched off).
I’m using demo v. 1.4.0
Would be very grateful for any tips on how to achieve this.
T +44 01628 539 800
E firstname.lastname at pjmedia.co.uk
PJ Media Limited,
Plac Wolności 21, 05-825
Grodzisk Mazowiecki, Warsaw, Poland
PJ MEDIA LIMITED | Registered in England and Wales no. 04946760 | Registered Office: Network House, Third Avenue, Globe Park, Marlow, Buckinghamshire, SL7 1EY, United Kingdom | Web site: http://www.pjmedia.co.uk
The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error you should delete it from your system immediately and advise the sender. To any recipient of this message within PJ Media, unless otherwise stated, you should consider this message and attachments as PJ Media confidential.
PJ MEDIA LIMITED,
Registered in England no. 04946760
Address: Network House, Third Avenue, Globe Park, Marlow, SL7 1EY, United Kingdom
keycloak-user mailing list
keycloak-user at lists.jboss.org
More information about the keycloak-user