Updated all page templates
Log page now displays recent log entries Job Details page now shows job-specific log entries. Jobs page lists all jobs in the database, while homepage lists all running/completed/failed jobs in groups
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$running_jobs = array();
|
||||
$completed_jobs = array();
|
||||
|
||||
$running_jobs[] = new HandBrakeCluster_Job(42);
|
||||
$running_jobs = HandBrakeCluster_Job::allWithStatus(HandBrakeCluster_JobStatus::RUNNING);
|
||||
$completed_jobs = HandBrakeCluster_Job::allWithStatus(HandBrakeCluster_JobStatus::COMPLETE);
|
||||
$failed_jobs = HandBrakeCluster_Job::allWithStatus(HandBrakeCluster_JobStatus::FAILED);
|
||||
|
||||
$this->smarty->assign('running_jobs', $running_jobs);
|
||||
$this->smarty->assign('completed_jobs;', $completed_jobs);
|
||||
$this->smarty->assign('completed_jobs', $completed_jobs);
|
||||
$this->smarty->assign('failed_jobs', $failed_jobs);
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user