monitor.views.list

Module Contents

class monitor.views.list.CaptionSchema

This is the form schema to add and edit form for job captions.

class monitor.views.list.LabelsSchema

This is the form schema to add and edit form for job tags/labels.

class monitor.views.list.JobList(request)
filter_jobs(page=0, limit=10, tag=None, access=None, status=None, sort="created")
generate_caption_form(formid="deform_caption")

This helper code generates the form that will be used to add and edit job captions based on the schema of the form.

process_caption_form(form)
generate_labels_form(formid="deform_tags")

This helper code generates the form that will be used to add and edit job tags/labels based on the schema of the form.

process_labels_form(form)
view()
class monitor.views.list.JobsGrid(request, *args, **kwargs)
status_td(col_num, i, item)
duration_td(col_num, i, item)
caption_td(col_num, i, item)
labels_td(col_num, i, item)
buttongroup_td(col_num, i, item)