[Openstack-operators] Change Dashboard Splash Logo and Top-left logo
William Josefsson
william.josefson at gmail.com
Mon Aug 15 14:10:42 UTC 2016
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
More information about the OpenStack-operators
mailing list