NAME

viewjobs - Display a list of all CGIBurn jobs on the system.


SYNOPSIS

Presents the user with a table containing all of the CGIBurn jobs on the system, each with choices to view the job, view its log, kill it, or clean up after it.


TEMPLATES

viewjobs uses the template viewjobs.tpl as viewjobs,

All templates
All templates have access to all :const variables from CGIBurn::Conf.
viewjobs/pagestart
Displayed first. Has no special variables. =item viewjobs/jobliststart

Starts off the list of jobs. No special variables.

viewjobs/jobstarteven
viewjobs/jobstartodd
Called at the start of even and odd jobs, respectively. For any initialization specific to them. The default theme alternates colors between blue and white, so it displays odd and even jobs differently; if you don't have any differences, put everything in viewjobs/joblisteach

Special variables are:

JOB_ID
The ID of the job being displayed.
JOB_STATUSURL
The status URL for the job being displayed.
JOB_TIME
The time when the job being displayed was started, in ctime(3) style.
JOB_ADDRESS
The IP address or hostname from which the job was started.
JOB_USER
If the user who started this job was logged in via Basic Authentication, their username; otherwise, the string ``nobody''.
JOB_STILLRUNNING
The status of the job when it finished, or the string ``Still Running''.
viewjobs/joblisteach
Displayed for each job, both odd and even. Has access to the same special variables as viewjobs/jobstartodd.
viewjobs/jobendeven
viewjobs/jobendodd
Called at the end of even and odd rows, respectively. Has access to the same special variables as viewjobs/jobstartodd.
viewjobs/joblistnone
If there are no job, this section is displayed instead of a sequence of viewjobs/jobstart{odd,even} / viewjobs/joblisteach / viewjobs/jobend{odd,even} sections.
viewjobs/joblistend
Displayed at the end of the list of jobs. No special variables.
viewjobs/toolbar
Displayed right before the end of the page. No special variables.
viewjobs/pageend
The last thing displayed.


SEE ALSO

jobcontrol, CGIBurn::Job, CGIBurn::Conf, CGIBurn::CGITools, TEMPLATES.