Customizing OpenStack dashboard - Centos

Asked by Gowri

Hi,

 I was looking into customizing Horizon in my OpenStack cloud. I got information about this from the link - http://docs.openstack.org/grizzly/openstack-compute/install/yum/content/dashboard-custom-brand.html.
 I have successfully installed Havana on Centos and I used Fuel 4.0 to install OpenStack .

 I did the following :
1. I uploaded images to /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img
   (I used images of .jpg format ).

2. I uploaded my css stylesheet in /usr/share/openstack-dashboard/static/dashboard/css .

     My css file looks like the following
/*
* New theme colors for dashboard that override the defaults:
* dark blue: #00ffff / rgb(0,255, 255)
* light blue: #7fffd4 / rgb(127, 255,212)
*
* By Preston Lee <email address hidden>
*/
h1.brand {
background: #00ffff repeat-x top left;
border-bottom: 2px solid 7fffd4;
}
h1.brand a {
background: url(../img/my_cloud_logo_small.jpg) top left no-repeat;
}
#splash .login {
background: #00ffff url(../img/my_cloud_logo_medium.jpg) no-repeat center 35px;
}
#splash .login .modal-header {
border-top: 1px solid 7fffd4;
}
.btn-primary {
background-image: none !important;
background-color: #00ffff !important;
border: none !important;
box-shadow: none;
}
.btn-primary:hover,
.btn-primary:active {
border: none;
box-shadow: none;
background-color: 7fffd4 !important;
text-decoration: none;
}

3. I added a line in _stylesheet.html
  <link href='{{ STATIC_URL }}dashboard/css/custom.css' type='text/css' media='screen' rel='stylesheet' />

4.Restarted the apache: sudo service httpd restart

On reloading the dashboard , I am getting an error "Something went wrong, Unexpected error has occured , try refreshing the page" and I am not getting customized dashboard.

Am I missing some steps ? Please help

Thanks
Gowri

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Matthias Runge (mrunge) said :
#1

Please use ask.openstack.org for asking questions.

This section here is simply deprecated, sorry!

Can you help with this problem?

Provide an answer of your own, or ask Gowri for more information if necessary.

To post a message you must log in.