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

Ben Morrice ben.morrice at epfl.ch
Mon Aug 15 14:29:02 UTC 2016


We also do the same thing.

In our case we built an rpm with the image replacements that is
installed to a custom location, then puppet manages a symlink to the
custom images.

Kind regards,

Ben Morrice

______________________________________________________________________
Ben Morrice | e: ben.morrice at epfl.ch | t: +41-21-693-9670
EPFL ENT CBS BBP
Biotech Campus
Chemin des Mines 9
1202 Geneva
Switzerland

On 15/08/16 16:10, William Josefsson wrote:
> Ok yes,. I hope this works on CentOS7 too. I go ahead and undo my
> changes with custom.css and replace the logo.png and logo-splash.png
> and see if that works. 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
> _______________________________________________
> 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