Create mechanism for allowing Horizon to have a custom theme/skin applied to it
Info on how this can be done from mrunge: http://www.matthias-runge.de/2013/02/15/how-to-create-a-custom-theme-for-horizon/
Perry - thoughts on this for 4.0?
mrunge, can we get this upstream in Havana to get into RHOS 4.0?
Back in February, I've made a proof of concept, which requires patching of settings.py. I also proposed it upstream, which was denied., because it's basically there. The whole commit can be found here https://github.com/mrunge/horizon/commit/40cfc4e610c932235aad570eba07c7ebbee135ca Thaking the patch and a some enhancement for the spec: %package -n openstack-dashboard-rhos Summary: Openstack web user interface reference implementation for RHOS Requires: openstack-dashboard = %{version} %description -n openstack-dashboard-rhos RHOS customization module for OpenStack Dashboard ..... %files -n openstack-dashboard-rhos %{_datadir}/openstack-dashboard/openstack_dashboard_theme %{_datadir}/openstack-dashboard/static/dashboard/less/rhtheme.less %{_datadir}/openstack-dashboard/static/dashboard/img/rh-logo.png %{_datadir}/openstack-dashboard/static/dashboard/img/rhfavicon.ico and we're basically there. Still, it was not accepted upstream, so we'd need to carry that in our code-base.
Build: python-django-horizon-2013.2-0.8b2.fc21 to be used for the RHOS build and also to be used for RDO builds. Currently, they differ through the different logos. How to test: install openstack-dashboard openstack-dashboard-custom Then you should see the RHOS logo at login and also on the left upper corner on the screen, when logged in. The favicon is changed to the shadowman. yum remove openstack-dashboard-custom systemctl restart httpd should give you a fully functional dashboard as well, but with upstream logos, and no Red Hat specific favicon.
From what I understand, there's no code change to sanity check, and it's possible to verify simply by checking that the shadowman logo is displayed since it is installed using the openstack-dashboard-theme package (rather than carrying patches on our side). Am I correct? Because of the dependencies I seem unable to simply remove openstack-dashboard-theme to check on my assumptions. Thanks!
Julie, there's a little change in settings.py (to include, what's in openstack_dashboard_theme). you should be able to remove the Red Hat theme using: rpm -e --nodeps openstack-dashboard-theme In general, you're right. This is about package organization, and nothing really for the end user.
Verified NVR: python-django-horizon-2013.2-5.el6ost.noarch / openstack-dashboard-theme-2013.2-5.el6ost.noarch As Julie already tested: the redhat logo is displayed only when the openstack-dashboard-theme is installed.
as already stated in comment 11, this change is internal and mostly packaging related.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1859.html