From 64e117f1a588d8fab42fdb85b41f67400c871c5f Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sat, 2 Apr 2016 12:56:06 -0700 Subject: [PATCH] Modernize Nuance Console page Summary: Uses UI like Alamanc Console page Test Plan: Review Console page, click on items. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15581 --- .../controller/NuanceConsoleController.php | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/applications/nuance/controller/NuanceConsoleController.php b/src/applications/nuance/controller/NuanceConsoleController.php index 6416c19aaf..d4a8f6c9ff 100644 --- a/src/applications/nuance/controller/NuanceConsoleController.php +++ b/src/applications/nuance/controller/NuanceConsoleController.php @@ -35,19 +35,25 @@ final class NuanceConsoleController extends NuanceController { $crumbs = $this->buildApplicationCrumbs(); $crumbs->addTextCrumb(pht('Console')); + $crumbs->setBorder(true); $box = id(new PHUIObjectBoxView()) - ->setHeaderText(pht('Console')) ->setObjectList($menu); - return $this->buildApplicationPage( - array( - $crumbs, + $header = id(new PHUIHeaderView()) + ->setHeader(pht('Nuance Console')) + ->setHeaderIcon('fa-fax'); + + $view = id(new PHUITwoColumnView()) + ->setHeader($header) + ->setFooter(array( $box, - ), - array( - 'title' => pht('Nuance Console'), )); + + return $this->newPage() + ->setTitle(pht('Nuance Console')) + ->setCrumbs($crumbs) + ->appendChild($view); } }