@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 Multimeter to new UI

Summary: Converts to two column UI

Test Plan: Review a multiple sample page

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15584

+20 -13
+20 -13
src/applications/multimeter/controller/MultimeterSampleController.php
··· 230 230 )); 231 231 232 232 $box = id(new PHUIObjectBoxView()) 233 - ->setHeaderText( 234 - pht( 235 - 'Samples (%s - %s)', 236 - phabricator_datetime($ago, $viewer), 237 - phabricator_datetime($now, $viewer))) 233 + ->setHeaderText(pht('Samples')) 234 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) 238 235 ->setTable($table); 239 236 240 237 $crumbs = $this->buildApplicationCrumbs(); 241 238 $crumbs->addTextCrumb( 242 239 pht('Samples'), 243 240 $this->getGroupURI(array(), true)); 241 + $crumbs->setBorder(true); 244 242 245 243 $crumb_map = array( 246 244 'host' => pht('By Host'), ··· 262 260 $this->getGroupURI($parts, true)); 263 261 } 264 262 265 - return $this->buildApplicationPage( 266 - array( 267 - $crumbs, 268 - $box, 269 - ), 270 - array( 271 - 'title' => pht('Samples'), 272 - )); 263 + $header = id(new PHUIHeaderView()) 264 + ->setHeader( 265 + pht( 266 + 'Samples (%s - %s)', 267 + phabricator_datetime($ago, $viewer), 268 + phabricator_datetime($now, $viewer))) 269 + ->setHeaderIcon('fa-motorcycle'); 270 + 271 + $view = id(new PHUITwoColumnView()) 272 + ->setHeader($header) 273 + ->setFooter($box); 274 + 275 + return $this->newPage() 276 + ->setTitle(pht('Samples')) 277 + ->setCrumbs($crumbs) 278 + ->appendChild($view); 279 + 273 280 } 274 281 275 282 private function renderGroupingLink(array $group, $key, $name = null) {