mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Update Drydock remaining pages to new UI
Summary: Updates Console and Operations page. Test Plan: Pull up Console, pull up status page Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15615
This commit is contained in:
parent
e965a59bca
commit
f2a38f52d7
2 changed files with 19 additions and 20 deletions
|
@ -62,19 +62,25 @@ final class DrydockConsoleController extends DrydockController {
|
|||
|
||||
$crumbs = $this->buildApplicationCrumbs();
|
||||
$crumbs->addTextCrumb(pht('Console'));
|
||||
$crumbs->setBorder(true);
|
||||
|
||||
$box = id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('Drydock Console'))
|
||||
->setObjectList($menu);
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
array(
|
||||
$crumbs,
|
||||
$box,
|
||||
),
|
||||
array(
|
||||
'title' => pht('Drydock Console'),
|
||||
));
|
||||
$title = pht('Drydock Console');
|
||||
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setHeader($title)
|
||||
->setHeaderIcon('fa-truck');
|
||||
|
||||
$view = id(new PHUITwoColumnView())
|
||||
->setHeader($header)
|
||||
->setFooter($box);
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
->setCrumbs($crumbs)
|
||||
->appendChild($view);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -43,17 +43,10 @@ final class DrydockRepositoryOperationStatusController
|
|||
$this->getApplicationURI('operation/'));
|
||||
$crumbs->addTextCrumb($title);
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
array(
|
||||
$crumbs,
|
||||
$status_view,
|
||||
),
|
||||
array(
|
||||
'title' => array(
|
||||
$title,
|
||||
pht('Status'),
|
||||
),
|
||||
));
|
||||
return $this->newPage()
|
||||
->setTitle(pht('Status'))
|
||||
->setCrumbs($crumbs)
|
||||
->appendChild($status_view);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue