Re: [openstack-dev] [horizon] Can we have multiple tab groups in one page?

2016-04-19 Thread Timur Sufiev
That would be too complicated using current Django-based tabs and tables. You could either split Zone1 and Zone2 to separate panels or look towards new Angular-based facilities. On Tue, 19 Apr 2016 at 10:59, 严超 wrote: > Something like this GUI, two tab_group_class needed.

Re: [openstack-dev] [horizon] Can we have multiple tab groups in one page?

2016-04-19 Thread 严超
Something like this GUI, two tab_group_class needed. Each tab contains a couple of tables. [image: 内嵌图片 1] *Best Regards!* *Chao Yan--About me : http://about.me/chao_yan * *My twitter: @yanchao727 * *My Weibo:

Re: [openstack-dev] [horizon] Can we have multiple tab groups in one page?

2016-04-19 Thread Timur Sufiev
Horizon is moving away from showing more than one table on the same page/tab, because it doesn't work well with pagination. So it's better to reorganize your data to be coherent with how tabs work. By the way, do you have a wireframe displaying how the overall picture should look like? I suspect

Re: [openstack-dev] [horizon] Can we have multiple tab groups in one page?

2016-04-19 Thread 严超
Because I may need two groups of tables to display, each of the group may contain 5 or 6 tables. Is there any workaround for this case? Thank you very much for your replay. *Best Regards!* *Chao Yan--About me : http://about.me/chao_yan * *My twitter:

Re: [openstack-dev] [horizon] Can we have multiple tab groups in one page?

2016-04-19 Thread Timur Sufiev
Hello! Judging by https://github.com/openstack/horizon/blob/master/horizon/tabs/views.py#L44 it wasn't designed to have more than 1 class. Why do you need it? On Tue, 19 Apr 2016 at 06:32, 严超 wrote: > HI, Everyone: > Document says : > .. attribute::

[openstack-dev] [horizon] Can we have multiple tab groups in one page?

2016-04-18 Thread 严超
HI, Everyone: Document says : .. attribute:: tab_group_class The only required attribute for ``TabView``. It should be a class which inherits from :class:`horizon.tabs.TabGroup`. """ Can we have multiple tab groups in one page? Seems