Page MenuHomePhabricator

D15627.diff
No OneTemporary

D15627.diff

diff --git a/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php b/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php
--- a/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php
+++ b/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php
@@ -47,13 +47,24 @@
$form_box = id(new PHUIObjectBoxView())
->setHeaderText(pht('Generate XHP AST'))
+ ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
->setForm($form);
- return $this->buildApplicationPage(
- $form_box,
- array(
- 'title' => pht('XHPAST View'),
+ $title = pht('XHPAST View');
+ $header = id(new PHUIHeaderView())
+ ->setHeader($title)
+ ->setHeaderIcon('fa-ambulance');
+
+ $view = id(new PHUITwoColumnView())
+ ->setHeader($header)
+ ->setFooter(array(
+ $form_box,
));
+
+ return $this->newPage()
+ ->setTitle($title)
+ ->appendChild($view);
+
}
}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 11:01 PM (11 h, 43 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6927858
Default Alt Text
D15627.diff (1003 B)

Event Timeline