[openstack-dev] [OPENSTACK] [HORIZON] Changing theme

BIKRAMADITYA SAHOO ansh.ansh20067 at gmail.com
Mon Jul 18 08:25:11 UTC 2016


Hi Rob,

Thank you for your kind response.

Yes i have also tried with restarting apache.

Now i am trying to change the used "ubuntu" theme and following this
<http://docs.openstack.org/developer/horizon/topics/customizing.html> guide
to change the login box. I have created template/header/_spash.html and did
collectstatic as well as apache restart but the customized html is not
reflecting in browser (using incognito to avoid caching). Any help here?

On Mon, Jul 18, 2016 at 1:40 PM, Rob Cresswell <robert.cresswell at outlook.com
> wrote:

> CUSTOM_THEME_PATH = 'static/themes/production' is the correct setting.
> Are you restarting apache/httpd in between these changes? You would also
> likely be better off opening a ticket with the package maintainer, as Kilo
> upstream support ended some time ago :)
>
> Rob
>
> On 18 July 2016 at 08:48, ansh.ansh20067 at gmail.com <
> ansh.ansh20067 at gmail.com> wrote:
>
>> I am using horizon that comes with kilo (python-django-horizon
>> 1:2015.1.4-0ubuntu2)
>>
>> On Mon, Jul 18, 2016 at 1:08 PM, Rob Cresswell <
>> robert.cresswell at outlook.com> wrote:
>>
>>> Which version of Horizon are you running? Those look like Liberty
>>> settings to me, so wanted to check.
>>>
>>> Rob
>>>
>>>
>>> On 18 July 2016 at 07:49, ansh.ansh20067 at gmail.com <
>>> ansh.ansh20067 at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am unable to change the theme for my openstack horizon. I tried with
>>>> the this and various other tutorial but i am still unable to achieve my
>>>> goal.
>>>>
>>>> I also want to have a custom "splash" (a complete custom login) and i
>>>> am unable to find any good tutorial.
>>>>
>>>> I tried "local_settings.py" with following
>>>> CUSTOM_THEME_PATH="static/themes/production"
>>>> CUSTOM_THEME_PATH="themes/production"
>>>> CUSTOM_THEME_PATH="static/production"
>>>>
>>>> "production" directory is present in
>>>> "/usr/share/openstack-dashboard/openstack_dashboard/static/themes" as well
>>>> as "/usr/share/openstack-dashboard/openstack_dashboard/static/custom"
>>>> directories.
>>>>
>>>> Also i tried deleting the
>>>> "i/usr/share/openstack-dashboard-ubuntu-theme" and
>>>> "/usr/share/openstack-dashboard/openstack_dashboard/local/ubuntu_theme.py"
>>>> and still no use.
>>>>
>>>> No matter what i do, horizon is loading images from
>>>> "static/themes/ubuntu " directory ("
>>>> http://controller/static/themes/ubuntu/image-background-pattern.png").
>>>>
>>>> Kindly point me to anything i am doing wrong or/and any well-documented
>>>> tutorial or docs.
>>>>
>>>> Also i have run collectstatic after each modifications.
>>>>
>>>> Also after deleting "/us/share/openstack-dashboard-ubuntu-theme" if i
>>>> run collectstatic then it is giving error with
>>>> "/us/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu" not found
>>>>
>>>> NOTE: I want to have the above changes in an already running setup by
>>>> manipulating files.
>>>>
>>>> Thanks and Regards,
>>>> Bikramaditya Sahoo
>>>>
>>>
>>>
>>>
>>> __________________________________________________________________________
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160718/b864711f/attachment.html>


More information about the OpenStack-dev mailing list