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

William Josefsson william.josefson at gmail.com
Fri Aug 19 13:34:56 UTC 2016


Hi all,

I tried this quick fix of replacing logo.png and logo-splash copy and
overwrite the files, however one restart httpd the files get replaced
to the originals?

How can I prevent this from happening, or do I need to write a cron
line that once every 5min creates a link to my custom logo images? thx
will

On Mon, Aug 15, 2016 at 4:10 PM, Saverio Proto <zioproto at gmail.com> wrote:
> 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



More information about the OpenStack-operators mailing list