Update Settings/Config UI

Summary: Testing out a new 'nav' layout in Settings / Config. Spent a few days here and couldn't find much better overall.

Test Plan: View each page in Settings and in Config. Save some config options. Test mobile, desktop, tablet.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15659
This commit is contained in:
Chad Little
2016-04-08 22:00:38 +00:00
committed by chad
parent 60e91d3934
commit 57e606b395
14 changed files with 122 additions and 49 deletions

View File

@@ -91,12 +91,16 @@ final class PhabricatorConfigDatabaseStatusController
$crumbs->addTextCrumb(pht('Database Status'));
}
$nav->setCrumbs($crumbs);
$nav->appendChild($body);
$view = id(new PHUITwoColumnView())
->setNavigation($nav)
->setMainColumn(array(
$body,
));
return $this->newPage()
->setTitle($title)
->appendChild($nav);
->setCrumbs($crumbs)
->appendChild($view);
}