Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14016394
D15584.id37557.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15584.id37557.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D15584: Update Multimeter to new UI
Attached
Detach File
Event Timeline
Log In to Comment