[Openstack-operators] Change Dashboard Splash Logo and Top-left logo

Antonio Messina antonio.s.messina at gmail.com
Mon Aug 15 09:17:35 UTC 2016


I kind of remember then when updating CSS on the dashboard you also
have to re-generate the compressed css. On ubuntu, doing a
dpkg-reconfigure openstack-dashboard should be enough.

.a.

2016-08-15 10:10 GMT+02:00 Saverio Proto <zioproto at gmail.com>:
> On ubuntu we just replace these two files:
>
> /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/logo.png
> /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/logo-splash.png
>
> we make sure with puppet that our version of these two files is in place.
>
> I hope this helps you
>
> Saverio
>
>
> 2016-08-14 9:55 GMT+02:00 William Josefsson <william.josefson at gmail.com>:
>> Hi,
>>
>> I'm trying to do a simple customization to my Liberty/CentOS7
>> dashboard changing my Splash-Logo and after login, the small top-left
>> Logo.
>>
>> I have tried to follow the online customization guide and created by
>> own custom.css in:
>>
>> # /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/scss/custom.css
>>
>> h1.brand a {
>> background: url(../img/small_logo.png) top left no-repeat;
>> }
>> #splash .login {
>> background: url(../img/logo_splash.png) no-repeat center 35px;
>> }
>>
>> # I have added import of custom.css
>> # /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
>>
>> {% compress css %}
>> <link href='{{ STATIC_URL
>> }}horizon/lib/bootstrap_datepicker/datepicker3.css' type='text/scss'
>> media='screen' rel='stylesheet' />
>> <link href='{{ STATIC_URL }}horizon/lib/rickshaw.css' type='text/scss'
>> media='screen' rel='stylesheet' />
>> <link href='{{ STATIC_URL }}dashboard/scss/horizon.scss'
>> type='text/scss' media='screen' rel='stylesheet' />
>> <link href='{{ STATIC_URL }}dashboard/scss/custom.css'
>> type='text/scss' media='screen' rel='stylesheet' />
>> {% endcompress %}
>>
>>
>> For some strange reason, only the splash logo appears customized. The
>> top-left Small logo after login still remains unchanged. My image is
>> 2.2K.
>>
>> Can anyone please hint on why the small logo does not appear, and how
>> to fix? thx will
>>
>> _______________________________________________
>> OpenStack-operators mailing list
>> OpenStack-operators at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators



-- 
antonio.s.messina at gmail.com
antonio.messina at uzh.ch                     +41 (0)44 635 42 22
S3IT: Service and Support for Science IT   http://www.s3it.uzh.ch/
University of Zurich
Winterthurerstrasse 190
CH-8057 Zurich Switzerland



More information about the OpenStack-operators mailing list