Index: src/__celerity_resource_map__.php =================================================================== --- src/__celerity_resource_map__.php +++ src/__celerity_resource_map__.php @@ -1790,6 +1790,20 @@ ), 'disk' => '/rsrc/js/core/behavior-global-drag-and-drop.js', ), + 'javelin-behavior-harbormaster-reorder-steps' => + array( + 'uri' => '/res/035fe63d/rsrc/js/application/harbormaster/behavior-reorder-steps.js', + 'type' => 'js', + 'requires' => + array( + 0 => 'javelin-behavior', + 1 => 'javelin-stratcom', + 2 => 'javelin-workflow', + 3 => 'javelin-dom', + 4 => 'phabricator-draggable-list', + ), + 'disk' => '/rsrc/js/application/harbormaster/behavior-reorder-steps.js', + ), 'javelin-behavior-herald-rule-editor' => array( 'uri' => '/res/77a0c945/rsrc/js/application/herald/herald-rule-editor.js', Index: src/__phutil_library_map__.php =================================================================== --- src/__phutil_library_map__.php +++ src/__phutil_library_map__.php @@ -1984,6 +1984,7 @@ 'PhabricatorTypeaheadCommonDatasourceController' => 'applications/typeahead/controller/PhabricatorTypeaheadCommonDatasourceController.php', 'PhabricatorTypeaheadDatasourceController' => 'applications/typeahead/controller/PhabricatorTypeaheadDatasourceController.php', 'PhabricatorTypeaheadResult' => 'applications/typeahead/storage/PhabricatorTypeaheadResult.php', + 'PhabricatorUIConfigOptions' => 'applications/config/option/PhabricatorUIConfigOptions.php', 'PhabricatorUIExample' => 'applications/uiexample/examples/PhabricatorUIExample.php', 'PhabricatorUIExampleRenderController' => 'applications/uiexample/controller/PhabricatorUIExampleRenderController.php', 'PhabricatorUIListFilterExample' => 'applications/uiexample/examples/PhabricatorUIListFilterExample.php', @@ -4527,6 +4528,7 @@ 'PhabricatorTwoColumnExample' => 'PhabricatorUIExample', 'PhabricatorTypeaheadCommonDatasourceController' => 'PhabricatorTypeaheadDatasourceController', 'PhabricatorTypeaheadDatasourceController' => 'PhabricatorController', + 'PhabricatorUIConfigOptions' => 'PhabricatorApplicationConfigOptions', 'PhabricatorUIExampleRenderController' => 'PhabricatorController', 'PhabricatorUIListFilterExample' => 'PhabricatorUIExample', 'PhabricatorUINotificationExample' => 'PhabricatorUIExample', Index: src/applications/config/option/PhabricatorUIConfigOptions.php =================================================================== --- /dev/null +++ src/applications/config/option/PhabricatorUIConfigOptions.php @@ -0,0 +1,32 @@ +newOption('ui.header-color', 'enum', 'dark') + ->setDescription( + pht( + 'Sets the color of the main header.')) + ->setEnumOptions($options), + ); + } + +} Index: src/view/page/menu/PhabricatorMainMenuView.php =================================================================== --- src/view/page/menu/PhabricatorMainMenuView.php +++ src/view/page/menu/PhabricatorMainMenuView.php @@ -68,8 +68,7 @@ $classes = array(); $classes[] = 'phabricator-main-menu'; $classes[] = 'sprite-main-header'; - // TODO: Let admins or users set header - $classes[] = 'main-header-dark'; + $classes[] = 'main-header-'.PhabricatorEnv::getEnvConfig('ui.header-color'); return phutil_tag( 'div',