<div dir="ltr">Hi!<div><br></div><div>That is possible. Which version of the doc we're you looking at? I think those are able to be modified through merge requests.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 1, 2022 at 9:07 AM Mathilde Hermet <<a href="mailto:mathilde.hermet@ovhcloud.com" target="_blank">mathilde.hermet@ovhcloud.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hello, <br>
</p>
<p><br>
</p>
<p>I manage to find that the problem in your documentation is that
you forgot to tell that command "$python manage.py compress
--force" must be run after collecting statics.</p>
<p>I run it and then my custom themes worked.</p>
<p>This appears to be required in earlier version of horizon that is
why documentation is may be not up to date.<br>
</p>
<p><br>
</p>
<p>Thanks</p>
<p><br>
</p>
<p>Mathilde<br>
</p>
<div>On 3/1/22 00:25, Laurent Dumont wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Salut!
<div><br>
</div>
<div>A 500 from Horizon is a bit strange. What do the Horizon
logs say?</div>
<div><br>
</div>
<div>If you remove your customization and restart Horizon, does
it recover?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Feb 28, 2022 at 11:17
AM Mathilde Hermet <<a href="mailto:mathilde.hermet@ovhcloud.com" target="_blank">mathilde.hermet@ovhcloud.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote">Hello Openstack team,<br>
<br>
<br>
I'm currently working on customizing the Horizon (xena)
dashboard to use <br>
the OVHcloud assets: logo.svg and logo-splash.svg.<br>
<br>
I've been following this documentation <br>
<a href="https://docs.openstack.org/horizon/latest/configuration/themes.html" rel="noreferrer" target="_blank">https://docs.openstack.org/horizon/latest/configuration/themes.html</a><br>
<br>
I added the ovhcloud theme in <br>
horizon/openstack_dashboard/local/local_settings.py in
AVAILABLE_THEMES,<br>
<br>
I created the subdir ovhcloud in
horizon/openstack_dashboard/themes and <br>
I created a ovhcloud/img with logo.svg and logo-splash.svg in
it.<br>
<br>
I put a _variables.scss and a _styles.scss in
/themes/ovhcloud/<br>
<br>
Then I executed python manage.py collectstatic<br>
<br>
It put all the files in
horizon-sources/horizon.../static/themes/ovhcloud<br>
<br>
<br>
But then when trying to connect with the session cookie <br>
theme="ovhcloud", I have a 500 error.<br>
<br>
i don't think it comes from images because i've been puting it
in <br>
/horizon-souurces/horizon.../static/dashbaord.img and they
were <br>
displayed correctly.<br>
<br>
<br>
Do you have any idea about the misconfiguration I've done ?<br>
<br>
<br>
Best regards,<br>
<br>
<br>
Mathilde Hermet<br>
<br>
<br>
</blockquote>
</div>
</blockquote>
</div>
</blockquote></div>