Files
handbrake-cluster-webui/pages/job-details.php
Ben Roberts 69cead4ca3 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
2010-03-18 02:05:32 +00:00

14 lines
428 B
PHP

<?php
$job_id = $this->request->get('id');
$job = HandBrakeCluster_Job::fromId($job_id);
$this->smarty->assign('job', $job);
$client_log_entries = HandBrakeCluster_ClientLogEntry::recentForJob($job_id, 30);
$worker_log_entries = HandBrakeCluster_WorkerLogEntry::recentForJob($job_id, 30);
$this->smarty->assign('client_log_entries', $client_log_entries);
$this->smarty->assign('worker_log_entries', $worker_log_entries);
?>