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

Timur Sufiev tsufiev at mirantis.com
Tue Apr 19 07:37:16 UTC 2016


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, 严超 <yanchao727 at gmail.com> 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
> <http://about.me/chao_yan>*
>
> *My twitter: @yanchao727 <https://twitter.com/yanchao727>*
> *My Weibo: http://weibo.com/herewearenow <http://weibo.com/herewearenow>*
> *--------------*
>
> 2016-04-19 14:29 GMT+08:00 Timur Sufiev <tsufiev at mirantis.com>:
>
>> 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, 严超 <yanchao727 at gmail.com> 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
>>> <http://about.me/chao_yan>*
>>>
>>> *My twitter: @yanchao727 <https://twitter.com/yanchao727>*
>>> *My Weibo: http://weibo.com/herewearenow <http://weibo.com/herewearenow>*
>>> *--------------*
>>>
>>> __________________________________________________________________________
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> OpenStack-dev-request at 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-request at 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-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160419/4f71ffc3/attachment.html>


More information about the OpenStack-dev mailing list