Files
handbrake-cluster-webui/webui/pages/home.php
Ben Roberts 76f2c4790d Reorganised code layout
Separated class library and web interface code
Added a common config/database config to be referenced by all
subprojects

Fixed previous commit
2010-08-14 15:36:31 +01:00

12 lines
476 B
PHP

<?php
$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('failed_jobs', $failed_jobs);
?>