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

@@ -18,16 +18,17 @@ final class PhabricatorConfigCacheController
$code_box = $this->renderCodeBox();
$data_box = $this->renderDataBox();
$nav->appendChild(
array(
$crumbs,
$view = id(new PHUITwoColumnView())
->setNavigation($nav)
->setMainColumn(array(
$code_box,
$data_box,
));
));
return $this->newPage()
->setTitle($title)
->appendChild($nav);
->setCrumbs($crumbs)
->appendChild($view);
}
private function renderCodeBox() {