Page MenuHomePhabricator

D15584.id37557.diff
No OneTemporary

D15584.id37557.diff

diff --git a/src/applications/multimeter/controller/MultimeterSampleController.php b/src/applications/multimeter/controller/MultimeterSampleController.php
--- a/src/applications/multimeter/controller/MultimeterSampleController.php
+++ b/src/applications/multimeter/controller/MultimeterSampleController.php
@@ -230,17 +230,15 @@
));
$box = id(new PHUIObjectBoxView())
- ->setHeaderText(
- pht(
- 'Samples (%s - %s)',
- phabricator_datetime($ago, $viewer),
- phabricator_datetime($now, $viewer)))
+ ->setHeaderText(pht('Samples'))
+ ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
->setTable($table);
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb(
pht('Samples'),
$this->getGroupURI(array(), true));
+ $crumbs->setBorder(true);
$crumb_map = array(
'host' => pht('By Host'),
@@ -262,14 +260,23 @@
$this->getGroupURI($parts, true));
}
- return $this->buildApplicationPage(
- array(
- $crumbs,
- $box,
- ),
- array(
- 'title' => pht('Samples'),
- ));
+ $header = id(new PHUIHeaderView())
+ ->setHeader(
+ pht(
+ 'Samples (%s - %s)',
+ phabricator_datetime($ago, $viewer),
+ phabricator_datetime($now, $viewer)))
+ ->setHeaderIcon('fa-motorcycle');
+
+ $view = id(new PHUITwoColumnView())
+ ->setHeader($header)
+ ->setFooter($box);
+
+ return $this->newPage()
+ ->setTitle(pht('Samples'))
+ ->setCrumbs($crumbs)
+ ->appendChild($view);
+
}
private function renderGroupingLink(array $group, $key, $name = null) {

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 5, 9:03 AM (2 w, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6746169
Default Alt Text
D15584.id37557.diff (1 KB)

Event Timeline