Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Neatline admin CSS is getting randomly loaded into other admin views #11

Closed
davidmcclure opened this issue Oct 3, 2011 · 4 comments
Assignees
Labels

Comments

@davidmcclure
Copy link
Contributor

Bizarrely, the stylesheet that makes the Omeka admin look Neatilne-y is getting randomly loaded into other views, including the main item edit view, the settings administration, and some other plugin admins. This appears to be because the conditional code that checks the current module/controller is not specific enough, and it loading the NL css when it shouldn't.

@waynegraham
Copy link

May need to pull this out and deal with the default UI from Omeka; I suspect some weird cached elements form the stylesheets.

@ghost ghost assigned jeremyboggs Oct 19, 2011
@jeremyboggs
Copy link
Contributor

May need to pull this out and deal with the default UI from Omeka; I suspect some weird cached elements form the stylesheets.

Agreed. I think it would be better in general to rely on Omeka's default UI stuff as much as possible, especially since the UI is potentially going to change in Omeka 1.5.

@jeremyboggs
Copy link
Contributor

This issue was caused by other Neatline plugins (NeatlineMaps and NeatlineTime) loading Neatline's neatline-admin.css file instead of their own. I've fixed this by changing the name of the CSS file in each of those plugins to something more unique. Those changes are already committed in the master branches of each of those plugins.

@jeremyboggs
Copy link
Contributor

See the following commits for more info:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants