Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14035212
D15627.id37657.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1003 B
Referenced Files
None
Subscribers
None
D15627.id37657.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 11, 4:57 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733945
Default Alt Text
D15627.id37657.diff (1003 B)
Attached To
Mode
D15627: Update phpast for new UI
Attached
Detach File
Event Timeline
Log In to Comment