[openstack-dev] [horizon] Can we have multiple tab groups in one page?
Timur Sufiev
tsufiev at mirantis.com
Tue Apr 19 08:06:55 UTC 2016
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, 严超 <yanchao727 at gmail.com> 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
> <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 15:37 GMT+08:00 Timur Sufiev <tsufiev at mirantis.com>:
>
>> 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
>>>
>>
>> __________________________________________________________________________
>> 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/7cbdfec6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QQ??20160419155325.png
Type: image/png
Size: 17937 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160419/7cbdfec6/attachment.png>
More information about the OpenStack-dev
mailing list