f1a8e0c54f
To better facilitate the building and publishing of sphinx documentation by Jenkins we are moving all openstack projects with sphinx documentation to a common doc tree structure. Documentation goes in project/doc and build results go in project/doc/build. Change-Id: Ic523a716e4113198b777d6dc3db8bb8a729e7696
46 lines
978 B
ReStructuredText
46 lines
978 B
ReStructuredText
==========================
|
|
Horizon Tabs and TabGroups
|
|
==========================
|
|
|
|
.. module:: horizon.tabs
|
|
|
|
Horizon includes a set of reusable components for programmatically
|
|
building tabbed interfaces with fancy features like dynamic AJAX loading
|
|
and nearly effortless templating and styling.
|
|
|
|
Tab Groups
|
|
==========
|
|
|
|
For any tabbed interface, your fundamental element is the tab group which
|
|
contains all your tabs. This class provides a dead-simple API for building
|
|
tab groups and encapsulates all the necessary logic behind the scenes.
|
|
|
|
.. autoclass:: TabGroup
|
|
:members:
|
|
|
|
Tabs
|
|
====
|
|
|
|
The tab itself is the discrete unit for a tab group, representing one
|
|
view of data.
|
|
|
|
.. autoclass:: Tab
|
|
:members:
|
|
|
|
.. autoclass:: TableTab
|
|
:members:
|
|
|
|
|
|
|
|
TabView
|
|
=======
|
|
|
|
There is also a useful and simple generic class-based view for handling
|
|
the display of a :class:`~horizon.tabs.TabGroup` class.
|
|
|
|
.. autoclass:: TabView
|
|
:members:
|
|
|
|
.. autoclass:: TabbedTableView
|
|
:members:
|