1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-11 23:31:03 +01:00

Update look of Diviner docs index

This commit is contained in:
Chad Little 2013-09-09 15:13:39 -07:00
parent 5ba20b8924
commit b4424ec53a
3 changed files with 60 additions and 46 deletions

View file

@ -3801,7 +3801,7 @@ celerity_register_resource_map(array(
),
'phui-object-item-list-view-css' =>
array(
'uri' => '/res/3200de88/rsrc/css/phui/phui-object-item-list-view.css',
'uri' => '/res/71f7f081/rsrc/css/phui/phui-object-item-list-view.css',
'type' => 'css',
'requires' =>
array(
@ -4171,7 +4171,7 @@ celerity_register_resource_map(array(
), array(
'packages' =>
array(
'1ae76a7e' =>
'f3475e6e' =>
array(
'name' => 'core.pkg.css',
'symbols' =>
@ -4218,7 +4218,7 @@ celerity_register_resource_map(array(
39 => 'phabricator-property-list-view-css',
40 => 'phabricator-tag-view-css',
),
'uri' => '/res/pkg/1ae76a7e/core.pkg.css',
'uri' => '/res/pkg/f3475e6e/core.pkg.css',
'type' => 'css',
),
'8977e356' =>
@ -4409,15 +4409,15 @@ celerity_register_resource_map(array(
),
'reverse' =>
array(
'aphront-dialog-view-css' => '1ae76a7e',
'aphront-error-view-css' => '1ae76a7e',
'aphront-list-filter-view-css' => '1ae76a7e',
'aphront-pager-view-css' => '1ae76a7e',
'aphront-panel-view-css' => '1ae76a7e',
'aphront-table-view-css' => '1ae76a7e',
'aphront-tokenizer-control-css' => '1ae76a7e',
'aphront-tooltip-css' => '1ae76a7e',
'aphront-typeahead-control-css' => '1ae76a7e',
'aphront-dialog-view-css' => 'f3475e6e',
'aphront-error-view-css' => 'f3475e6e',
'aphront-list-filter-view-css' => 'f3475e6e',
'aphront-pager-view-css' => 'f3475e6e',
'aphront-panel-view-css' => 'f3475e6e',
'aphront-table-view-css' => 'f3475e6e',
'aphront-tokenizer-control-css' => 'f3475e6e',
'aphront-tooltip-css' => 'f3475e6e',
'aphront-typeahead-control-css' => 'f3475e6e',
'differential-changeset-view-css' => '44bfe40c',
'differential-core-view-css' => '44bfe40c',
'differential-inline-comment-editor' => 'd07a3bc2',
@ -4431,7 +4431,7 @@ celerity_register_resource_map(array(
'differential-table-of-contents-css' => '44bfe40c',
'diffusion-commit-view-css' => 'c8ce2d88',
'diffusion-icons-css' => 'c8ce2d88',
'global-drag-and-drop-css' => '1ae76a7e',
'global-drag-and-drop-css' => 'f3475e6e',
'inline-comment-summary-css' => '44bfe40c',
'javelin-aphlict' => '8977e356',
'javelin-behavior' => '2dbbb7d1',
@ -4504,55 +4504,55 @@ celerity_register_resource_map(array(
'javelin-util' => '2dbbb7d1',
'javelin-vector' => '2dbbb7d1',
'javelin-workflow' => '2dbbb7d1',
'lightbox-attachment-css' => '1ae76a7e',
'lightbox-attachment-css' => 'f3475e6e',
'maniphest-task-summary-css' => '0a9e494f',
'maniphest-transaction-detail-css' => '0a9e494f',
'phabricator-action-list-view-css' => '1ae76a7e',
'phabricator-application-launch-view-css' => '1ae76a7e',
'phabricator-action-list-view-css' => 'f3475e6e',
'phabricator-application-launch-view-css' => 'f3475e6e',
'phabricator-busy' => '8977e356',
'phabricator-content-source-view-css' => '44bfe40c',
'phabricator-core-css' => '1ae76a7e',
'phabricator-crumbs-view-css' => '1ae76a7e',
'phabricator-core-css' => 'f3475e6e',
'phabricator-crumbs-view-css' => 'f3475e6e',
'phabricator-drag-and-drop-file-upload' => 'd07a3bc2',
'phabricator-dropdown-menu' => '8977e356',
'phabricator-file-upload' => '8977e356',
'phabricator-filetree-view-css' => '1ae76a7e',
'phabricator-flag-css' => '1ae76a7e',
'phabricator-header-view-css' => '1ae76a7e',
'phabricator-filetree-view-css' => 'f3475e6e',
'phabricator-flag-css' => 'f3475e6e',
'phabricator-header-view-css' => 'f3475e6e',
'phabricator-hovercard' => '8977e356',
'phabricator-jump-nav' => '1ae76a7e',
'phabricator-jump-nav' => 'f3475e6e',
'phabricator-keyboard-shortcut' => '8977e356',
'phabricator-keyboard-shortcut-manager' => '8977e356',
'phabricator-main-menu-view' => '1ae76a7e',
'phabricator-main-menu-view' => 'f3475e6e',
'phabricator-menu-item' => '8977e356',
'phabricator-nav-view-css' => '1ae76a7e',
'phabricator-nav-view-css' => 'f3475e6e',
'phabricator-notification' => '8977e356',
'phabricator-notification-css' => '1ae76a7e',
'phabricator-notification-menu-css' => '1ae76a7e',
'phabricator-notification-css' => 'f3475e6e',
'phabricator-notification-menu-css' => 'f3475e6e',
'phabricator-object-selector-css' => '44bfe40c',
'phabricator-phtize' => '8977e356',
'phabricator-prefab' => '8977e356',
'phabricator-project-tag-css' => '0a9e494f',
'phabricator-property-list-view-css' => '1ae76a7e',
'phabricator-remarkup-css' => '1ae76a7e',
'phabricator-property-list-view-css' => 'f3475e6e',
'phabricator-remarkup-css' => 'f3475e6e',
'phabricator-shaped-request' => 'd07a3bc2',
'phabricator-side-menu-view-css' => '1ae76a7e',
'phabricator-standard-page-view' => '1ae76a7e',
'phabricator-tag-view-css' => '1ae76a7e',
'phabricator-side-menu-view-css' => 'f3475e6e',
'phabricator-standard-page-view' => 'f3475e6e',
'phabricator-tag-view-css' => 'f3475e6e',
'phabricator-textareautils' => '8977e356',
'phabricator-tooltip' => '8977e356',
'phabricator-transaction-view-css' => '1ae76a7e',
'phabricator-zindex-css' => '1ae76a7e',
'phui-button-css' => '1ae76a7e',
'phui-form-css' => '1ae76a7e',
'phui-form-view-css' => '1ae76a7e',
'phui-icon-view-css' => '1ae76a7e',
'phui-object-item-list-view-css' => '1ae76a7e',
'phui-spacing-css' => '1ae76a7e',
'sprite-apps-large-css' => '1ae76a7e',
'sprite-gradient-css' => '1ae76a7e',
'sprite-icons-css' => '1ae76a7e',
'sprite-menu-css' => '1ae76a7e',
'syntax-highlighting-css' => '1ae76a7e',
'phabricator-transaction-view-css' => 'f3475e6e',
'phabricator-zindex-css' => 'f3475e6e',
'phui-button-css' => 'f3475e6e',
'phui-form-css' => 'f3475e6e',
'phui-form-view-css' => 'f3475e6e',
'phui-icon-view-css' => 'f3475e6e',
'phui-object-item-list-view-css' => 'f3475e6e',
'phui-spacing-css' => 'f3475e6e',
'sprite-apps-large-css' => 'f3475e6e',
'sprite-gradient-css' => 'f3475e6e',
'sprite-icons-css' => 'f3475e6e',
'sprite-menu-css' => 'f3475e6e',
'syntax-highlighting-css' => 'f3475e6e',
),
));

View file

@ -30,7 +30,8 @@ final class DivinerLegacyController extends DivinerController {
$viewer = $request->getUser();
$list = id(new PHUIObjectItemListView())
->setUser($viewer);
->setUser($viewer)
->setPlain(true);
foreach ($links as $href => $link) {
$item = id(new PHUIObjectItemView())
@ -46,10 +47,17 @@ final class DivinerLegacyController extends DivinerController {
id(new PhabricatorCrumbView())
->setName(pht('Documentation')));
$header = id(new PhabricatorHeaderView())
->setHeader(pht('Documentation'));
$document = new PHUIDocumentView();
$document->setHeader($header);
$document->appendChild($list);
return $this->buildApplicationPage(
array(
$crumbs,
$list,
$document,
),
array(
'title' => pht('Documentation'),

View file

@ -546,3 +546,9 @@
border: none;
}
.phui-object-list-plain .phui-object-item-attributes,
.phui-object-list-plain .phui-object-item-name {
padding-left: 0;
padding-top: 0;
}