Jump to content

Custom theme is not applied to the login screen


f_chas01

Recommended Posts

In the official guide for using themes in JasperServer 4.0 it is said, that the active theme is applied to the login page (see p.5 jasperforge.org/uploads/mwiki/5/5a/JaspersoftThemes.pdf )

In fact I see the default theme applied on login page in both cases

1) logging off the current user

2) connecting to the JasperServer after starting the service

Is there a reason for it?

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

I managed to set the new theme on the login screen when you connect first to the server (after custom theme was set as active). But there is still the Problem with logging off.

It seems that in the moment when you log off the default theme is used automatically.

I did compare the source html code of the login pages while connected for the first time and after logging off to see which css are used.

When logged in for the first time (My cutom theme does contain all css from the default theme):

jasperserver-pro/_themes/D967959B/theme.css
jasperserver-pro/_themes/D967959B/pages.css
jasperserver-pro/_themes/D967959B/containers.css
jasperserver-pro/_themes/D967959B/buttons.css
jasperserver-pro/_themes/D967959B/lists.css
jasperserver-pro/_themes/D967959B/controls.css
jasperserver-pro/_themes/D967959B/dataDisplays.css
jasperserver-pro/_themes/D967959B/pageSpecific.css
jasperserver-pro/_themes/D967959B/dialogSpecific.css

(D967959B must be the folder in my repository where my custom theme is stored)

After logging of (while the custom theme still set as active):

jasperserver-pro/_themes/2878DD8E/theme.css
jasperserver-pro/_themes/2878DD8E/pages.css
jasperserver-pro/_themes/2878DD8E/containers.css
jasperserver-pro/_themes/2878DD8E/buttons.css
jasperserver-pro/_themes/2878DD8E/lists.css
jasperserver-pro/_themes/2878DD8E/controls.css
jasperserver-pro/_themes/2878DD8E/dataDisplays.css
jasperserver-pro/_themes/2878DD8E/pageSpecific.css
jasperserver-pro/_themes/2878DD8E/dialogSpecific.css


(2878DD8E must be the folder in my repository where the default theme is stored) I can not find any solution for this problem.

Does somebody have a hint for me?



Post Edited by f_chas01 at 03/23/2011 09:45
Link to comment
Share on other sites

  • 3 weeks later...

I resolved the problem if you could even call it a problem. Just be sure you have the right understanding of the repository concept. If you change the theme as a superuser on the root level of the repository then this theme would become a default theme. One can set the theme for an organization individually. That can be done either by someone who have superuser role or an administrator role for the given organization.

PS: jasperadmin != superuser. To put it simple: jasperadmin is the admin of certain organization. superuser is the admin for the whole server and all its organization.

JasperReports-Server-Admin-Guide Documentation contains a detailed information on this topic



Post Edited by f_chas01 at 04/14/2011 09:05
Link to comment
Share on other sites

  • 1 year later...
  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...