airgun.views.report_template
¶
Module Contents¶
Classes¶
Base view for Satellite pages |
|
Base view for Satellite pages |
|
Base view for Satellite pages |
|
Base view for Satellite pages |
- class airgun.views.report_template.ReportTemplatesView(parent, logger=None, **kwargs)¶
Base view for Satellite pages
- title¶
- new¶
- table¶
- class airgun.views.report_template.ReportTemplateDetailsView(parent, logger=None, **kwargs)¶
Base view for Satellite pages
- class template(parent, logger=None, **kwargs)¶
Regular primary level
Tab
.Usage:
@View.nested class mytab(SatTab): TAB_NAME = 'My Tab' @View.nested class subscriptions(SatTab): # no need to specify 'TAB_NAME', it will be set to 'Subscriptions' # automatically pass
Note that
TAB_NAME
is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’- name¶
- default¶
- template_editor¶
- audit¶
- class inputs(parent, logger=None, **kwargs)¶
A host for widgets list. Items that can be added or removed, mainly used in profile for network interfaces, storage and job template.
Usage:
@View.nested class resources(RemovableWidgetsItemsListView): ROOT = "//fieldset[@id='storage_volumes']" ITEMS = "./div/div[contains(@class, 'removable-item')]" ITEM_WIDGET_CLASS = ComputeResourceRHVProfileStorageItem
- ITEMS = .//div[contains(@class, 'template_inputs')]/following-sibling::div¶
- ITEM_WIDGET_CLASS¶
- add_item_button¶
- class type(parent, logger=None, **kwargs)¶
Regular primary level
Tab
.Usage:
@View.nested class mytab(SatTab): TAB_NAME = 'My Tab' @View.nested class subscriptions(SatTab): # no need to specify 'TAB_NAME', it will be set to 'Subscriptions' # automatically pass
Note that
TAB_NAME
is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’- snippet¶
- class locations(parent, logger=None, **kwargs)¶
Regular primary level
Tab
.Usage:
@View.nested class mytab(SatTab): TAB_NAME = 'My Tab' @View.nested class subscriptions(SatTab): # no need to specify 'TAB_NAME', it will be set to 'Subscriptions' # automatically pass
Note that
TAB_NAME
is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’- resources¶
- class organizations(parent, logger=None, **kwargs)¶
Regular primary level
Tab
.Usage:
@View.nested class mytab(SatTab): TAB_NAME = 'My Tab' @View.nested class subscriptions(SatTab): # no need to specify 'TAB_NAME', it will be set to 'Subscriptions' # automatically pass
Note that
TAB_NAME
is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’- resources¶
- breadcrumb¶
- submit¶
- class airgun.views.report_template.ReportTemplateCreateView(parent, logger=None, **kwargs)¶
Base view for Satellite pages