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. 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: http://weibo.com/herewearenow *
> *--*
>
> 2016-04-19 15:37 GMT+08:00 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 that you may have understood 'tab groups' differently from Horizon
>> notion of that thing.
>>
>> On Tue, 19 Apr 2016 at 10:20, 严超  wrote:
>>
>>> 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: @yanchao727 *
>>> *My Weibo: http://weibo.com/herewearenow *
>>> *--*
>>>
>>> 2016-04-19 14:29 GMT+08:00 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:: 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
> Tab_group_class only use one CLASS.
> Very grateful for answering.
>
>
> *Best Regards!*
>
>
> *Chao Yan--About me : http://about.me/chao_yan
> *
>
> *My twitter: @yanchao727 *
> *My Weibo: http://weibo.com/herewearenow
> **--*
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe:
> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>


 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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: http://weibo.com/herewearenow *
*--*

2016-04-19 15:37 GMT+08:00 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 that you may have understood 'tab groups' differently from Horizon
> notion of that thing.
>
> On Tue, 19 Apr 2016 at 10:20, 严超  wrote:
>
>> 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: @yanchao727 *
>> *My Weibo: http://weibo.com/herewearenow *
>> *--*
>>
>> 2016-04-19 14:29 GMT+08:00 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:: 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
 Tab_group_class only use one CLASS.
 Very grateful for answering.


 *Best Regards!*


 *Chao Yan--About me : http://about.me/chao_yan
 *

 *My twitter: @yanchao727 *
 *My Weibo: http://weibo.com/herewearenow
 **--*

 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

>>>
>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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 that you may have understood 'tab groups' differently from Horizon
notion of that thing.
On Tue, 19 Apr 2016 at 10:20, 严超  wrote:

> 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: @yanchao727 *
> *My Weibo: http://weibo.com/herewearenow *
> *--*
>
> 2016-04-19 14:29 GMT+08:00 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:: 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
>>> Tab_group_class only use one CLASS.
>>> Very grateful for answering.
>>>
>>>
>>> *Best Regards!*
>>>
>>>
>>> *Chao Yan--About me : http://about.me/chao_yan
>>> *
>>>
>>> *My twitter: @yanchao727 *
>>> *My Weibo: http://weibo.com/herewearenow *
>>> *--*
>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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: @yanchao727 *
*My Weibo: http://weibo.com/herewearenow *
*--*

2016-04-19 14:29 GMT+08:00 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:: 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
>> Tab_group_class only use one CLASS.
>> Very grateful for answering.
>>
>>
>> *Best Regards!*
>>
>>
>> *Chao Yan--About me : http://about.me/chao_yan
>> *
>>
>> *My twitter: @yanchao727 *
>> *My Weibo: http://weibo.com/herewearenow *
>> *--*
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2016-04-18 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:: 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 Tab_group_class
> only use one CLASS.
> Very grateful for answering.
>
>
> *Best Regards!*
>
>
> *Chao Yan--About me : http://about.me/chao_yan
> *
>
> *My twitter: @yanchao727 *
> *My Weibo: http://weibo.com/herewearenow *
> *--*
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[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 Tab_group_class
only use one CLASS.
Very grateful for answering.


*Best Regards!*


*Chao Yan--About me : http://about.me/chao_yan
*

*My twitter: @yanchao727 *
*My Weibo: http://weibo.com/herewearenow *
*--*
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev