@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+19 -20
+15 -9
src/applications/drydock/controller/DrydockConsoleController.php
··· 62 62 63 63 $crumbs = $this->buildApplicationCrumbs(); 64 64 $crumbs->addTextCrumb(pht('Console')); 65 + $crumbs->setBorder(true); 65 66 66 67 $box = id(new PHUIObjectBoxView()) 67 - ->setHeaderText(pht('Drydock Console')) 68 68 ->setObjectList($menu); 69 69 70 - return $this->buildApplicationPage( 71 - array( 72 - $crumbs, 73 - $box, 74 - ), 75 - array( 76 - 'title' => pht('Drydock Console'), 77 - )); 70 + $title = pht('Drydock Console'); 71 + 72 + $header = id(new PHUIHeaderView()) 73 + ->setHeader($title) 74 + ->setHeaderIcon('fa-truck'); 75 + 76 + $view = id(new PHUITwoColumnView()) 77 + ->setHeader($header) 78 + ->setFooter($box); 79 + 80 + return $this->newPage() 81 + ->setTitle($title) 82 + ->setCrumbs($crumbs) 83 + ->appendChild($view); 78 84 } 79 85 80 86 }
+4 -11
src/applications/drydock/controller/DrydockRepositoryOperationStatusController.php
··· 43 43 $this->getApplicationURI('operation/')); 44 44 $crumbs->addTextCrumb($title); 45 45 46 - return $this->buildApplicationPage( 47 - array( 48 - $crumbs, 49 - $status_view, 50 - ), 51 - array( 52 - 'title' => array( 53 - $title, 54 - pht('Status'), 55 - ), 56 - )); 46 + return $this->newPage() 47 + ->setTitle(pht('Status')) 48 + ->setCrumbs($crumbs) 49 + ->appendChild($status_view); 57 50 } 58 51 59 52 }