mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Update file edit UI
Summary: New white box Test Plan: /file/upload/ Reviewers: epriestley Reviewed By: epriestley Spies: Korvin Differential Revision: https://secure.phabricator.com/D18557
This commit is contained in:
parent
97f0103a80
commit
d3db3fff59
1 changed files with 2 additions and 7 deletions
|
@ -90,17 +90,12 @@ final class PhabricatorFileUploadController extends PhabricatorFileController {
|
|||
->setShowIfSupportedID($support_id);
|
||||
|
||||
$form_box = id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('File'))
|
||||
->setHeaderText($title)
|
||||
->setFormErrors($errors)
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->setBackground(PHUIObjectBoxView::WHITE_CONFIG)
|
||||
->setForm($form);
|
||||
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setHeader($title)
|
||||
->setHeaderIcon('fa-upload');
|
||||
|
||||
$view = id(new PHUITwoColumnView())
|
||||
->setHeader($header)
|
||||
->setFooter(array(
|
||||
$form_box,
|
||||
$global_upload,
|
||||
|
|
Loading…
Reference in a new issue