Esempio n. 1
0
class SecurityGroupAddForm(View):
    network_manager = BootstrapSelect(id='ems_id')
    name = TextInput(name='name')
    description = TextInput(name='description')
    cloud_tenant = Select(name='cloud_tenant_id')
    add = Button('Add')
    cancel = Button('Cancel')
Esempio n. 2
0
class VolumeAddForm(View):
    storage_manager = BootstrapSelect(name='storage_manager_id')
    volume_name = TextInput(name='name')
    size = TextInput(name='size')
    tenant = BootstrapSelect(name='cloud_tenant_id')
    add = Button('Add')
    cancel = Button('Cancel')
Esempio n. 3
0
class ElementForm(AddBoxView):
    ele_label = Input(name='field_label')
    ele_name = Input(name="field_name")
    ele_desc = Input(name="field_description")
    choose_type = BootstrapSelect('field_typ')
    default_text_box = Input(name='field_default_value')
    default_value = Checkbox(name='field_default_value')
    field_required = Checkbox(name='field_required')
    field_past_dates = Checkbox(name='field_past_dates')
    field_entry_point = Input(name='field_entry_point')
    field_show_refresh_button = Checkbox(name='field_show_refresh_button')
    entry_value = Input(name='entry[value]')
    entry_description = Input(name='entry[description]')
    add_entry_button = Image('.//input[@id="accept"]')
    field_category = BootstrapSelect('field_category')
    text_area = Input(name='field_default_value')
    dynamic_chkbox = Checkbox(name='field_dynamic')
    entry_table = Table('//div[@id="field_values_div"]/form/table')
    text_area = TextInput(id='field_default_value')

    element_tree = ManageIQTree('dialog_edit_treebox')
    dynamic_tree = ManageIQTree('automate_treebox')
    bt_tree = ManageIQTree('automate_treebox')

    apply_btn = Button('Apply')
Esempio n. 4
0
class VolumeEditView(VolumeView):
    @property
    def is_displayed(self):
        return False

    volume_name = TextInput(name='name')
    save = Button('Save')
Esempio n. 5
0
class VolumeSnapshotView(VolumeView):
    @property
    def is_displayed(self):
        return False

    snapshot_name = TextInput(name='snapshot_name')

    save = Button('Save')
    reset = Button('Reset')
    cancel = Button('Cancel')
Esempio n. 6
0
class VolumeBackupView(VolumeView):
    @property
    def is_displayed(self):
        return False

    backup_name = TextInput(name='backup_name')
    # options
    incremental = BootstrapSwitch(name='incremental')
    force = BootstrapSwitch(name='force')

    save = Button('Save')
    reset = Button('Reset')
    cancel = Button('Cancel')
class KeyPairAddForm(View):
    name = TextInput(id='name')
    public_key = TextInput(id='public_key')
    provider = BootstrapSelect(id='ems_id')
    add = Button('Add')
    cancel = Button('Cancel')