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 0x7faf88bc2350>
-
page_title = <django.utils.functional.__proxy__ object at 0x7faf871bd950>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7faf88bc2610>
-
submit_url = <django.utils.functional.__proxy__ object at 0x7faf88bc2750>
-
success_url = <django.utils.functional.__proxy__ object at 0x7faf871bda50>
-
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 0x7faf871bd1d0>
-
page_title = <django.utils.functional.__proxy__ object at 0x7faf871bdcd0>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7faf871bd290>
-
submit_url = 'horizon:project:images:images:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7faf871bdf50>
-
template_name = 'project/images/images/update.html'