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
This commit is contained in:
13
webui/pages/job-details.php
Normal file
13
webui/pages/job-details.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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);
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user