
Adds a fully-featured tabbed interface component, with support for dynamic loading via AJAX and class-based views to handle the heavy lifting. Cleaned up the instance detail view as a POC. Implements blueprint reusable-tabs. Change-Id: I3adbf1f1e4e95ae210d36477031a433c13f3d77c
891 B
891 B
Horizon Tabs and TabGroups
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.
TabGroup
Tabs
The tab itself is the discrete unit for a tab group, representing one view of data.
Tab
TabView
There is also a useful and simple generic class-based view for
handling the display of a ~horizon.tabs.TabGroup
class.
TabView