mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 17:30:59 +01:00
Add objectheaders to new View
Summary: This adds the 'PHUIObjectBox' to nearly every place that should get it. I need to comb through Diffusion a little more. I've left Differential mostly alone, but may decide to do it anyways this weekend. I'm sure I missed something else, but these are easy enough to update. Test Plan: tested each new layout. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D7162
This commit is contained in:
parent
0318cadad4
commit
94d0704fdb
61 changed files with 526 additions and 365 deletions
Binary file not shown.
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 195 B |
|
@ -34,7 +34,7 @@
|
||||||
"gradient-lightblue-header" : {
|
"gradient-lightblue-header" : {
|
||||||
"name" : "gradient-lightblue-header",
|
"name" : "gradient-lightblue-header",
|
||||||
"rule" : ".gradient-lightblue-header",
|
"rule" : ".gradient-lightblue-header",
|
||||||
"hash" : "b838d2eb15f9b620e82b4da240bf464a"
|
"hash" : "e7753a6ce63c6822a559266eef9e255b"
|
||||||
},
|
},
|
||||||
"gradient-menu-label" : {
|
"gradient-menu-label" : {
|
||||||
"name" : "gradient-menu-label",
|
"name" : "gradient-menu-label",
|
||||||
|
|
|
@ -632,8 +632,8 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'/rsrc/image/sprite-gradient.png' =>
|
'/rsrc/image/sprite-gradient.png' =>
|
||||||
array(
|
array(
|
||||||
'hash' => 'c6c42387e625948e683d9d8c62ea1b7f',
|
'hash' => '1f0306b0ca281b1e5b96de0096269f1d',
|
||||||
'uri' => '/res/c6c42387/rsrc/image/sprite-gradient.png',
|
'uri' => '/res/1f0306b0/rsrc/image/sprite-gradient.png',
|
||||||
'disk' => '/rsrc/image/sprite-gradient.png',
|
'disk' => '/rsrc/image/sprite-gradient.png',
|
||||||
'type' => 'png',
|
'type' => 'png',
|
||||||
),
|
),
|
||||||
|
@ -890,7 +890,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'aphront-panel-view-css' =>
|
'aphront-panel-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/915e0a4b/rsrc/css/aphront/panel-view.css',
|
'uri' => '/res/70d7011b/rsrc/css/aphront/panel-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -1017,7 +1017,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'differential-changeset-view-css' =>
|
'differential-changeset-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/b1c98bac/rsrc/css/application/differential/changeset-view.css',
|
'uri' => '/res/5fd9d5c0/rsrc/css/application/differential/changeset-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -1026,7 +1026,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'differential-core-view-css' =>
|
'differential-core-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/85fe5117/rsrc/css/application/differential/core.css',
|
'uri' => '/res/7db1595a/rsrc/css/application/differential/core.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3018,7 +3018,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phabricator-action-list-view-css' =>
|
'phabricator-action-list-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/c6219563/rsrc/css/layout/phabricator-action-list-view.css',
|
'uri' => '/res/ade71822/rsrc/css/layout/phabricator-action-list-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3371,7 +3371,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phabricator-property-list-view-css' =>
|
'phabricator-property-list-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/abc1bb1c/rsrc/css/layout/phabricator-property-list-view.css',
|
'uri' => '/res/7835f74e/rsrc/css/layout/phabricator-property-list-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3474,7 +3474,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phabricator-timeline-view-css' =>
|
'phabricator-timeline-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/79b6d385/rsrc/css/layout/phabricator-timeline-view.css',
|
'uri' => '/res/09567421/rsrc/css/layout/phabricator-timeline-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3656,7 +3656,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'pholio-css' =>
|
'pholio-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/cfdf017f/rsrc/css/application/pholio/pholio.css',
|
'uri' => '/res/e64264c9/rsrc/css/application/pholio/pholio.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3742,7 +3742,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phui-document-view-css' =>
|
'phui-document-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/7928af2d/rsrc/css/phui/phui-document.css',
|
'uri' => '/res/40e39942/rsrc/css/phui/phui-document.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3769,7 +3769,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phui-form-view-css' =>
|
'phui-form-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/d87bdbeb/rsrc/css/phui/phui-form-view.css',
|
'uri' => '/res/157ddd8b/rsrc/css/phui/phui-form-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3778,7 +3778,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phui-header-view-css' =>
|
'phui-header-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/2a60156a/rsrc/css/phui/phui-header-view.css',
|
'uri' => '/res/94208bd6/rsrc/css/phui/phui-header-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3803,6 +3803,15 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'disk' => '/rsrc/css/phui/phui-list.css',
|
'disk' => '/rsrc/css/phui/phui-list.css',
|
||||||
),
|
),
|
||||||
|
'phui-object-box-css' =>
|
||||||
|
array(
|
||||||
|
'uri' => '/res/3c1129d2/rsrc/css/phui/phui-object-box.css',
|
||||||
|
'type' => 'css',
|
||||||
|
'requires' =>
|
||||||
|
array(
|
||||||
|
),
|
||||||
|
'disk' => '/rsrc/css/phui/phui-object-box.css',
|
||||||
|
),
|
||||||
'phui-object-item-list-view-css' =>
|
'phui-object-item-list-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/71f7f081/rsrc/css/phui/phui-object-item-list-view.css',
|
'uri' => '/res/71f7f081/rsrc/css/phui/phui-object-item-list-view.css',
|
||||||
|
@ -3877,7 +3886,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'ponder-comment-table-css' =>
|
'ponder-comment-table-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/fd114c83/rsrc/css/application/ponder/comments.css',
|
'uri' => '/res/4aa4b865/rsrc/css/application/ponder/comments.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -4084,7 +4093,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'sprite-gradient-css' =>
|
'sprite-gradient-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/08c64fb3/rsrc/css/sprite-gradient.css',
|
'uri' => '/res/e31d9063/rsrc/css/sprite-gradient.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -4175,7 +4184,7 @@ celerity_register_resource_map(array(
|
||||||
), array(
|
), array(
|
||||||
'packages' =>
|
'packages' =>
|
||||||
array(
|
array(
|
||||||
'd72a9463' =>
|
'9d16ff0b' =>
|
||||||
array(
|
array(
|
||||||
'name' => 'core.pkg.css',
|
'name' => 'core.pkg.css',
|
||||||
'symbols' =>
|
'symbols' =>
|
||||||
|
@ -4224,7 +4233,7 @@ celerity_register_resource_map(array(
|
||||||
41 => 'phabricator-tag-view-css',
|
41 => 'phabricator-tag-view-css',
|
||||||
42 => 'phui-list-view-css',
|
42 => 'phui-list-view-css',
|
||||||
),
|
),
|
||||||
'uri' => '/res/pkg/d72a9463/core.pkg.css',
|
'uri' => '/res/pkg/9d16ff0b/core.pkg.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
),
|
),
|
||||||
'64eeda79' =>
|
'64eeda79' =>
|
||||||
|
@ -4286,7 +4295,7 @@ celerity_register_resource_map(array(
|
||||||
'uri' => '/res/pkg/4ccfeb47/darkconsole.pkg.js',
|
'uri' => '/res/pkg/4ccfeb47/darkconsole.pkg.js',
|
||||||
'type' => 'js',
|
'type' => 'js',
|
||||||
),
|
),
|
||||||
'44bfe40c' =>
|
'b55e602f' =>
|
||||||
array(
|
array(
|
||||||
'name' => 'differential.pkg.css',
|
'name' => 'differential.pkg.css',
|
||||||
'symbols' =>
|
'symbols' =>
|
||||||
|
@ -4305,7 +4314,7 @@ celerity_register_resource_map(array(
|
||||||
11 => 'differential-local-commits-view-css',
|
11 => 'differential-local-commits-view-css',
|
||||||
12 => 'inline-comment-summary-css',
|
12 => 'inline-comment-summary-css',
|
||||||
),
|
),
|
||||||
'uri' => '/res/pkg/44bfe40c/differential.pkg.css',
|
'uri' => '/res/pkg/b55e602f/differential.pkg.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
),
|
),
|
||||||
'5e9e5c4e' =>
|
'5e9e5c4e' =>
|
||||||
|
@ -4416,30 +4425,30 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'reverse' =>
|
'reverse' =>
|
||||||
array(
|
array(
|
||||||
'aphront-dialog-view-css' => 'd72a9463',
|
'aphront-dialog-view-css' => '9d16ff0b',
|
||||||
'aphront-error-view-css' => 'd72a9463',
|
'aphront-error-view-css' => '9d16ff0b',
|
||||||
'aphront-list-filter-view-css' => 'd72a9463',
|
'aphront-list-filter-view-css' => '9d16ff0b',
|
||||||
'aphront-pager-view-css' => 'd72a9463',
|
'aphront-pager-view-css' => '9d16ff0b',
|
||||||
'aphront-panel-view-css' => 'd72a9463',
|
'aphront-panel-view-css' => '9d16ff0b',
|
||||||
'aphront-table-view-css' => 'd72a9463',
|
'aphront-table-view-css' => '9d16ff0b',
|
||||||
'aphront-tokenizer-control-css' => 'd72a9463',
|
'aphront-tokenizer-control-css' => '9d16ff0b',
|
||||||
'aphront-tooltip-css' => 'd72a9463',
|
'aphront-tooltip-css' => '9d16ff0b',
|
||||||
'aphront-typeahead-control-css' => 'd72a9463',
|
'aphront-typeahead-control-css' => '9d16ff0b',
|
||||||
'differential-changeset-view-css' => '44bfe40c',
|
'differential-changeset-view-css' => 'b55e602f',
|
||||||
'differential-core-view-css' => '44bfe40c',
|
'differential-core-view-css' => 'b55e602f',
|
||||||
'differential-inline-comment-editor' => '5e9e5c4e',
|
'differential-inline-comment-editor' => '5e9e5c4e',
|
||||||
'differential-local-commits-view-css' => '44bfe40c',
|
'differential-local-commits-view-css' => 'b55e602f',
|
||||||
'differential-results-table-css' => '44bfe40c',
|
'differential-results-table-css' => 'b55e602f',
|
||||||
'differential-revision-add-comment-css' => '44bfe40c',
|
'differential-revision-add-comment-css' => 'b55e602f',
|
||||||
'differential-revision-comment-css' => '44bfe40c',
|
'differential-revision-comment-css' => 'b55e602f',
|
||||||
'differential-revision-comment-list-css' => '44bfe40c',
|
'differential-revision-comment-list-css' => 'b55e602f',
|
||||||
'differential-revision-history-css' => '44bfe40c',
|
'differential-revision-history-css' => 'b55e602f',
|
||||||
'differential-revision-list-css' => '44bfe40c',
|
'differential-revision-list-css' => 'b55e602f',
|
||||||
'differential-table-of-contents-css' => '44bfe40c',
|
'differential-table-of-contents-css' => 'b55e602f',
|
||||||
'diffusion-commit-view-css' => 'c8ce2d88',
|
'diffusion-commit-view-css' => 'c8ce2d88',
|
||||||
'diffusion-icons-css' => 'c8ce2d88',
|
'diffusion-icons-css' => 'c8ce2d88',
|
||||||
'global-drag-and-drop-css' => 'd72a9463',
|
'global-drag-and-drop-css' => '9d16ff0b',
|
||||||
'inline-comment-summary-css' => '44bfe40c',
|
'inline-comment-summary-css' => 'b55e602f',
|
||||||
'javelin-aphlict' => '64eeda79',
|
'javelin-aphlict' => '64eeda79',
|
||||||
'javelin-behavior' => '9564fa17',
|
'javelin-behavior' => '9564fa17',
|
||||||
'javelin-behavior-aphlict-dropdown' => '64eeda79',
|
'javelin-behavior-aphlict-dropdown' => '64eeda79',
|
||||||
|
@ -4513,56 +4522,56 @@ celerity_register_resource_map(array(
|
||||||
'javelin-util' => '9564fa17',
|
'javelin-util' => '9564fa17',
|
||||||
'javelin-vector' => '9564fa17',
|
'javelin-vector' => '9564fa17',
|
||||||
'javelin-workflow' => '9564fa17',
|
'javelin-workflow' => '9564fa17',
|
||||||
'lightbox-attachment-css' => 'd72a9463',
|
'lightbox-attachment-css' => '9d16ff0b',
|
||||||
'maniphest-task-summary-css' => '49898640',
|
'maniphest-task-summary-css' => '49898640',
|
||||||
'phabricator-action-list-view-css' => 'd72a9463',
|
'phabricator-action-list-view-css' => '9d16ff0b',
|
||||||
'phabricator-application-launch-view-css' => 'd72a9463',
|
'phabricator-application-launch-view-css' => '9d16ff0b',
|
||||||
'phabricator-busy' => '64eeda79',
|
'phabricator-busy' => '64eeda79',
|
||||||
'phabricator-content-source-view-css' => '44bfe40c',
|
'phabricator-content-source-view-css' => 'b55e602f',
|
||||||
'phabricator-core-css' => 'd72a9463',
|
'phabricator-core-css' => '9d16ff0b',
|
||||||
'phabricator-crumbs-view-css' => 'd72a9463',
|
'phabricator-crumbs-view-css' => '9d16ff0b',
|
||||||
'phabricator-drag-and-drop-file-upload' => '5e9e5c4e',
|
'phabricator-drag-and-drop-file-upload' => '5e9e5c4e',
|
||||||
'phabricator-dropdown-menu' => '64eeda79',
|
'phabricator-dropdown-menu' => '64eeda79',
|
||||||
'phabricator-file-upload' => '64eeda79',
|
'phabricator-file-upload' => '64eeda79',
|
||||||
'phabricator-filetree-view-css' => 'd72a9463',
|
'phabricator-filetree-view-css' => '9d16ff0b',
|
||||||
'phabricator-flag-css' => 'd72a9463',
|
'phabricator-flag-css' => '9d16ff0b',
|
||||||
'phabricator-hovercard' => '64eeda79',
|
'phabricator-hovercard' => '64eeda79',
|
||||||
'phabricator-jump-nav' => 'd72a9463',
|
'phabricator-jump-nav' => '9d16ff0b',
|
||||||
'phabricator-keyboard-shortcut' => '64eeda79',
|
'phabricator-keyboard-shortcut' => '64eeda79',
|
||||||
'phabricator-keyboard-shortcut-manager' => '64eeda79',
|
'phabricator-keyboard-shortcut-manager' => '64eeda79',
|
||||||
'phabricator-main-menu-view' => 'd72a9463',
|
'phabricator-main-menu-view' => '9d16ff0b',
|
||||||
'phabricator-menu-item' => '64eeda79',
|
'phabricator-menu-item' => '64eeda79',
|
||||||
'phabricator-nav-view-css' => 'd72a9463',
|
'phabricator-nav-view-css' => '9d16ff0b',
|
||||||
'phabricator-notification' => '64eeda79',
|
'phabricator-notification' => '64eeda79',
|
||||||
'phabricator-notification-css' => 'd72a9463',
|
'phabricator-notification-css' => '9d16ff0b',
|
||||||
'phabricator-notification-menu-css' => 'd72a9463',
|
'phabricator-notification-menu-css' => '9d16ff0b',
|
||||||
'phabricator-object-selector-css' => '44bfe40c',
|
'phabricator-object-selector-css' => 'b55e602f',
|
||||||
'phabricator-phtize' => '64eeda79',
|
'phabricator-phtize' => '64eeda79',
|
||||||
'phabricator-prefab' => '64eeda79',
|
'phabricator-prefab' => '64eeda79',
|
||||||
'phabricator-project-tag-css' => '49898640',
|
'phabricator-project-tag-css' => '49898640',
|
||||||
'phabricator-property-list-view-css' => 'd72a9463',
|
'phabricator-property-list-view-css' => '9d16ff0b',
|
||||||
'phabricator-remarkup-css' => 'd72a9463',
|
'phabricator-remarkup-css' => '9d16ff0b',
|
||||||
'phabricator-shaped-request' => '5e9e5c4e',
|
'phabricator-shaped-request' => '5e9e5c4e',
|
||||||
'phabricator-side-menu-view-css' => 'd72a9463',
|
'phabricator-side-menu-view-css' => '9d16ff0b',
|
||||||
'phabricator-standard-page-view' => 'd72a9463',
|
'phabricator-standard-page-view' => '9d16ff0b',
|
||||||
'phabricator-tag-view-css' => 'd72a9463',
|
'phabricator-tag-view-css' => '9d16ff0b',
|
||||||
'phabricator-textareautils' => '64eeda79',
|
'phabricator-textareautils' => '64eeda79',
|
||||||
'phabricator-tooltip' => '64eeda79',
|
'phabricator-tooltip' => '64eeda79',
|
||||||
'phabricator-transaction-view-css' => 'd72a9463',
|
'phabricator-transaction-view-css' => '9d16ff0b',
|
||||||
'phabricator-zindex-css' => 'd72a9463',
|
'phabricator-zindex-css' => '9d16ff0b',
|
||||||
'phui-button-css' => 'd72a9463',
|
'phui-button-css' => '9d16ff0b',
|
||||||
'phui-form-css' => 'd72a9463',
|
'phui-form-css' => '9d16ff0b',
|
||||||
'phui-form-view-css' => 'd72a9463',
|
'phui-form-view-css' => '9d16ff0b',
|
||||||
'phui-header-view-css' => 'd72a9463',
|
'phui-header-view-css' => '9d16ff0b',
|
||||||
'phui-icon-view-css' => 'd72a9463',
|
'phui-icon-view-css' => '9d16ff0b',
|
||||||
'phui-list-view-css' => 'd72a9463',
|
'phui-list-view-css' => '9d16ff0b',
|
||||||
'phui-object-item-list-view-css' => 'd72a9463',
|
'phui-object-item-list-view-css' => '9d16ff0b',
|
||||||
'phui-spacing-css' => 'd72a9463',
|
'phui-spacing-css' => '9d16ff0b',
|
||||||
'sprite-apps-large-css' => 'd72a9463',
|
'sprite-apps-large-css' => '9d16ff0b',
|
||||||
'sprite-gradient-css' => 'd72a9463',
|
'sprite-gradient-css' => '9d16ff0b',
|
||||||
'sprite-icons-css' => 'd72a9463',
|
'sprite-icons-css' => '9d16ff0b',
|
||||||
'sprite-menu-css' => 'd72a9463',
|
'sprite-menu-css' => '9d16ff0b',
|
||||||
'sprite-status-css' => 'd72a9463',
|
'sprite-status-css' => '9d16ff0b',
|
||||||
'syntax-highlighting-css' => 'd72a9463',
|
'syntax-highlighting-css' => '9d16ff0b',
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
@ -72,6 +72,10 @@ final class PhabricatorConfigAllController
|
||||||
$version_property_list->addProperty($name, $hash);
|
$version_property_list->addProperty($name, $hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeaderText(pht('Current Settings'))
|
||||||
|
->addContent($version_property_list);
|
||||||
|
|
||||||
$phabricator_root = dirname(phutil_get_library_root('phabricator'));
|
$phabricator_root = dirname(phutil_get_library_root('phabricator'));
|
||||||
$version_path = $phabricator_root.'/conf/local/VERSION';
|
$version_path = $phabricator_root.'/conf/local/VERSION';
|
||||||
if (Filesystem::pathExists($version_path)) {
|
if (Filesystem::pathExists($version_path)) {
|
||||||
|
@ -84,7 +88,7 @@ final class PhabricatorConfigAllController
|
||||||
$nav = $this->buildSideNavView();
|
$nav = $this->buildSideNavView();
|
||||||
$nav->selectFilter('all/');
|
$nav->selectFilter('all/');
|
||||||
$nav->setCrumbs($crumbs);
|
$nav->setCrumbs($crumbs);
|
||||||
$nav->appendChild($version_property_list);
|
$nav->appendChild($object_box);
|
||||||
$nav->appendChild($panel);
|
$nav->appendChild($panel);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -47,11 +47,14 @@ final class PhabricatorCountdownViewController
|
||||||
$actions = $this->buildActionListView($countdown);
|
$actions = $this->buildActionListView($countdown);
|
||||||
$properties = $this->buildPropertyListView($countdown);
|
$properties = $this->buildPropertyListView($countdown);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
$content = array(
|
$content = array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$countdown_view,
|
$countdown_view,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,6 @@ final class DifferentialAddCommentView extends AphrontView {
|
||||||
$form
|
$form
|
||||||
->setWorkflow(true)
|
->setWorkflow(true)
|
||||||
->setUser($this->user)
|
->setUser($this->user)
|
||||||
->setShaded(true)
|
|
||||||
->setAction($this->actionURI)
|
->setAction($this->actionURI)
|
||||||
->addHiddenInput('revision_id', $revision->getID())
|
->addHiddenInput('revision_id', $revision->getID())
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
@ -176,25 +175,30 @@ final class DifferentialAddCommentView extends AphrontView {
|
||||||
$header = id(new PHUIHeaderView())
|
$header = id(new PHUIHeaderView())
|
||||||
->setHeader($is_serious ? pht('Add Comment') : pht('Leap Into Action'));
|
->setHeader($is_serious ? pht('Add Comment') : pht('Leap Into Action'));
|
||||||
|
|
||||||
return hsprintf(
|
$anchor = id(new PhabricatorAnchorView())
|
||||||
'%s'.
|
->setAnchorName('comment')
|
||||||
'<div class="differential-add-comment-panel">'.
|
->setNavigationMarker(true);
|
||||||
'%s%s%s'.
|
|
||||||
|
$warn = phutil_tag('div', array('id' => 'warnings'), $warning_container);
|
||||||
|
|
||||||
|
$preview = hsprintf(
|
||||||
'<div class="aphront-panel-preview aphront-panel-flush">'.
|
'<div class="aphront-panel-preview aphront-panel-flush">'.
|
||||||
'<div id="comment-preview">'.
|
'<div id="comment-preview">'.
|
||||||
'<span class="aphront-panel-preview-loading-text">%s</span>'.
|
'<span class="aphront-panel-preview-loading-text">%s</span>'.
|
||||||
'</div>'.
|
'</div>'.
|
||||||
'<div id="inline-comment-preview">'.
|
'<div id="inline-comment-preview">'.
|
||||||
'</div>'.
|
'</div>'.
|
||||||
'</div>'.
|
'</div>',
|
||||||
'</div>',
|
|
||||||
id(new PhabricatorAnchorView())
|
|
||||||
->setAnchorName('comment')
|
|
||||||
->setNavigationMarker(true)
|
|
||||||
->render(),
|
|
||||||
$header->render(),
|
|
||||||
$form->render(),
|
|
||||||
phutil_tag('div', array('id' => 'warnings'), $warning_container),
|
|
||||||
pht('Loading comment preview...'));
|
pht('Loading comment preview...'));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$comment_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($anchor)
|
||||||
|
->addContent($warn)
|
||||||
|
->addContent($form);
|
||||||
|
|
||||||
|
return array($comment_box, $preview);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -200,16 +200,19 @@ final class DifferentialChangesetListView extends AphrontView {
|
||||||
->setHeader($this->getTitle());
|
->setHeader($this->getTitle());
|
||||||
}
|
}
|
||||||
|
|
||||||
return array(
|
$content = phutil_tag(
|
||||||
$header,
|
'div',
|
||||||
phutil_tag(
|
array(
|
||||||
'div',
|
'class' => 'differential-review-stage',
|
||||||
array(
|
'id' => 'differential-review-stage',
|
||||||
'class' => 'differential-review-stage',
|
),
|
||||||
'id' => 'differential-review-stage',
|
$output);
|
||||||
),
|
|
||||||
$output),
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
);
|
->setHeader($header)
|
||||||
|
->addContent($content);
|
||||||
|
|
||||||
|
return $object_box;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -213,8 +213,8 @@ final class DifferentialDiffTableOfContentsView extends AphrontView {
|
||||||
$editor_link,
|
$editor_link,
|
||||||
$reveal_link);
|
$reveal_link);
|
||||||
|
|
||||||
return hsprintf(
|
$content = hsprintf(
|
||||||
'%s%s'.
|
'%s'.
|
||||||
'<div class="differential-toc differential-panel">'.
|
'<div class="differential-toc differential-panel">'.
|
||||||
'<table>'.
|
'<table>'.
|
||||||
'<tr>'.
|
'<tr>'.
|
||||||
|
@ -232,13 +232,14 @@ final class DifferentialDiffTableOfContentsView extends AphrontView {
|
||||||
->setAnchorName('toc')
|
->setAnchorName('toc')
|
||||||
->setNavigationMarker(true)
|
->setNavigationMarker(true)
|
||||||
->render(),
|
->render(),
|
||||||
id(new PHUIHeaderView())
|
|
||||||
->setHeader(pht('Table of Contents'))
|
|
||||||
->render(),
|
|
||||||
pht('Coverage (All)'),
|
pht('Coverage (All)'),
|
||||||
pht('Coverage (Touched)'),
|
pht('Coverage (Touched)'),
|
||||||
phutil_implode_html("\n", $rows),
|
phutil_implode_html("\n", $rows),
|
||||||
$buttons);
|
$buttons);
|
||||||
|
|
||||||
|
return id(new PHUIObjectBoxView())
|
||||||
|
->setHeaderText(pht('Table of Contents'))
|
||||||
|
->addContent($content);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function renderRename($display_file, $other_file, $arrow) {
|
private function renderRename($display_file, $other_file, $arrow) {
|
||||||
|
|
|
@ -128,18 +128,17 @@ final class DifferentialLocalCommitsView extends AphrontView {
|
||||||
|
|
||||||
$headers = phutil_tag('tr', array(), $headers);
|
$headers = phutil_tag('tr', array(), $headers);
|
||||||
|
|
||||||
$header = id(new PHUIHeaderView())
|
$content = hsprintf(
|
||||||
->setHeader(pht('Local Commits'))
|
|
||||||
->render();
|
|
||||||
|
|
||||||
return hsprintf(
|
|
||||||
'%s'.
|
|
||||||
'<div class="differential-panel">'.
|
'<div class="differential-panel">'.
|
||||||
'<table class="differential-local-commits-table">%s%s</table>'.
|
'<table class="differential-local-commits-table">%s%s</table>'.
|
||||||
'</div>',
|
'</div>',
|
||||||
$header,
|
|
||||||
$headers,
|
$headers,
|
||||||
phutil_implode_html("\n", $rows));
|
phutil_implode_html("\n", $rows));
|
||||||
|
|
||||||
|
return id(new PHUIObjectBoxView())
|
||||||
|
->setHeaderText(pht('Local Commits'))
|
||||||
|
->addContent($content);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function formatCommit($commit) {
|
private static function formatCommit($commit) {
|
||||||
|
|
|
@ -111,11 +111,12 @@ final class DifferentialRevisionDetailView extends AphrontView {
|
||||||
}
|
}
|
||||||
$properties->setHasKeyboardShortcuts(true);
|
$properties->setHasKeyboardShortcuts(true);
|
||||||
|
|
||||||
return hsprintf(
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
'%s%s%s',
|
->setHeader($header)
|
||||||
$header->render(),
|
->addContent($actions)
|
||||||
$actions->render(),
|
->addContent($properties);
|
||||||
$properties->render());
|
|
||||||
|
return $object_box;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function renderHeader(DifferentialRevision $revision) {
|
private function renderHeader(DifferentialRevision $revision) {
|
||||||
|
|
|
@ -200,8 +200,7 @@ final class DifferentialRevisionUpdateHistoryView extends AphrontView {
|
||||||
phutil_tag('th', array(), pht('Unit')),
|
phutil_tag('th', array(), pht('Unit')),
|
||||||
)));
|
)));
|
||||||
|
|
||||||
return hsprintf(
|
$content = hsprintf(
|
||||||
'%s'.
|
|
||||||
'<div class="differential-revision-history differential-panel">'.
|
'<div class="differential-revision-history differential-panel">'.
|
||||||
'<form action="#toc">'.
|
'<form action="#toc">'.
|
||||||
'<table class="differential-revision-history-table">'.
|
'<table class="differential-revision-history-table">'.
|
||||||
|
@ -215,12 +214,13 @@ final class DifferentialRevisionUpdateHistoryView extends AphrontView {
|
||||||
'</table>'.
|
'</table>'.
|
||||||
'</form>'.
|
'</form>'.
|
||||||
'</div>',
|
'</div>',
|
||||||
id(new PHUIHeaderView())
|
|
||||||
->setHeader(pht('Revision Update History'))
|
|
||||||
->render(),
|
|
||||||
phutil_implode_html("\n", $rows),
|
phutil_implode_html("\n", $rows),
|
||||||
pht('Whitespace Changes: %s', $select),
|
pht('Whitespace Changes: %s', $select),
|
||||||
pht('Show Diff'));
|
pht('Show Diff'));
|
||||||
|
|
||||||
|
return id(new PHUIObjectBoxView())
|
||||||
|
->setHeaderText(pht('Revision Update History'))
|
||||||
|
->addContent($content);
|
||||||
}
|
}
|
||||||
|
|
||||||
const STAR_NONE = 'none';
|
const STAR_NONE = 'none';
|
||||||
|
|
|
@ -22,10 +22,12 @@ final class DiffusionBrowseDirectoryController
|
||||||
|
|
||||||
$content = array();
|
$content = array();
|
||||||
|
|
||||||
$content[] = $this->buildHeaderView($drequest);
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
$content[] = $this->buildActionView($drequest);
|
->setHeader($this->buildHeaderView($drequest))
|
||||||
$content[] = $this->buildPropertyView($drequest);
|
->addContent($this->buildActionView($drequest))
|
||||||
|
->addContent($this->buildPropertyView($drequest));
|
||||||
|
|
||||||
|
$content[] = $object_box;
|
||||||
$content[] = $this->renderSearchForm($collapsed = true);
|
$content[] = $this->renderSearchForm($collapsed = true);
|
||||||
|
|
||||||
if (!$results->isValidResults()) {
|
if (!$results->isValidResults()) {
|
||||||
|
@ -70,18 +72,14 @@ final class DiffusionBrowseDirectoryController
|
||||||
));
|
));
|
||||||
if ($readme) {
|
if ($readme) {
|
||||||
$box = new PHUIBoxView();
|
$box = new PHUIBoxView();
|
||||||
$box->setShadow(true);
|
|
||||||
$box->appendChild($readme);
|
$box->appendChild($readme);
|
||||||
$box->addPadding(PHUI::PADDING_LARGE);
|
$box->addPadding(PHUI::PADDING_LARGE);
|
||||||
$box->addMargin(PHUI::MARGIN_LARGE);
|
|
||||||
|
|
||||||
$header = id(new PHUIHeaderView())
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
->setHeader(pht('README'));
|
->setHeaderText(pht('README'))
|
||||||
|
->addContent($box);
|
||||||
|
|
||||||
$content[] = array(
|
$content[] = $object_box;
|
||||||
$header,
|
|
||||||
$box,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$crumbs = $this->buildCrumbs(
|
$crumbs = $this->buildCrumbs(
|
||||||
|
|
|
@ -98,6 +98,11 @@ final class DiffusionBrowseFileController extends DiffusionBrowseController {
|
||||||
|
|
||||||
require_celerity_resource('diffusion-source-css');
|
require_celerity_resource('diffusion-source-css');
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($this->buildHeaderView($drequest))
|
||||||
|
->addContent($this->buildActionView($drequest))
|
||||||
|
->addContent($this->buildPropertyView($drequest));
|
||||||
|
|
||||||
// Render the page.
|
// Render the page.
|
||||||
$content = array();
|
$content = array();
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,14 @@ final class DiffusionBrowseSearchController extends DiffusionBrowseController {
|
||||||
public function processRequest() {
|
public function processRequest() {
|
||||||
$drequest = $this->diffusionRequest;
|
$drequest = $this->diffusionRequest;
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($this->buildHeaderView($drequest))
|
||||||
|
->addContent($this->buildActionView($drequest))
|
||||||
|
->addContent($this->buildPropertyView($drequest));
|
||||||
|
|
||||||
$content = array();
|
$content = array();
|
||||||
|
|
||||||
$content[] = $this->buildHeaderView($drequest);
|
$content[] = $object_box;
|
||||||
$content[] = $this->buildActionView($drequest);
|
|
||||||
$content[] = $this->buildPropertyView($drequest);
|
|
||||||
$content[] = $this->renderSearchForm($collapsed = false);
|
$content[] = $this->renderSearchForm($collapsed = false);
|
||||||
$content[] = $this->renderSearchResults();
|
$content[] = $this->renderSearchResults();
|
||||||
|
|
||||||
|
|
|
@ -82,12 +82,15 @@ final class DiffusionChangeController extends DiffusionController {
|
||||||
$actions = $this->buildActionView($drequest);
|
$actions = $this->buildActionView($drequest);
|
||||||
$properties = $this->buildPropertyView($drequest);
|
$properties = $this->buildPropertyView($drequest);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$content,
|
$content,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -137,9 +137,13 @@ final class DiffusionCommitController extends DiffusionController {
|
||||||
),
|
),
|
||||||
$message));
|
$message));
|
||||||
$content[] = $top_anchor;
|
$content[] = $top_anchor;
|
||||||
$content[] = $headsup_view;
|
|
||||||
$content[] = $headsup_actions;
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
$content[] = $property_list;
|
->setHeader($headsup_view)
|
||||||
|
->addContent($headsup_actions)
|
||||||
|
->addContent($property_list);
|
||||||
|
|
||||||
|
$content[] = $object_box;
|
||||||
}
|
}
|
||||||
|
|
||||||
$content[] = $this->buildComments($commit);
|
$content[] = $this->buildComments($commit);
|
||||||
|
@ -646,7 +650,6 @@ final class DiffusionCommitController extends DiffusionController {
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setShaded(true)
|
|
||||||
->setAction('/audit/addcomment/')
|
->setAction('/audit/addcomment/')
|
||||||
->addHiddenInput('commit', $commit->getPHID())
|
->addHiddenInput('commit', $commit->getPHID())
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
@ -738,19 +741,22 @@ final class DiffusionCommitController extends DiffusionController {
|
||||||
// Differential better.
|
// Differential better.
|
||||||
require_celerity_resource('differential-core-view-css');
|
require_celerity_resource('differential-core-view-css');
|
||||||
|
|
||||||
|
$comment_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($form);
|
||||||
|
|
||||||
return phutil_tag(
|
return phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
'id' => $pane_id,
|
'id' => $pane_id,
|
||||||
),
|
),
|
||||||
hsprintf(
|
hsprintf(
|
||||||
'<div class="differential-add-comment-panel">%s%s%s%s</div>',
|
'<div class="differential-add-comment-panel">%s%s%s</div>',
|
||||||
id(new PhabricatorAnchorView())
|
id(new PhabricatorAnchorView())
|
||||||
->setAnchorName('comment')
|
->setAnchorName('comment')
|
||||||
->setNavigationMarker(true)
|
->setNavigationMarker(true)
|
||||||
->render(),
|
->render(),
|
||||||
$header,
|
$comment_box,
|
||||||
$form,
|
|
||||||
$preview_panel));
|
$preview_panel));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -72,6 +72,11 @@ final class DiffusionHistoryController extends DiffusionController {
|
||||||
$actions = $this->buildActionView($drequest);
|
$actions = $this->buildActionView($drequest);
|
||||||
$properties = $this->buildPropertyView($drequest);
|
$properties = $this->buildPropertyView($drequest);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
$crumbs = $this->buildCrumbs(
|
$crumbs = $this->buildCrumbs(
|
||||||
array(
|
array(
|
||||||
'branch' => true,
|
'branch' => true,
|
||||||
|
@ -82,9 +87,7 @@ final class DiffusionHistoryController extends DiffusionController {
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$content,
|
$content,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -165,19 +165,20 @@ final class DiffusionLintController extends DiffusionController {
|
||||||
$drequest,
|
$drequest,
|
||||||
$branch,
|
$branch,
|
||||||
$total);
|
$total);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
} else {
|
} else {
|
||||||
$header = null;
|
$object_box = null;
|
||||||
$actions = null;
|
|
||||||
$properties = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$content,
|
$content,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -174,7 +174,11 @@ final class DiffusionRepositoryController extends DiffusionController {
|
||||||
$view->addTextContent($description);
|
$view->addTextContent($description);
|
||||||
}
|
}
|
||||||
|
|
||||||
return array($header, $actions, $view);
|
return id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($view);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function buildBranchListTable(DiffusionRequest $drequest) {
|
private function buildBranchListTable(DiffusionRequest $drequest) {
|
||||||
|
|
|
@ -45,12 +45,15 @@ final class DrydockLeaseViewController extends DrydockController {
|
||||||
->setName($title)
|
->setName($title)
|
||||||
->setHref($lease_uri));
|
->setHref($lease_uri));
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$log_table,
|
$log_table,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -56,12 +56,15 @@ final class DrydockResourceViewController extends DrydockController {
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
->setName(pht('Resource %d', $resource->getID())));
|
->setName(pht('Resource %d', $resource->getID())));
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$lease_header,
|
$lease_header,
|
||||||
$lease_list,
|
$lease_list,
|
||||||
$log_table,
|
$log_table,
|
||||||
|
|
|
@ -49,12 +49,15 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
|
||||||
->setName('F'.$file->getID())
|
->setName('F'.$file->getID())
|
||||||
->setHref($this->getApplicationURI("/info/{$phid}/")));
|
->setHref($this->getApplicationURI("/info/{$phid}/")));
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$timeline
|
$timeline
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
@ -107,10 +110,14 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
|
||||||
->setAction($this->getApplicationURI('/comment/'.$file->getID().'/'))
|
->setAction($this->getApplicationURI('/comment/'.$file->getID().'/'))
|
||||||
->setSubmitButtonName($submit_button_name);
|
->setSubmitButtonName($submit_button_name);
|
||||||
|
|
||||||
|
$comment_box = id(new PHUIObjectBoxView())
|
||||||
|
->setFlush(true)
|
||||||
|
->setHeader($add_comment_header)
|
||||||
|
->addContent($add_comment_form);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$timeline,
|
$timeline,
|
||||||
$add_comment_header,
|
$comment_box);
|
||||||
$add_comment_form);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function buildActionView(PhabricatorFile $file) {
|
private function buildActionView(PhabricatorFile $file) {
|
||||||
|
|
|
@ -32,12 +32,15 @@ final class HeraldRuleViewController extends HeraldController {
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
->setName(pht('Rule %d', $rule->getID())));
|
->setName(pht('Rule %d', $rule->getID())));
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $rule->getName(),
|
'title' => $rule->getName(),
|
||||||
|
|
|
@ -86,11 +86,14 @@ final class LegalpadDocumentViewController extends LegalpadController {
|
||||||
->setName('L'.$document->getID())
|
->setName('L'.$document->getID())
|
||||||
->setHref($this->getApplicationURI('view/'.$document->getID())));
|
->setHref($this->getApplicationURI('view/'.$document->getID())));
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
$content = array(
|
$content = array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$this->buildDocument($engine, $document_body),
|
$this->buildDocument($engine, $document_body),
|
||||||
$xaction_view,
|
$xaction_view,
|
||||||
$add_comment,
|
$add_comment,
|
||||||
|
@ -210,10 +213,11 @@ final class LegalpadDocumentViewController extends LegalpadController {
|
||||||
->setAction($this->getApplicationURI('/comment/'.$document->getID().'/'))
|
->setAction($this->getApplicationURI('/comment/'.$document->getID().'/'))
|
||||||
->setRequestURI($this->getRequest()->getRequestURI());
|
->setRequestURI($this->getRequest()->getRequestURI());
|
||||||
|
|
||||||
return array(
|
return id(new PHUIObjectBoxView())
|
||||||
$header,
|
->setFlush(true)
|
||||||
$form,
|
->setHeader($header)
|
||||||
);
|
->addContent($form);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,15 +91,22 @@ final class PhabricatorMacroViewController
|
||||||
->setAction($this->getApplicationURI('/comment/'.$macro->getID().'/'))
|
->setAction($this->getApplicationURI('/comment/'.$macro->getID().'/'))
|
||||||
->setSubmitButtonName($submit_button_name);
|
->setSubmitButtonName($submit_button_name);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
|
$comment_box = id(new PHUIObjectBoxView())
|
||||||
|
->setFlush(true)
|
||||||
|
->setHeader($add_comment_header)
|
||||||
|
->addContent($add_comment_form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$timeline,
|
$timeline,
|
||||||
$add_comment_header,
|
$comment_box,
|
||||||
$add_comment_form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $title_short,
|
'title' => $title_short,
|
||||||
|
|
|
@ -209,7 +209,6 @@ final class ManiphestTaskDetailController extends ManiphestController {
|
||||||
$comment_form = new AphrontFormView();
|
$comment_form = new AphrontFormView();
|
||||||
$comment_form
|
$comment_form
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setShaded(true)
|
|
||||||
->setAction('/maniphest/transaction/save/')
|
->setAction('/maniphest/transaction/save/')
|
||||||
->setEncType('multipart/form-data')
|
->setEncType('multipart/form-data')
|
||||||
->addHiddenInput('taskID', $task->getID())
|
->addHiddenInput('taskID', $task->getID())
|
||||||
|
@ -364,16 +363,23 @@ final class ManiphestTaskDetailController extends ManiphestController {
|
||||||
$preview_panel = null;
|
$preview_panel = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
|
$comment_box = id(new PHUIObjectBoxView())
|
||||||
|
->setFlush(true)
|
||||||
|
->setHeader($comment_header)
|
||||||
|
->addContent($comment_form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$context_bar,
|
$context_bar,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$timeline,
|
$timeline,
|
||||||
$comment_header,
|
$comment_box,
|
||||||
$comment_form,
|
|
||||||
$preview_panel,
|
$preview_panel,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -54,12 +54,15 @@ final class PhabricatorApplicationDetailViewController
|
||||||
$properties = $this->buildPropertyView($selected);
|
$properties = $this->buildPropertyView($selected);
|
||||||
$actions = $this->buildActionView($user, $selected);
|
$actions = $this->buildActionView($user, $selected);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
|
|
|
@ -68,11 +68,24 @@ final class PhabricatorPasteViewController extends PhabricatorPasteController {
|
||||||
$header = $this->buildHeaderView($paste);
|
$header = $this->buildHeaderView($paste);
|
||||||
$actions = $this->buildActionView($user, $paste, $file);
|
$actions = $this->buildActionView($user, $paste, $file);
|
||||||
$properties = $this->buildPropertyView($paste, $fork_phids);
|
$properties = $this->buildPropertyView($paste, $fork_phids);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
$source_code = $this->buildSourceCodeView(
|
$source_code = $this->buildSourceCodeView(
|
||||||
$paste,
|
$paste,
|
||||||
null,
|
null,
|
||||||
$this->highlightMap);
|
$this->highlightMap);
|
||||||
|
|
||||||
|
$source_code = id(new PHUIBoxView())
|
||||||
|
->appendChild($source_code)
|
||||||
|
->setBorder(true)
|
||||||
|
->addMargin(PHUI::MARGIN_LARGE_LEFT)
|
||||||
|
->addMargin(PHUI::MARGIN_LARGE_RIGHT)
|
||||||
|
->addMargin(PHUI::MARGIN_LARGE_TOP);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView())
|
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView())
|
||||||
->setActionList($actions)
|
->setActionList($actions)
|
||||||
->addCrumb(
|
->addCrumb(
|
||||||
|
@ -123,16 +136,18 @@ final class PhabricatorPasteViewController extends PhabricatorPasteController {
|
||||||
->setAction($this->getApplicationURI('/comment/'.$paste->getID().'/'))
|
->setAction($this->getApplicationURI('/comment/'.$paste->getID().'/'))
|
||||||
->setSubmitButtonName($submit_button_name);
|
->setSubmitButtonName($submit_button_name);
|
||||||
|
|
||||||
|
$comment_box = id(new PHUIObjectBoxView())
|
||||||
|
->setFlush(true)
|
||||||
|
->setHeader($add_comment_header)
|
||||||
|
->addContent($add_comment_form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$source_code,
|
$source_code,
|
||||||
$timeline,
|
$timeline,
|
||||||
$add_comment_header,
|
$comment_box,
|
||||||
$add_comment_form
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $paste->getFullName(),
|
'title' => $paste->getFullName(),
|
||||||
|
|
|
@ -76,12 +76,15 @@ final class PhabricatorPeopleProfileController
|
||||||
->setName($user->getUsername()));
|
->setName($user->getUsername()));
|
||||||
$feed = $this->renderUserFeed($user);
|
$feed = $this->renderUserFeed($user);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$feed,
|
$feed,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -63,12 +63,15 @@ final class PhameBlogViewController extends PhameController {
|
||||||
->setName($blog->getName())
|
->setName($blog->getName())
|
||||||
->setHref($this->getApplicationURI()));
|
->setHref($this->getApplicationURI()));
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
$nav->appendChild(
|
$nav->appendChild(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$post_list,
|
$post_list,
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
@ -42,14 +42,19 @@ final class PhamePostViewController extends PhameController {
|
||||||
->setHref($this->getApplicationURI('post/view/'.$post->getID().'/')));
|
->setHref($this->getApplicationURI('post/view/'.$post->getID().'/')));
|
||||||
|
|
||||||
$nav->appendChild($crumbs);
|
$nav->appendChild($crumbs);
|
||||||
$nav->appendChild(
|
|
||||||
id(new PHUIHeaderView())
|
$header = id(new PHUIHeaderView())
|
||||||
->setHeader($post->getTitle())
|
->setHeader($post->getTitle())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setPolicyObject($post));
|
->setPolicyObject($post);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
if ($post->isDraft()) {
|
if ($post->isDraft()) {
|
||||||
$nav->appendChild(
|
$object_box->appendChild(
|
||||||
id(new AphrontErrorView())
|
id(new AphrontErrorView())
|
||||||
->setSeverity(AphrontErrorView::SEVERITY_NOTICE)
|
->setSeverity(AphrontErrorView::SEVERITY_NOTICE)
|
||||||
->setTitle(pht('Draft Post'))
|
->setTitle(pht('Draft Post'))
|
||||||
|
@ -59,7 +64,7 @@ final class PhamePostViewController extends PhameController {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$post->getBlog()) {
|
if (!$post->getBlog()) {
|
||||||
$nav->appendChild(
|
$object_box->appendChild(
|
||||||
id(new AphrontErrorView())
|
id(new AphrontErrorView())
|
||||||
->setSeverity(AphrontErrorView::SEVERITY_WARNING)
|
->setSeverity(AphrontErrorView::SEVERITY_WARNING)
|
||||||
->setTitle(pht('Not On A Blog'))
|
->setTitle(pht('Not On A Blog'))
|
||||||
|
@ -70,8 +75,7 @@ final class PhamePostViewController extends PhameController {
|
||||||
|
|
||||||
$nav->appendChild(
|
$nav->appendChild(
|
||||||
array(
|
array(
|
||||||
$actions,
|
$object_box,
|
||||||
$properties,
|
|
||||||
));
|
));
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
|
|
|
@ -74,12 +74,15 @@ final class PhluxViewController extends PhluxController {
|
||||||
->setTransactions($xactions)
|
->setTransactions($xactions)
|
||||||
->setMarkupEngine($engine);
|
->setMarkupEngine($engine);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$xaction_view,
|
$xaction_view,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -103,12 +103,15 @@ final class PholioMockViewController extends PholioController {
|
||||||
->setName('M'.$mock->getID())
|
->setName('M'.$mock->getID())
|
||||||
->setHref('/M'.$mock->getID()));
|
->setHref('/M'.$mock->getID()));
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
$content = array(
|
$content = array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$image_status,
|
$image_status,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$output->render(),
|
$output->render(),
|
||||||
$xaction_view,
|
$xaction_view,
|
||||||
$add_comment,
|
$add_comment,
|
||||||
|
@ -251,10 +254,10 @@ final class PholioMockViewController extends PholioController {
|
||||||
->setAction($this->getApplicationURI('/comment/'.$mock->getID().'/'))
|
->setAction($this->getApplicationURI('/comment/'.$mock->getID().'/'))
|
||||||
->setRequestURI($this->getRequest()->getRequestURI());
|
->setRequestURI($this->getRequest()->getRequestURI());
|
||||||
|
|
||||||
return array(
|
return id(new PHUIObjectBoxView())
|
||||||
$header,
|
->setFlush(true)
|
||||||
$form,
|
->setHeader($header)
|
||||||
);
|
->addContent($form);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,12 +60,15 @@ final class PhortuneAccountViewController extends PhortuneController {
|
||||||
$purchase_history = $this->buildPurchaseHistorySection($account);
|
$purchase_history = $this->buildPurchaseHistorySection($account);
|
||||||
$account_history = $this->buildAccountHistorySection($account);
|
$account_history = $this->buildAccountHistorySection($account);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$payment_methods,
|
$payment_methods,
|
||||||
$purchase_history,
|
$purchase_history,
|
||||||
$account_history,
|
$account_history,
|
||||||
|
|
|
@ -81,12 +81,15 @@ final class PhortuneProductViewController extends PhortuneController {
|
||||||
->setTransactions($xactions)
|
->setTransactions($xactions)
|
||||||
->setMarkupEngine($engine);
|
->setMarkupEngine($engine);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$xaction_view,
|
$xaction_view,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -50,6 +50,11 @@ final class PonderQuestionViewController extends PonderController {
|
||||||
$actions = $this->buildActionListView($question);
|
$actions = $this->buildActionListView($question);
|
||||||
$properties = $this->buildPropertyListView($question);
|
$properties = $this->buildPropertyListView($question);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView());
|
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView());
|
||||||
$crumbs->setActionList($actions);
|
$crumbs->setActionList($actions);
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
|
@ -60,9 +65,7 @@ final class PonderQuestionViewController extends PonderController {
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$question_xactions,
|
$question_xactions,
|
||||||
$answers,
|
$answers,
|
||||||
$answer_add_panel
|
$answer_add_panel
|
||||||
|
@ -208,11 +211,16 @@ final class PonderQuestionViewController extends PonderController {
|
||||||
->setAction($this->getApplicationURI("/question/comment/{$id}/"))
|
->setAction($this->getApplicationURI("/question/comment/{$id}/"))
|
||||||
->setSubmitButtonName(pht('Comment'));
|
->setSubmitButtonName(pht('Comment'));
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setFlush(true)
|
||||||
|
->setHeaderText(pht('Question Comment'))
|
||||||
|
->addContent($add_comment);
|
||||||
|
|
||||||
return $this->wrapComments(
|
return $this->wrapComments(
|
||||||
count($xactions),
|
count($xactions),
|
||||||
array(
|
array(
|
||||||
$timeline,
|
$timeline,
|
||||||
$add_comment,
|
$object_box,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -253,13 +261,18 @@ final class PonderQuestionViewController extends PonderController {
|
||||||
$out[] = phutil_tag('br');
|
$out[] = phutil_tag('br');
|
||||||
$out[] = id(new PhabricatorAnchorView())
|
$out[] = id(new PhabricatorAnchorView())
|
||||||
->setAnchorName("A$id");
|
->setAnchorName("A$id");
|
||||||
$out[] = id(new PHUIHeaderView())
|
$header = id(new PHUIHeaderView())
|
||||||
->setHeader($this->getHandle($author_phid)->getFullName())
|
->setHeader($this->getHandle($author_phid)->getFullName());
|
||||||
->setImage($this->getHandle($author_phid)->getImageURI());
|
|
||||||
|
|
||||||
$out[] = $this->buildAnswerActions($answer);
|
$actions = $this->buildAnswerActions($answer);
|
||||||
$out[] = $this->buildAnswerProperties($answer);
|
$properties = $this->buildAnswerProperties($answer);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
|
$out[] = $object_box;
|
||||||
$details = array();
|
$details = array();
|
||||||
|
|
||||||
$details[] = id(new PhabricatorApplicationTransactionView())
|
$details[] = id(new PhabricatorApplicationTransactionView())
|
||||||
|
@ -268,13 +281,20 @@ final class PonderQuestionViewController extends PonderController {
|
||||||
->setTransactions($xactions)
|
->setTransactions($xactions)
|
||||||
->setMarkupEngine($engine);
|
->setMarkupEngine($engine);
|
||||||
|
|
||||||
$details[] = id(new PhabricatorApplicationTransactionCommentView())
|
$form = id(new PhabricatorApplicationTransactionCommentView())
|
||||||
->setUser($viewer)
|
->setUser($viewer)
|
||||||
->setObjectPHID($answer->getPHID())
|
->setObjectPHID($answer->getPHID())
|
||||||
->setShowPreview(false)
|
->setShowPreview(false)
|
||||||
->setAction($this->getApplicationURI("/answer/comment/{$id}/"))
|
->setAction($this->getApplicationURI("/answer/comment/{$id}/"))
|
||||||
->setSubmitButtonName(pht('Comment'));
|
->setSubmitButtonName(pht('Comment'));
|
||||||
|
|
||||||
|
$comment_box = id(new PHUIObjectBoxView())
|
||||||
|
->setFlush(true)
|
||||||
|
->setHeaderText(pht('Answer Comment'))
|
||||||
|
->addContent($form);
|
||||||
|
|
||||||
|
$details[] = $comment_box;
|
||||||
|
|
||||||
$out[] = $this->wrapComments(
|
$out[] = $this->wrapComments(
|
||||||
count($xactions),
|
count($xactions),
|
||||||
$details);
|
$details);
|
||||||
|
|
|
@ -43,12 +43,8 @@ final class PonderAddAnswerView extends AphrontView {
|
||||||
pht('Add Answer') :
|
pht('Add Answer') :
|
||||||
pht('Bequeath Wisdom')));
|
pht('Bequeath Wisdom')));
|
||||||
|
|
||||||
return id(new AphrontNullView())
|
return id(new PHUIObjectBoxView())
|
||||||
->appendChild(
|
->setHeader($header)
|
||||||
array(
|
->addContent($form);
|
||||||
$header,
|
|
||||||
$form,
|
|
||||||
))
|
|
||||||
->render();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,12 +72,15 @@ final class PhabricatorProjectProfileController
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
->setName($project->getName()));
|
->setName($project->getName()));
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
$content,
|
$content,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
@ -173,15 +176,13 @@ final class PhabricatorProjectProfileController
|
||||||
$task_list->setTasks($tasks);
|
$task_list->setTasks($tasks);
|
||||||
$task_list->setHandles($handles);
|
$task_list->setHandles($handles);
|
||||||
|
|
||||||
$content = hsprintf(
|
$list = id(new PHUIBoxView())
|
||||||
'<div class="phabricator-profile-info-group profile-wrap-responsive">
|
->addPadding(PHUI::PADDING_LARGE)
|
||||||
<h1 class="phabricator-profile-info-header">%s</h1>'.
|
->appendChild($task_list);
|
||||||
'<div class="phabricator-profile-info-pane">'.
|
|
||||||
'%s'.
|
$content = id(new PHUIObjectBoxView())
|
||||||
'</div>
|
->setHeaderText(pht('Open Tasks'))
|
||||||
</div>',
|
->addContent($list);
|
||||||
pht('Open Tasks'),
|
|
||||||
$task_list);
|
|
||||||
|
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
|
@ -168,11 +168,11 @@ final class ReleephBranchViewController extends ReleephProjectController
|
||||||
pht('Branch'),
|
pht('Branch'),
|
||||||
$branch->getName());
|
$branch->getName());
|
||||||
|
|
||||||
return array(
|
return id(new PHUIObjectBoxView())
|
||||||
$header,
|
->setHeader($header)
|
||||||
$actions,
|
->addContent($actions)
|
||||||
$properties,
|
->addContent($properties);
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -236,11 +236,10 @@ final class ReleephProjectViewController extends ReleephProjectController
|
||||||
$this->renderHandlesForPHIDs($pushers));
|
$this->renderHandlesForPHIDs($pushers));
|
||||||
}
|
}
|
||||||
|
|
||||||
return array(
|
return id(new PHUIObjectBoxView())
|
||||||
$header,
|
->setHeader($header)
|
||||||
$actions,
|
->addContent($actions)
|
||||||
$properties,
|
->addContent($properties);
|
||||||
);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,9 +46,6 @@ final class PhabricatorSlowvotePollController
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setPolicyObject($poll);
|
->setPolicyObject($poll);
|
||||||
|
|
||||||
$xaction_header = id(new PHUIHeaderView())
|
|
||||||
->setHeader(pht('Ongoing Deliberations'));
|
|
||||||
|
|
||||||
$actions = $this->buildActionView($poll);
|
$actions = $this->buildActionView($poll);
|
||||||
$properties = $this->buildPropertyView($poll);
|
$properties = $this->buildPropertyView($poll);
|
||||||
|
|
||||||
|
@ -60,19 +57,21 @@ final class PhabricatorSlowvotePollController
|
||||||
$xactions = $this->buildTransactions($poll);
|
$xactions = $this->buildTransactions($poll);
|
||||||
$add_comment = $this->buildCommentForm($poll);
|
$add_comment = $this->buildCommentForm($poll);
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($header)
|
||||||
|
->addContent($actions)
|
||||||
|
->addContent($properties);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$object_box,
|
||||||
$actions,
|
|
||||||
$properties,
|
|
||||||
phutil_tag(
|
phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
'class' => 'ml',
|
'class' => 'mlt mml mmr',
|
||||||
),
|
),
|
||||||
$poll_view),
|
$poll_view),
|
||||||
$xaction_header,
|
|
||||||
$xactions,
|
$xactions,
|
||||||
$add_comment,
|
$add_comment,
|
||||||
),
|
),
|
||||||
|
@ -179,11 +178,11 @@ final class PhabricatorSlowvotePollController
|
||||||
->setAction($this->getApplicationURI('/comment/'.$poll->getID().'/'))
|
->setAction($this->getApplicationURI('/comment/'.$poll->getID().'/'))
|
||||||
->setSubmitButtonName($submit_button_name);
|
->setSubmitButtonName($submit_button_name);
|
||||||
|
|
||||||
return array(
|
return id(new PHUIObjectBoxView())
|
||||||
$add_comment_header,
|
->setFlush(true)
|
||||||
$add_comment_form,
|
->setHeader($add_comment_header)
|
||||||
);
|
->addContent($add_comment_form);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -148,7 +148,6 @@ class PhabricatorApplicationTransactionCommentView extends AphrontView {
|
||||||
->setUser($this->getUser())
|
->setUser($this->getUser())
|
||||||
->addSigil('transaction-append')
|
->addSigil('transaction-append')
|
||||||
->setWorkflow(true)
|
->setWorkflow(true)
|
||||||
->setShaded(true)
|
|
||||||
->setMetadata(
|
->setMetadata(
|
||||||
array(
|
array(
|
||||||
'objectPHID' => $this->getObjectPHID(),
|
'objectPHID' => $this->getObjectPHID(),
|
||||||
|
|
|
@ -524,7 +524,7 @@ final class CeleritySpriteGenerator {
|
||||||
'yellow-header' => 70,
|
'yellow-header' => 70,
|
||||||
'grey-header' => 70,
|
'grey-header' => 70,
|
||||||
'dark-grey-header' => 70,
|
'dark-grey-header' => 70,
|
||||||
'lightblue-header' => 70,
|
'lightblue-header' => 240,
|
||||||
);
|
);
|
||||||
|
|
||||||
$extra_css = array(
|
$extra_css = array(
|
||||||
|
|
|
@ -288,7 +288,7 @@ final class AphrontSideNavFilterView extends AphrontView {
|
||||||
phutil_tag(
|
phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
'class' => 'phabricator-nav-content',
|
'class' => 'phabricator-nav-content mlb',
|
||||||
'id' => $content_id,
|
'id' => $content_id,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -180,7 +180,6 @@ final class PhabricatorPropertyListView extends AphrontView {
|
||||||
$classes[] = 'phabricator-property-list-text-content';
|
$classes[] = 'phabricator-property-list-text-content';
|
||||||
if ($part['type'] == 'image') {
|
if ($part['type'] == 'image') {
|
||||||
$classes[] = 'phabricator-property-list-image-content';
|
$classes[] = 'phabricator-property-list-image-content';
|
||||||
$classes[] = 'phabricator-remarkup-dark';
|
|
||||||
}
|
}
|
||||||
return phutil_tag(
|
return phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
|
|
|
@ -195,6 +195,7 @@ final class PHUIHeaderView extends AphrontView {
|
||||||
$link = javelin_tag(
|
$link = javelin_tag(
|
||||||
'a',
|
'a',
|
||||||
array(
|
array(
|
||||||
|
'class' => 'policy-link',
|
||||||
'href' => '/policy/explain/'.$phid.'/'.$view_capability.'/',
|
'href' => '/policy/explain/'.$phid.'/'.$view_capability.'/',
|
||||||
'sigil' => 'workflow',
|
'sigil' => 'workflow',
|
||||||
),
|
),
|
||||||
|
|
|
@ -7,6 +7,8 @@ final class PHUIObjectBoxView extends AphrontView {
|
||||||
private $form;
|
private $form;
|
||||||
private $validationException;
|
private $validationException;
|
||||||
private $content = array();
|
private $content = array();
|
||||||
|
private $header;
|
||||||
|
private $flush;
|
||||||
|
|
||||||
public function setHeaderText($text) {
|
public function setHeaderText($text) {
|
||||||
$this->headerText = $text;
|
$this->headerText = $text;
|
||||||
|
@ -23,11 +25,21 @@ final class PHUIObjectBoxView extends AphrontView {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setHeader(PHUIHeaderView $header) {
|
||||||
|
$this->header = $header;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
public function addContent($content) {
|
public function addContent($content) {
|
||||||
$this->content[] = $content;
|
$this->content[] = $content;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setFlush($flush) {
|
||||||
|
$this->flush = $flush;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
public function setValidationException(
|
public function setValidationException(
|
||||||
PhabricatorApplicationTransactionValidationException $ex = null) {
|
PhabricatorApplicationTransactionValidationException $ex = null) {
|
||||||
$this->validationException = $ex;
|
$this->validationException = $ex;
|
||||||
|
@ -36,9 +48,16 @@ final class PHUIObjectBoxView extends AphrontView {
|
||||||
|
|
||||||
public function render() {
|
public function render() {
|
||||||
|
|
||||||
$header = id(new PhabricatorActionHeaderView())
|
require_celerity_resource('phui-object-box-css');
|
||||||
->setHeaderTitle($this->headerText)
|
|
||||||
->setHeaderColor(PhabricatorActionHeaderView::HEADER_LIGHTBLUE);
|
if ($this->header) {
|
||||||
|
$header = $this->header;
|
||||||
|
$header->setGradient(PhabricatorActionHeaderView::HEADER_LIGHTBLUE);
|
||||||
|
} else {
|
||||||
|
$header = id(new PHUIHeaderView())
|
||||||
|
->setHeader($this->headerText)
|
||||||
|
->setGradient(PhabricatorActionHeaderView::HEADER_LIGHTBLUE);
|
||||||
|
}
|
||||||
|
|
||||||
$ex = $this->validationException;
|
$ex = $this->validationException;
|
||||||
$exception_errors = null;
|
$exception_errors = null;
|
||||||
|
@ -68,7 +87,10 @@ final class PHUIObjectBoxView extends AphrontView {
|
||||||
->addMargin(PHUI::MARGIN_LARGE_RIGHT)
|
->addMargin(PHUI::MARGIN_LARGE_RIGHT)
|
||||||
->addClass('phui-object-box');
|
->addClass('phui-object-box');
|
||||||
|
|
||||||
return $content;
|
if ($this->flush) {
|
||||||
|
$content->addClass('phui-object-box-flush');
|
||||||
|
}
|
||||||
|
|
||||||
|
return $content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,9 +77,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.aphront-panel-preview {
|
.aphront-panel-preview {
|
||||||
background: #fbfbfb;
|
padding: 16px;
|
||||||
border-bottom: 1px solid {$greyborder};
|
|
||||||
padding: 15px 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.device-phone .aphront-panel-preview {
|
.device-phone .aphront-panel-preview {
|
||||||
|
@ -124,4 +122,3 @@
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: {$greytext};
|
color: {$greytext};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,21 +2,17 @@
|
||||||
* @provides differential-changeset-view-css
|
* @provides differential-changeset-view-css
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.differential-review-stage {
|
|
||||||
background: #FFFFFF;
|
|
||||||
padding: 0em 1.25em 0em 0em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.differential-changeset {
|
.differential-changeset {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 10px 0% 20px 2%;
|
padding: 16px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.differential-diff {
|
.differential-diff {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
border-top: 1px solid #cca;
|
||||||
|
border-bottom: 1px solid #cca;
|
||||||
}
|
}
|
||||||
|
|
||||||
.differential-diff td {
|
.differential-diff td {
|
||||||
|
@ -45,12 +41,10 @@
|
||||||
min-width: 45px;
|
min-width: 45px;
|
||||||
max-width: 4%;
|
max-width: 4%;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
background: #eeeeee;
|
background: {$lightbluebackground};
|
||||||
color: {$lightgreytext};
|
color: {$bluetext};
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-style: solid;
|
border-right: 1px solid {$thinblueborder};
|
||||||
border-width: 0px 1px;
|
|
||||||
border-color: #eeeeee #999999 #eeeeee #dddddd;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
@ -168,8 +162,9 @@ td.cov-X {
|
||||||
.differential-diff td.show-context,
|
.differential-diff td.show-context,
|
||||||
.differential-diff td.differential-shield {
|
.differential-diff td.differential-shield {
|
||||||
background: #ffffee;
|
background: #ffffee;
|
||||||
padding: 1em 0em;
|
padding: 12px 0;
|
||||||
border: 1px solid #ccccaa;
|
border-top: 1px solid #ccccaa;
|
||||||
|
border-bottom: 1px solid #ccccaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
.differential-diff td.show-more,
|
.differential-diff td.show-more,
|
||||||
|
@ -218,9 +213,8 @@ td.cov-X {
|
||||||
}
|
}
|
||||||
|
|
||||||
.differential-changeset h1 {
|
.differential-changeset h1 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
padding: 2px 0 12px 12px;
|
||||||
padding: 2px 0 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.differential-reticle {
|
.differential-reticle {
|
||||||
|
@ -296,6 +290,7 @@ td.cov-X {
|
||||||
|
|
||||||
.differential-changeset-buttons {
|
.differential-changeset-buttons {
|
||||||
float: right;
|
float: right;
|
||||||
|
margin-right: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.differential-changeset-buttons a.button {
|
.differential-changeset-buttons a.button {
|
||||||
|
|
|
@ -9,14 +9,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.differential-panel {
|
.differential-panel {
|
||||||
margin: -1px 0px 3.6em 0px;
|
padding: 16px;
|
||||||
padding: 15px 2%;
|
|
||||||
font-size: 13px;
|
|
||||||
background: #F6F6F6;
|
|
||||||
border-color: #c0c5d1;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px 0 1px 0;
|
|
||||||
box-shadow: 0 0 1px 1px rgba(192, 197, 209, 0.3);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.differential-panel h1 {
|
.differential-panel h1 {
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
* @provides pholio-css
|
* @provides pholio-css
|
||||||
*/
|
*/
|
||||||
.pholio-mock-image-container {
|
.pholio-mock-image-container {
|
||||||
|
margin-top: 16px;
|
||||||
background-color: #282828;
|
background-color: #282828;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
@ -193,5 +194,5 @@
|
||||||
.pholio-transaction-inline-comment div {
|
.pholio-transaction-inline-comment div {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding-bottom: 2px;
|
padding-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,11 +4,14 @@
|
||||||
|
|
||||||
.ponder-show-comments {
|
.ponder-show-comments {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 8px 0;
|
padding: 8px;
|
||||||
|
margin: 0 16px;
|
||||||
|
float: right;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: #f9f9f9;
|
background: #fff;
|
||||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
border-bottom: 1px solid {$blueborder};
|
||||||
border-bottom: 1px solid #b7b7b7;
|
border-left: 1px solid {$lightblueborder};
|
||||||
|
border-right: 1px solid {$lightblueborder};
|
||||||
}
|
}
|
||||||
|
|
||||||
.ponder-comments {
|
.ponder-comments {
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
margin-right: 1%;
|
|
||||||
width: 20%;
|
width: 20%;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.phabricator-property-list-view {
|
.phabricator-property-list-view {
|
||||||
background-color: {$lightgreybackground};
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phabricator-property-list-view .keyboard-shortcuts-available {
|
.phabricator-property-list-view .keyboard-shortcuts-available {
|
||||||
|
@ -19,18 +19,19 @@
|
||||||
url('/rsrc/image/icon/fatcow/key_question.png') right center no-repeat;
|
url('/rsrc/image/icon/fatcow/key_question.png') right center no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phabricator-property-list-container {
|
.phabricator-property-list-container +
|
||||||
|
.phabricator-property-list-section-header {
|
||||||
border-color: {$lightgreyborder};
|
border-color: {$lightgreyborder};
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 0 1px;
|
border-width: 1px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.device-desktop .phabricator-property-list-container {
|
.device-desktop .phabricator-property-list-container {
|
||||||
padding: 12px 0 4px 0;
|
padding: 12px 0 12px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.device .phabricator-property-list-container {
|
.device .phabricator-property-list-container {
|
||||||
padding: 12px 0 0 0;
|
padding: 12px 0 4px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phabricator-property-list-key {
|
.phabricator-property-list-key {
|
||||||
|
@ -76,26 +77,23 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.phabricator-property-list-section-header {
|
.phabricator-property-list-section-header {
|
||||||
color: #9CA5B5;
|
color: {$bluetext};
|
||||||
padding: 12px 16px 0px;
|
padding: 12px 16px 0px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.phabricator-property-list-section-header + .phabricator-property-list-text-content {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
|
||||||
.phabricator-property-list-text-content {
|
.phabricator-property-list-text-content {
|
||||||
padding: 12px 16px;
|
padding: 12px 16px;
|
||||||
background: {$lightgreybackground};
|
background: #fff;
|
||||||
border-bottom: 1px solid {$lightgreyborder};
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
border-top: 1px solid {$lightblueborder};
|
||||||
}
|
}
|
||||||
|
|
||||||
.phabricator-property-list-image-content {
|
|
||||||
background: #282828;
|
|
||||||
border-color: #101010;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* In the common case where we immediately follow a header, move back up 30px
|
/* In the common case where we immediately follow a header, move back up 30px
|
||||||
so we snuggle next to the header. */
|
so we snuggle next to the header. */
|
||||||
.device-desktop .phui-header-view
|
.device-desktop .phui-header-view
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.phabricator-timeline-view {
|
.phabricator-timeline-view {
|
||||||
background: #eeedf0;
|
padding: 0 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phabricator-timeline-group {
|
.phabricator-timeline-group {
|
||||||
|
@ -13,8 +13,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.device-desktop .phabricator-timeline-event-view {
|
.device-desktop .phabricator-timeline-event-view {
|
||||||
margin-left: 80px;
|
margin-left: 70px;
|
||||||
margin-right: 12px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -157,3 +157,7 @@
|
||||||
.device-desktop .phui-document-offset {
|
.device-desktop .phui-document-offset {
|
||||||
padding-right: 160px;
|
padding-right: 160px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.phui-document-view .phabricator-property-list-view {
|
||||||
|
border-bottom: 1px solid {$thinblueborder};
|
||||||
|
}
|
||||||
|
|
|
@ -426,20 +426,6 @@ table.aphront-form-control-checkbox-layout th {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phui-object-box .phabricator-action-header {
|
|
||||||
padding: 4px 5px 4px 12px;
|
|
||||||
border-bottom: 1px solid {$lightblueborder};
|
|
||||||
}
|
|
||||||
|
|
||||||
.phui-object-box .phabricator-action-header h3 {
|
|
||||||
color: {$bluetext};
|
|
||||||
text-shadow: 0 1px 2px #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.phui-object-box .aphront-error-view {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.phabricator-standard-custom-field-header {
|
.phabricator-standard-custom-field-header {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: {$bluetext};
|
color: {$bluetext};
|
||||||
|
|
|
@ -47,10 +47,6 @@ body.device-phone .phui-header-view {
|
||||||
padding: 12px 8px;
|
padding: 12px 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.device-desktop .phui-header-view {
|
|
||||||
width: 66%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.phui-header-tags {
|
.phui-header-tags {
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -87,7 +83,7 @@ body.device-phone .phui-header-view {
|
||||||
}
|
}
|
||||||
|
|
||||||
.phui-header-subheader .policy-link {
|
.phui-header-subheader .policy-link {
|
||||||
color: {$darkbluetext};
|
color: {$bluetext};
|
||||||
}
|
}
|
||||||
|
|
||||||
.phui-header-subheader .phui-header-status-dark {
|
.phui-header-subheader .phui-header-status-dark {
|
||||||
|
|
34
webroot/rsrc/css/phui/phui-object-box.css
Normal file
34
webroot/rsrc/css/phui/phui-object-box.css
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
/**
|
||||||
|
* @provides phui-object-box-css
|
||||||
|
*/
|
||||||
|
|
||||||
|
.phui-object-box.phui-object-box-flush {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phui-object-box .phui-header-shell {
|
||||||
|
padding: 4px 5px 4px 12px;
|
||||||
|
border-bottom: 1px solid {$lightblueborder};
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phui-object-box .phui-header-image {
|
||||||
|
margin: 5px 12px 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phui-object-box .phui-header-shell h1 {
|
||||||
|
color: {$bluetext};
|
||||||
|
text-shadow: 0 1px #fff;
|
||||||
|
padding: 8px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phui-object-box .aphront-error-view {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.device-desktop .phui-object-box
|
||||||
|
.phui-header-shell + .phabricator-action-list-view {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: -12px;
|
||||||
|
border-width: 0 0 0 1px;
|
||||||
|
}
|
|
@ -36,7 +36,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.gradient-lightblue-header {
|
.gradient-lightblue-header {
|
||||||
background-position: 0px -367px;
|
background-position: 0px -509px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gradient-menu-label, .phabricator-side-menu .phui-list-item-type-label {
|
.gradient-menu-label, .phabricator-side-menu .phui-list-item-type-label {
|
||||||
|
@ -44,9 +44,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.gradient-red-header {
|
.gradient-red-header {
|
||||||
background-position: 0px -438px;
|
background-position: 0px -367px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gradient-yellow-header {
|
.gradient-yellow-header {
|
||||||
background-position: 0px -509px;
|
background-position: 0px -438px;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 574 B |
Loading…
Reference in a new issue