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:
22
index.php
22
index.php
@@ -1,14 +1,18 @@
|
||||
<?php
|
||||
|
||||
require 'HandBrakeCluster/Main.class.php';
|
||||
$main = HandBrakeCluster_Main::instance();
|
||||
$smarty = $main->smarty();
|
||||
|
||||
$page = new HandBrakeCluster_Page($smarty, $main->request());
|
||||
$page->evaluate();
|
||||
|
||||
$smarty->assign('page_content', $smarty->fetch($page->template_filename()));
|
||||
|
||||
$smarty->display('index.tpl');
|
||||
try {
|
||||
$main = HandBrakeCluster_Main::instance();
|
||||
$smarty = $main->smarty();
|
||||
|
||||
$page = new HandBrakeCluster_Page($smarty, $main->request());
|
||||
$page->evaluate();
|
||||
|
||||
$smarty->assign('page_content', $smarty->fetch($page->template_filename()));
|
||||
|
||||
$smarty->display('index.tpl');
|
||||
} catch (HandBrakeCluster_Exception $e) {
|
||||
die("Uncaught Exception: " . $e->getMessage());
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user