Esempio n. 1
0
class BulkDelUsers(Form):
    accountid = MultiCheckboxField('')
    whatdo = RadioField('',
                        choices=[
                            (
                                'delete',
                                'delete',
                            ),
                            (
                                'disable',
                                'disable',
                            ),
                            (
                                'enable',
                                'enable',
                            ),
                        ])
Esempio n. 2
0
class BulkDelUsers(Form):
    """Bulk account delete form"""
    accountid = MultiCheckboxField('')
    whatdo = RadioField('',
                        choices=[
                            (
                                'delete',
                                _('delete'),
                            ),
                            (
                                'disable',
                                _('disable'),
                            ),
                            (
                                'enable',
                                _('enable'),
                            ),
                        ])
Esempio n. 3
0
class BulkDelDomains(Form):
    """Bulk domains delete"""
    domainid = MultiCheckboxField('')
    whatdo = RadioField('',
                        choices=[
                            (
                                'delete',
                                _('delete'),
                            ),
                            (
                                'disable',
                                _('disable'),
                            ),
                            (
                                'enable',
                                _('enable'),
                            ),
                        ])
Esempio n. 4
0
class MailQueueProcessForm(Form):
    id = MultiCheckboxField('')
    queue_action = SelectField('', choices=QUEUE_OPTS, default='none')