Ask Your Question

Small Horizon dashboard modifications

asked 2018-04-13 09:21:54 -0600

SPYFF gravatar image


I would like to make small modifications on Horizon dashboard (no really the appearance but the dynamic behavior). So far I tried to modify the network.controller.js and ports.controller.js files, but if I restart the horizon service (service apache2 restart) nothing happens, works as before, even If I comment out large chunks of code.

I modified the files in the files in the following forlder (network and networkports subfolders):


What do I miss? I also restarted the machine but wont help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-04-17 02:12:50 -0600

SPYFF gravatar image

updated 2018-04-17 03:45:51 -0600

I find the solution myself. If you modify something on the horizon dashboard, you should have two option:

1) Recompile the modified sources to the cache (located at /var/lib/openstack-dashboard you can done that with

$ python compress

2) Disable the offline compression (this slows down the dashboard). At the /etc/openstack-dashboard/ modify

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-04-13 09:21:54 -0600

Seen: 207 times

Last updated: Apr 17 '18