The openstack_dashboard.dashboards.project.images.images.views Module
Views for managing images.
-
class openstack_dashboard.dashboards.project.images.images.views.CreateView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
context_object_name = 'image'
-
form_class
alias of CreateImageForm
-
form_id = 'create_image_form'
-
get_initial()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7fba5c795610>
-
page_title = <django.utils.functional.__proxy__ object at 0x7fba5bd58250>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7fba5c795690>
-
submit_url = <django.utils.functional.__proxy__ object at 0x7fba5c795110>
-
success_url = <django.utils.functional.__proxy__ object at 0x7fba5bd58a50>
-
template_name = 'project/images/images/create.html'
-
class openstack_dashboard.dashboards.project.images.images.views.DetailView[source]
Bases: horizon.tabs.views.TabView
-
get_context_data(**kwargs)[source]
-
get_data(*args, **kwargs)[source]
-
static get_redirect_url()[source]
-
get_tabs(request, *args, **kwargs)[source]
-
page_title = '{{ image.name }}'
-
tab_group_class
alias of ImageDetailTabs
-
template_name = 'horizon/common/_detail.html'
-
class openstack_dashboard.dashboards.project.images.images.views.UpdateView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of UpdateImageForm
-
form_id = 'update_image_form'
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
get_object(*args, **kwargs)[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7fba5bd58590>
-
page_title = <django.utils.functional.__proxy__ object at 0x7fba5bd58310>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7fba5bd585d0>
-
submit_url = 'horizon:project:images:images:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7fba5bd58810>
-
template_name = 'project/images/images/update.html'