Ask Your Question

How to duplicate the Dashboard Webpage?

asked 2013-06-12 08:31:00 -0500

Ph4nToM gravatar image

updated 2013-06-13 05:35:19 -0500

Hello, I will try to explain that I want to do.

At the moment, When I want to access to my Dashboard,I use: http://my_ip@/dashboard/

image description

For try some modifications IN A PARALLEL WEB PAGE(when I am loggued with the user administrator for exemple), I would like to copy (directories) to duplicate my project in http://my_ip@/dashboard2/

In a basic Web Project, we store our apache project on var/www ... but in our case I don't know..

I tried to test the method of Leonardo, but I don't understand all his procedure.

1) I suppose that the file is the file in /usr/share/openstack-dashboard/openstack_dashboard/test/

I find part of code that you talk about: image description

a) But I don't understand the line: 'openstack_dashboard.dashboards.nameofyournewdashboard', that you suggest to add.

b) What are files of dashboard that I have t copy? I have files in /usr/lib/python2.6/site-packages/horizon and in /usr/share/openstack-dashboard/openstack_dashboard

I put my file code of which can be use to find a solution. image description

Maybe any ideas?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-06-12 09:16:37 -0500

Leonardo Afonso gravatar image

updated 2013-06-13 08:30:33 -0500

Let me try to give a better explaining.

this procedure will do the you create a new dashboard in your horizon aplication (new tab beside the 'Administrator' and 'Project' tabs).

you'll find where is all the directories of dashboards (directories named 'Admim', 'Project' ... in my computer is /home/user/Docs/horizon/openstack_dashboards/dashboards)

there, you'll choose a dashboard that you want modify, and duplicated it.

you will change the name of the directory duplicated and you'll add this dashboard in the INSTALLED_APPS and HORINZON_CONFIG.

Look, the link that you'll acess the dashboard will be the same, but a new dashboard there will appears.

Now, to add you new dashboard in the aplication, you'll put the directory adress in the INSTALLED_APPS and the name of the directory in HORIZON_CONFIG.

in INSTALLED_APPS, you will (obviously ; ) ) install your new dashboard and in HORIZON_CONFIG, you will just "say " to horizon, that have your dashboard

I have helped.


'dashboards': ('project', 'admin', 'yournewdashboard', 'settings',),
edit flag offensive delete link more


Thanks for your help, but I don't understand all that you say. I updated my post.

Ph4nToM gravatar imagePh4nToM ( 2013-06-13 03:39:58 -0500 )edit

I will try to do that in few times, and I post my result. Thanks for your help

Ph4nToM gravatar imagePh4nToM ( 2013-06-13 09:59:57 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-06-12 08:31:00 -0500

Seen: 178 times

Last updated: Jun 13 '13