mirror of
https://we.phorge.it/source/phorge.git
synced 2025-04-08 02:18:33 +02:00
Update Form Layouts
Summary: This attempts some consistency in form layouts. Notably, they all now contain headers and are 16px off the sides and tops of pages. Also updated dialogs to the same look and feel. I think I got 98% of forms with this pass, but it's likely I missed some buried somewhere. TODO: will take another pass as consolidating these colors and new gradients in another diff. Test Plan: Played in my sandbox all week. Please play with it too and let me know how they feel. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6806
This commit is contained in:
parent
320498d3d0
commit
fe2a96e37f
117 changed files with 633 additions and 589 deletions
BIN
resources/sprite/gradients/lightblue-header.png
Normal file
BIN
resources/sprite/gradients/lightblue-header.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 196 B |
|
@ -31,6 +31,11 @@
|
||||||
"rule" : ".gradient-grey-header",
|
"rule" : ".gradient-grey-header",
|
||||||
"hash" : "1c8f8d61984e3fc5a7e528b9bd4d484a"
|
"hash" : "1c8f8d61984e3fc5a7e528b9bd4d484a"
|
||||||
},
|
},
|
||||||
|
"gradient-lightblue-header" : {
|
||||||
|
"name" : "gradient-lightblue-header",
|
||||||
|
"rule" : ".gradient-lightblue-header",
|
||||||
|
"hash" : "b838d2eb15f9b620e82b4da240bf464a"
|
||||||
|
},
|
||||||
"gradient-menu-label" : {
|
"gradient-menu-label" : {
|
||||||
"name" : "gradient-menu-label",
|
"name" : "gradient-menu-label",
|
||||||
"rule" : ".gradient-menu-label, .phabricator-side-menu .phui-list-item-type-label",
|
"rule" : ".gradient-menu-label, .phabricator-side-menu .phui-list-item-type-label",
|
||||||
|
|
|
@ -70,7 +70,7 @@ $package_spec = array(
|
||||||
'phui-button-css',
|
'phui-button-css',
|
||||||
'phabricator-standard-page-view',
|
'phabricator-standard-page-view',
|
||||||
'aphront-dialog-view-css',
|
'aphront-dialog-view-css',
|
||||||
'aphront-form-view-css',
|
'phui-form-view-css',
|
||||||
'aphront-panel-view-css',
|
'aphront-panel-view-css',
|
||||||
'aphront-table-view-css',
|
'aphront-table-view-css',
|
||||||
'aphront-tokenizer-control-css',
|
'aphront-tokenizer-control-css',
|
||||||
|
@ -97,7 +97,6 @@ $package_spec = array(
|
||||||
'phabricator-notification-menu-css',
|
'phabricator-notification-menu-css',
|
||||||
'lightbox-attachment-css',
|
'lightbox-attachment-css',
|
||||||
'phabricator-header-view-css',
|
'phabricator-header-view-css',
|
||||||
'phabricator-form-view-css',
|
|
||||||
'phabricator-filetree-view-css',
|
'phabricator-filetree-view-css',
|
||||||
'phabricator-nav-view-css',
|
'phabricator-nav-view-css',
|
||||||
'phabricator-side-menu-view-css',
|
'phabricator-side-menu-view-css',
|
||||||
|
|
|
@ -632,8 +632,8 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'/rsrc/image/sprite-gradient.png' =>
|
'/rsrc/image/sprite-gradient.png' =>
|
||||||
array(
|
array(
|
||||||
'hash' => 'a49d2e493dba4bea85bb202af528106a',
|
'hash' => 'c6c42387e625948e683d9d8c62ea1b7f',
|
||||||
'uri' => '/res/a49d2e49/rsrc/image/sprite-gradient.png',
|
'uri' => '/res/c6c42387/rsrc/image/sprite-gradient.png',
|
||||||
'disk' => '/rsrc/image/sprite-gradient.png',
|
'disk' => '/rsrc/image/sprite-gradient.png',
|
||||||
'type' => 'png',
|
'type' => 'png',
|
||||||
),
|
),
|
||||||
|
@ -836,7 +836,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'aphront-dialog-view-css' =>
|
'aphront-dialog-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/29a054fd/rsrc/css/aphront/dialog-view.css',
|
'uri' => '/res/c7a7e179/rsrc/css/aphront/dialog-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -845,25 +845,16 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'aphront-error-view-css' =>
|
'aphront-error-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/e2bb50c4/rsrc/css/aphront/error-view.css',
|
'uri' => '/res/4ba306a0/rsrc/css/aphront/error-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
),
|
),
|
||||||
'disk' => '/rsrc/css/aphront/error-view.css',
|
'disk' => '/rsrc/css/aphront/error-view.css',
|
||||||
),
|
),
|
||||||
'aphront-form-view-css' =>
|
|
||||||
array(
|
|
||||||
'uri' => '/res/1be2545a/rsrc/css/aphront/form-view.css',
|
|
||||||
'type' => 'css',
|
|
||||||
'requires' =>
|
|
||||||
array(
|
|
||||||
),
|
|
||||||
'disk' => '/rsrc/css/aphront/form-view.css',
|
|
||||||
),
|
|
||||||
'aphront-list-filter-view-css' =>
|
'aphront-list-filter-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/a90a0c94/rsrc/css/aphront/list-filter-view.css',
|
'uri' => '/res/9fd0aae6/rsrc/css/aphront/list-filter-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -899,7 +890,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'aphront-panel-view-css' =>
|
'aphront-panel-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/f55024c3/rsrc/css/aphront/panel-view.css',
|
'uri' => '/res/e19deae5/rsrc/css/aphront/panel-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -990,7 +981,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'conpherence-message-pane-css' =>
|
'conpherence-message-pane-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/80cde760/rsrc/css/application/conpherence/message-pane.css',
|
'uri' => '/res/4f3bfae5/rsrc/css/application/conpherence/message-pane.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -2178,7 +2169,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'javelin-behavior-phabricator-transaction-list' =>
|
'javelin-behavior-phabricator-transaction-list' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/db441ac4/rsrc/js/application/transactions/behavior-transaction-list.js',
|
'uri' => '/res/f05b3c6b/rsrc/js/application/transactions/behavior-transaction-list.js',
|
||||||
'type' => 'js',
|
'type' => 'js',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3063,7 +3054,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phabricator-core-css' =>
|
'phabricator-core-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/bb4b77f3/rsrc/css/core/core.css',
|
'uri' => '/res/9e767fb1/rsrc/css/core/core.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3181,15 +3172,6 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'disk' => '/rsrc/css/application/flag/flag.css',
|
'disk' => '/rsrc/css/application/flag/flag.css',
|
||||||
),
|
),
|
||||||
'phabricator-form-view-css' =>
|
|
||||||
array(
|
|
||||||
'uri' => '/res/ba05f8ba/rsrc/css/layout/phabricator-form-view.css',
|
|
||||||
'type' => 'css',
|
|
||||||
'requires' =>
|
|
||||||
array(
|
|
||||||
),
|
|
||||||
'disk' => '/rsrc/css/layout/phabricator-form-view.css',
|
|
||||||
),
|
|
||||||
'phabricator-header-view-css' =>
|
'phabricator-header-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/da35cfa0/rsrc/css/layout/phabricator-header-view.css',
|
'uri' => '/res/da35cfa0/rsrc/css/layout/phabricator-header-view.css',
|
||||||
|
@ -3404,7 +3386,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phabricator-remarkup-css' =>
|
'phabricator-remarkup-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/8531b6a1/rsrc/css/core/remarkup.css',
|
'uri' => '/res/d0af3cab/rsrc/css/core/remarkup.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3443,7 +3425,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phabricator-side-menu-view-css' =>
|
'phabricator-side-menu-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/f43a8365/rsrc/css/layout/phabricator-side-menu-view.css',
|
'uri' => '/res/e83fbe58/rsrc/css/layout/phabricator-side-menu-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3766,7 +3748,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phui-box-css' =>
|
'phui-box-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/1b741073/rsrc/css/phui/phui-box.css',
|
'uri' => '/res/8244305c/rsrc/css/phui/phui-box.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3802,13 +3784,22 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phui-form-css' =>
|
'phui-form-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/c02b6db7/rsrc/css/phui/phui-form.css',
|
'uri' => '/res/8f33e95f/rsrc/css/phui/phui-form.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
),
|
),
|
||||||
'disk' => '/rsrc/css/phui/phui-form.css',
|
'disk' => '/rsrc/css/phui/phui-form.css',
|
||||||
),
|
),
|
||||||
|
'phui-form-view-css' =>
|
||||||
|
array(
|
||||||
|
'uri' => '/res/52025834/rsrc/css/phui/phui-form-view.css',
|
||||||
|
'type' => 'css',
|
||||||
|
'requires' =>
|
||||||
|
array(
|
||||||
|
),
|
||||||
|
'disk' => '/rsrc/css/phui/phui-form-view.css',
|
||||||
|
),
|
||||||
'phui-icon-view-css' =>
|
'phui-icon-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/f78f4c64/rsrc/css/phui/phui-icon.css',
|
'uri' => '/res/f78f4c64/rsrc/css/phui/phui-icon.css',
|
||||||
|
@ -3838,7 +3829,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phui-remarkup-preview-css' =>
|
'phui-remarkup-preview-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/4535e062/rsrc/css/phui/phui-remarkup-preview.css',
|
'uri' => '/res/3cba9fbc/rsrc/css/phui/phui-remarkup-preview.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -4081,7 +4072,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'sprite-gradient-css' =>
|
'sprite-gradient-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/af8d50a1/rsrc/css/sprite-gradient.css',
|
'uri' => '/res/08c64fb3/rsrc/css/sprite-gradient.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -4172,7 +4163,7 @@ celerity_register_resource_map(array(
|
||||||
), array(
|
), array(
|
||||||
'packages' =>
|
'packages' =>
|
||||||
array(
|
array(
|
||||||
'4a060444' =>
|
'4c072d06' =>
|
||||||
array(
|
array(
|
||||||
'name' => 'core.pkg.css',
|
'name' => 'core.pkg.css',
|
||||||
'symbols' =>
|
'symbols' =>
|
||||||
|
@ -4182,7 +4173,7 @@ celerity_register_resource_map(array(
|
||||||
2 => 'phui-button-css',
|
2 => 'phui-button-css',
|
||||||
3 => 'phabricator-standard-page-view',
|
3 => 'phabricator-standard-page-view',
|
||||||
4 => 'aphront-dialog-view-css',
|
4 => 'aphront-dialog-view-css',
|
||||||
5 => 'aphront-form-view-css',
|
5 => 'phui-form-view-css',
|
||||||
6 => 'aphront-panel-view-css',
|
6 => 'aphront-panel-view-css',
|
||||||
7 => 'aphront-table-view-css',
|
7 => 'aphront-table-view-css',
|
||||||
8 => 'aphront-tokenizer-control-css',
|
8 => 'aphront-tokenizer-control-css',
|
||||||
|
@ -4205,22 +4196,21 @@ celerity_register_resource_map(array(
|
||||||
25 => 'phabricator-notification-menu-css',
|
25 => 'phabricator-notification-menu-css',
|
||||||
26 => 'lightbox-attachment-css',
|
26 => 'lightbox-attachment-css',
|
||||||
27 => 'phabricator-header-view-css',
|
27 => 'phabricator-header-view-css',
|
||||||
28 => 'phabricator-form-view-css',
|
28 => 'phabricator-filetree-view-css',
|
||||||
29 => 'phabricator-filetree-view-css',
|
29 => 'phabricator-nav-view-css',
|
||||||
30 => 'phabricator-nav-view-css',
|
30 => 'phabricator-side-menu-view-css',
|
||||||
31 => 'phabricator-side-menu-view-css',
|
31 => 'phabricator-crumbs-view-css',
|
||||||
32 => 'phabricator-crumbs-view-css',
|
32 => 'phabricator-object-item-list-view-css',
|
||||||
33 => 'phabricator-object-item-list-view-css',
|
33 => 'global-drag-and-drop-css',
|
||||||
34 => 'global-drag-and-drop-css',
|
34 => 'phui-spacing-css',
|
||||||
35 => 'phui-spacing-css',
|
35 => 'phui-form-css',
|
||||||
36 => 'phui-form-css',
|
36 => 'phui-icon-view-css',
|
||||||
37 => 'phui-icon-view-css',
|
37 => 'phabricator-application-launch-view-css',
|
||||||
38 => 'phabricator-application-launch-view-css',
|
38 => 'phabricator-action-list-view-css',
|
||||||
39 => 'phabricator-action-list-view-css',
|
39 => 'phabricator-property-list-view-css',
|
||||||
40 => 'phabricator-property-list-view-css',
|
40 => 'phabricator-tag-view-css',
|
||||||
41 => 'phabricator-tag-view-css',
|
|
||||||
),
|
),
|
||||||
'uri' => '/res/pkg/4a060444/core.pkg.css',
|
'uri' => '/res/pkg/4c072d06/core.pkg.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
),
|
),
|
||||||
'4f81c788' =>
|
'4f81c788' =>
|
||||||
|
@ -4411,16 +4401,15 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'reverse' =>
|
'reverse' =>
|
||||||
array(
|
array(
|
||||||
'aphront-dialog-view-css' => '4a060444',
|
'aphront-dialog-view-css' => '4c072d06',
|
||||||
'aphront-error-view-css' => '4a060444',
|
'aphront-error-view-css' => '4c072d06',
|
||||||
'aphront-form-view-css' => '4a060444',
|
'aphront-list-filter-view-css' => '4c072d06',
|
||||||
'aphront-list-filter-view-css' => '4a060444',
|
'aphront-pager-view-css' => '4c072d06',
|
||||||
'aphront-pager-view-css' => '4a060444',
|
'aphront-panel-view-css' => '4c072d06',
|
||||||
'aphront-panel-view-css' => '4a060444',
|
'aphront-table-view-css' => '4c072d06',
|
||||||
'aphront-table-view-css' => '4a060444',
|
'aphront-tokenizer-control-css' => '4c072d06',
|
||||||
'aphront-tokenizer-control-css' => '4a060444',
|
'aphront-tooltip-css' => '4c072d06',
|
||||||
'aphront-tooltip-css' => '4a060444',
|
'aphront-typeahead-control-css' => '4c072d06',
|
||||||
'aphront-typeahead-control-css' => '4a060444',
|
|
||||||
'differential-changeset-view-css' => '09216861',
|
'differential-changeset-view-css' => '09216861',
|
||||||
'differential-core-view-css' => '09216861',
|
'differential-core-view-css' => '09216861',
|
||||||
'differential-inline-comment-editor' => 'd07a3bc2',
|
'differential-inline-comment-editor' => 'd07a3bc2',
|
||||||
|
@ -4434,7 +4423,7 @@ celerity_register_resource_map(array(
|
||||||
'differential-table-of-contents-css' => '09216861',
|
'differential-table-of-contents-css' => '09216861',
|
||||||
'diffusion-commit-view-css' => 'c8ce2d88',
|
'diffusion-commit-view-css' => 'c8ce2d88',
|
||||||
'diffusion-icons-css' => 'c8ce2d88',
|
'diffusion-icons-css' => 'c8ce2d88',
|
||||||
'global-drag-and-drop-css' => '4a060444',
|
'global-drag-and-drop-css' => '4c072d06',
|
||||||
'inline-comment-summary-css' => '09216861',
|
'inline-comment-summary-css' => '09216861',
|
||||||
'javelin-aphlict' => '4f81c788',
|
'javelin-aphlict' => '4f81c788',
|
||||||
'javelin-behavior' => '2dbbb7d1',
|
'javelin-behavior' => '2dbbb7d1',
|
||||||
|
@ -4507,55 +4496,55 @@ celerity_register_resource_map(array(
|
||||||
'javelin-util' => '2dbbb7d1',
|
'javelin-util' => '2dbbb7d1',
|
||||||
'javelin-vector' => '2dbbb7d1',
|
'javelin-vector' => '2dbbb7d1',
|
||||||
'javelin-workflow' => '2dbbb7d1',
|
'javelin-workflow' => '2dbbb7d1',
|
||||||
'lightbox-attachment-css' => '4a060444',
|
'lightbox-attachment-css' => '4c072d06',
|
||||||
'maniphest-task-summary-css' => '06bacb9a',
|
'maniphest-task-summary-css' => '06bacb9a',
|
||||||
'maniphest-transaction-detail-css' => '06bacb9a',
|
'maniphest-transaction-detail-css' => '06bacb9a',
|
||||||
'phabricator-action-list-view-css' => '4a060444',
|
'phabricator-action-list-view-css' => '4c072d06',
|
||||||
'phabricator-application-launch-view-css' => '4a060444',
|
'phabricator-application-launch-view-css' => '4c072d06',
|
||||||
'phabricator-busy' => '4f81c788',
|
'phabricator-busy' => '4f81c788',
|
||||||
'phabricator-content-source-view-css' => '09216861',
|
'phabricator-content-source-view-css' => '09216861',
|
||||||
'phabricator-core-css' => '4a060444',
|
'phabricator-core-css' => '4c072d06',
|
||||||
'phabricator-crumbs-view-css' => '4a060444',
|
'phabricator-crumbs-view-css' => '4c072d06',
|
||||||
'phabricator-drag-and-drop-file-upload' => 'd07a3bc2',
|
'phabricator-drag-and-drop-file-upload' => 'd07a3bc2',
|
||||||
'phabricator-dropdown-menu' => '4f81c788',
|
'phabricator-dropdown-menu' => '4f81c788',
|
||||||
'phabricator-file-upload' => '4f81c788',
|
'phabricator-file-upload' => '4f81c788',
|
||||||
'phabricator-filetree-view-css' => '4a060444',
|
'phabricator-filetree-view-css' => '4c072d06',
|
||||||
'phabricator-flag-css' => '4a060444',
|
'phabricator-flag-css' => '4c072d06',
|
||||||
'phabricator-form-view-css' => '4a060444',
|
'phabricator-header-view-css' => '4c072d06',
|
||||||
'phabricator-header-view-css' => '4a060444',
|
|
||||||
'phabricator-hovercard' => '4f81c788',
|
'phabricator-hovercard' => '4f81c788',
|
||||||
'phabricator-jump-nav' => '4a060444',
|
'phabricator-jump-nav' => '4c072d06',
|
||||||
'phabricator-keyboard-shortcut' => '4f81c788',
|
'phabricator-keyboard-shortcut' => '4f81c788',
|
||||||
'phabricator-keyboard-shortcut-manager' => '4f81c788',
|
'phabricator-keyboard-shortcut-manager' => '4f81c788',
|
||||||
'phabricator-main-menu-view' => '4a060444',
|
'phabricator-main-menu-view' => '4c072d06',
|
||||||
'phabricator-menu-item' => '4f81c788',
|
'phabricator-menu-item' => '4f81c788',
|
||||||
'phabricator-nav-view-css' => '4a060444',
|
'phabricator-nav-view-css' => '4c072d06',
|
||||||
'phabricator-notification' => '4f81c788',
|
'phabricator-notification' => '4f81c788',
|
||||||
'phabricator-notification-css' => '4a060444',
|
'phabricator-notification-css' => '4c072d06',
|
||||||
'phabricator-notification-menu-css' => '4a060444',
|
'phabricator-notification-menu-css' => '4c072d06',
|
||||||
'phabricator-object-item-list-view-css' => '4a060444',
|
'phabricator-object-item-list-view-css' => '4c072d06',
|
||||||
'phabricator-object-selector-css' => '09216861',
|
'phabricator-object-selector-css' => '09216861',
|
||||||
'phabricator-phtize' => '4f81c788',
|
'phabricator-phtize' => '4f81c788',
|
||||||
'phabricator-prefab' => '4f81c788',
|
'phabricator-prefab' => '4f81c788',
|
||||||
'phabricator-project-tag-css' => '06bacb9a',
|
'phabricator-project-tag-css' => '06bacb9a',
|
||||||
'phabricator-property-list-view-css' => '4a060444',
|
'phabricator-property-list-view-css' => '4c072d06',
|
||||||
'phabricator-remarkup-css' => '4a060444',
|
'phabricator-remarkup-css' => '4c072d06',
|
||||||
'phabricator-shaped-request' => 'd07a3bc2',
|
'phabricator-shaped-request' => 'd07a3bc2',
|
||||||
'phabricator-side-menu-view-css' => '4a060444',
|
'phabricator-side-menu-view-css' => '4c072d06',
|
||||||
'phabricator-standard-page-view' => '4a060444',
|
'phabricator-standard-page-view' => '4c072d06',
|
||||||
'phabricator-tag-view-css' => '4a060444',
|
'phabricator-tag-view-css' => '4c072d06',
|
||||||
'phabricator-textareautils' => '4f81c788',
|
'phabricator-textareautils' => '4f81c788',
|
||||||
'phabricator-tooltip' => '4f81c788',
|
'phabricator-tooltip' => '4f81c788',
|
||||||
'phabricator-transaction-view-css' => '4a060444',
|
'phabricator-transaction-view-css' => '4c072d06',
|
||||||
'phabricator-zindex-css' => '4a060444',
|
'phabricator-zindex-css' => '4c072d06',
|
||||||
'phui-button-css' => '4a060444',
|
'phui-button-css' => '4c072d06',
|
||||||
'phui-form-css' => '4a060444',
|
'phui-form-css' => '4c072d06',
|
||||||
'phui-icon-view-css' => '4a060444',
|
'phui-form-view-css' => '4c072d06',
|
||||||
'phui-spacing-css' => '4a060444',
|
'phui-icon-view-css' => '4c072d06',
|
||||||
'sprite-apps-large-css' => '4a060444',
|
'phui-spacing-css' => '4c072d06',
|
||||||
'sprite-gradient-css' => '4a060444',
|
'sprite-apps-large-css' => '4c072d06',
|
||||||
'sprite-icons-css' => '4a060444',
|
'sprite-gradient-css' => '4c072d06',
|
||||||
'sprite-menu-css' => '4a060444',
|
'sprite-icons-css' => '4c072d06',
|
||||||
'syntax-highlighting-css' => '4a060444',
|
'sprite-menu-css' => '4c072d06',
|
||||||
|
'syntax-highlighting-css' => '4c072d06',
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
@ -38,7 +38,6 @@ phutil_register_library_map(array(
|
||||||
'AphrontFormFileControl' => 'view/form/control/AphrontFormFileControl.php',
|
'AphrontFormFileControl' => 'view/form/control/AphrontFormFileControl.php',
|
||||||
'AphrontFormImageControl' => 'view/form/control/AphrontFormImageControl.php',
|
'AphrontFormImageControl' => 'view/form/control/AphrontFormImageControl.php',
|
||||||
'AphrontFormInsetView' => 'view/form/AphrontFormInsetView.php',
|
'AphrontFormInsetView' => 'view/form/AphrontFormInsetView.php',
|
||||||
'AphrontFormLayoutView' => 'view/form/AphrontFormLayoutView.php',
|
|
||||||
'AphrontFormMarkupControl' => 'view/form/control/AphrontFormMarkupControl.php',
|
'AphrontFormMarkupControl' => 'view/form/control/AphrontFormMarkupControl.php',
|
||||||
'AphrontFormPasswordControl' => 'view/form/control/AphrontFormPasswordControl.php',
|
'AphrontFormPasswordControl' => 'view/form/control/AphrontFormPasswordControl.php',
|
||||||
'AphrontFormPolicyControl' => 'view/form/control/AphrontFormPolicyControl.php',
|
'AphrontFormPolicyControl' => 'view/form/control/AphrontFormPolicyControl.php',
|
||||||
|
@ -737,8 +736,10 @@ phutil_register_library_map(array(
|
||||||
'PHUIDocumentView' => 'view/phui/PHUIDocumentView.php',
|
'PHUIDocumentView' => 'view/phui/PHUIDocumentView.php',
|
||||||
'PHUIFeedStoryExample' => 'applications/uiexample/examples/PHUIFeedStoryExample.php',
|
'PHUIFeedStoryExample' => 'applications/uiexample/examples/PHUIFeedStoryExample.php',
|
||||||
'PHUIFeedStoryView' => 'view/phui/PHUIFeedStoryView.php',
|
'PHUIFeedStoryView' => 'view/phui/PHUIFeedStoryView.php',
|
||||||
|
'PHUIFormBoxView' => 'view/form/PHUIFormBoxView.php',
|
||||||
'PHUIFormDividerControl' => 'view/form/control/PHUIFormDividerControl.php',
|
'PHUIFormDividerControl' => 'view/form/control/PHUIFormDividerControl.php',
|
||||||
'PHUIFormFreeformDateControl' => 'view/form/control/PHUIFormFreeformDateControl.php',
|
'PHUIFormFreeformDateControl' => 'view/form/control/PHUIFormFreeformDateControl.php',
|
||||||
|
'PHUIFormLayoutView' => 'view/form/PHUIFormLayoutView.php',
|
||||||
'PHUIFormMultiSubmitControl' => 'view/form/control/PHUIFormMultiSubmitControl.php',
|
'PHUIFormMultiSubmitControl' => 'view/form/control/PHUIFormMultiSubmitControl.php',
|
||||||
'PHUIFormPageView' => 'view/form/PHUIFormPageView.php',
|
'PHUIFormPageView' => 'view/form/PHUIFormPageView.php',
|
||||||
'PHUIIconExample' => 'applications/uiexample/examples/PHUIIconExample.php',
|
'PHUIIconExample' => 'applications/uiexample/examples/PHUIIconExample.php',
|
||||||
|
@ -2069,7 +2070,6 @@ phutil_register_library_map(array(
|
||||||
'AphrontFormFileControl' => 'AphrontFormControl',
|
'AphrontFormFileControl' => 'AphrontFormControl',
|
||||||
'AphrontFormImageControl' => 'AphrontFormControl',
|
'AphrontFormImageControl' => 'AphrontFormControl',
|
||||||
'AphrontFormInsetView' => 'AphrontView',
|
'AphrontFormInsetView' => 'AphrontView',
|
||||||
'AphrontFormLayoutView' => 'AphrontView',
|
|
||||||
'AphrontFormMarkupControl' => 'AphrontFormControl',
|
'AphrontFormMarkupControl' => 'AphrontFormControl',
|
||||||
'AphrontFormPasswordControl' => 'AphrontFormControl',
|
'AphrontFormPasswordControl' => 'AphrontFormControl',
|
||||||
'AphrontFormPolicyControl' => 'AphrontFormControl',
|
'AphrontFormPolicyControl' => 'AphrontFormControl',
|
||||||
|
@ -2774,8 +2774,10 @@ phutil_register_library_map(array(
|
||||||
'PHUIDocumentView' => 'AphrontTagView',
|
'PHUIDocumentView' => 'AphrontTagView',
|
||||||
'PHUIFeedStoryExample' => 'PhabricatorUIExample',
|
'PHUIFeedStoryExample' => 'PhabricatorUIExample',
|
||||||
'PHUIFeedStoryView' => 'AphrontView',
|
'PHUIFeedStoryView' => 'AphrontView',
|
||||||
|
'PHUIFormBoxView' => 'AphrontView',
|
||||||
'PHUIFormDividerControl' => 'AphrontFormControl',
|
'PHUIFormDividerControl' => 'AphrontFormControl',
|
||||||
'PHUIFormFreeformDateControl' => 'AphrontFormControl',
|
'PHUIFormFreeformDateControl' => 'AphrontFormControl',
|
||||||
|
'PHUIFormLayoutView' => 'AphrontView',
|
||||||
'PHUIFormMultiSubmitControl' => 'AphrontFormControl',
|
'PHUIFormMultiSubmitControl' => 'AphrontFormControl',
|
||||||
'PHUIFormPageView' => 'AphrontView',
|
'PHUIFormPageView' => 'AphrontView',
|
||||||
'PHUIIconExample' => 'PhabricatorUIExample',
|
'PHUIIconExample' => 'PhabricatorUIExample',
|
||||||
|
|
|
@ -87,7 +87,6 @@ final class PhabricatorAuditListController extends PhabricatorAuditController {
|
||||||
|
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form->setUser($user);
|
$form->setUser($user);
|
||||||
$form->setNoShading(true);
|
|
||||||
|
|
||||||
$show_status = false;
|
$show_status = false;
|
||||||
$show_user = false;
|
$show_user = false;
|
||||||
|
|
|
@ -49,7 +49,7 @@ final class PhabricatorAuthConfirmLinkController
|
||||||
->addCancelButton($panel_uri)
|
->addCancelButton($panel_uri)
|
||||||
->addSubmitButton(pht('Confirm Account Link'));
|
->addSubmitButton(pht('Confirm Account Link'));
|
||||||
|
|
||||||
$form = id(new AphrontFormLayoutView())
|
$form = id(new PHUIFormLayoutView())
|
||||||
->setFullWidth(true)
|
->setFullWidth(true)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
phutil_tag(
|
phutil_tag(
|
||||||
|
|
|
@ -116,7 +116,7 @@ EOBODY;
|
||||||
$error_view->setErrors($errors);
|
$error_view->setErrors($errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
$email_auth = new AphrontFormLayoutView();
|
$email_auth = new PHUIFormLayoutView();
|
||||||
$email_auth->appendChild($error_view);
|
$email_auth->appendChild($error_view);
|
||||||
$email_auth
|
$email_auth
|
||||||
->setUser($request->getUser())
|
->setUser($request->getUser())
|
||||||
|
|
|
@ -24,8 +24,6 @@ final class PhabricatorEmailVerificationController
|
||||||
$user->getPHID(),
|
$user->getPHID(),
|
||||||
$this->code);
|
$this->code);
|
||||||
|
|
||||||
$color = PhabricatorActionHeaderView::HEADER_DARK_GREY;
|
|
||||||
|
|
||||||
if (!$email) {
|
if (!$email) {
|
||||||
$title = pht('Unable to Verify Email');
|
$title = pht('Unable to Verify Email');
|
||||||
$content = pht(
|
$content = pht(
|
||||||
|
@ -33,7 +31,6 @@ final class PhabricatorEmailVerificationController
|
||||||
'address has been removed, or the email address is owned by another '.
|
'address has been removed, or the email address is owned by another '.
|
||||||
'user. Make sure you followed the link in the email correctly and are '.
|
'user. Make sure you followed the link in the email correctly and are '.
|
||||||
'logged in with the user account associated with the email address.');
|
'logged in with the user account associated with the email address.');
|
||||||
$color = PhabricatorActionHeaderView::HEADER_RED;
|
|
||||||
$continue = pht('Rats!');
|
$continue = pht('Rats!');
|
||||||
} else if ($email->getIsVerified()) {
|
} else if ($email->getIsVerified()) {
|
||||||
$title = pht('Address Already Verified');
|
$title = pht('Address Already Verified');
|
||||||
|
@ -56,7 +53,6 @@ final class PhabricatorEmailVerificationController
|
||||||
$dialog = id(new AphrontDialogView())
|
$dialog = id(new AphrontDialogView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setTitle($title)
|
->setTitle($title)
|
||||||
->setHeaderColor($color)
|
|
||||||
->setMethod('GET')
|
->setMethod('GET')
|
||||||
->addCancelButton('/', $continue)
|
->addCancelButton('/', $continue)
|
||||||
->appendChild($content);
|
->appendChild($content);
|
||||||
|
|
|
@ -202,7 +202,6 @@ final class PhabricatorAuthEditController
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($viewer)
|
->setUser($viewer)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormStaticControl())
|
id(new AphrontFormStaticControl())
|
||||||
->setLabel(pht('Provider'))
|
->setLabel(pht('Provider'))
|
||||||
|
@ -270,11 +269,15 @@ final class PhabricatorAuthEditController
|
||||||
->setTransactions($xactions);
|
->setTransactions($xactions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($errors)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$errors,
|
$form_box,
|
||||||
$form,
|
|
||||||
$xaction_view,
|
$xaction_view,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -81,6 +81,10 @@ final class PhabricatorAuthNewController
|
||||||
->addCancelButton($this->getApplicationURI())
|
->addCancelButton($this->getApplicationURI())
|
||||||
->setValue(pht('Continue')));
|
->setValue(pht('Continue')));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Add Authentication Provider'))
|
||||||
|
->setFormError($errors)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
|
@ -90,8 +94,7 @@ final class PhabricatorAuthNewController
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$errors,
|
$form_box,
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => pht('Add Authentication Provider'),
|
'title' => pht('Add Authentication Provider'),
|
||||||
|
|
|
@ -104,7 +104,7 @@ final class PhabricatorAuthProviderLDAP
|
||||||
$errors[] = pht('Username or password are incorrect.');
|
$errors[] = pht('Username or password are incorrect.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$form = id(new AphrontFormLayoutView())
|
$form = id(new PHUIFormLayoutView())
|
||||||
->setUser($viewer)
|
->setUser($viewer)
|
||||||
->setFullWidth(true)
|
->setFullWidth(true)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
|
|
@ -115,7 +115,7 @@ final class PhabricatorAuthProviderPassword
|
||||||
$errors = id(new AphrontErrorView())->setErrors($errors);
|
$errors = id(new AphrontErrorView())->setErrors($errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
$form = id(new AphrontFormLayoutView())
|
$form = id(new PHUIFormLayoutView())
|
||||||
->setFullWidth(true)
|
->setFullWidth(true)
|
||||||
->appendChild($errors)
|
->appendChild($errors)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
|
|
@ -126,14 +126,13 @@ final class PhabricatorCalendarEditStatusController
|
||||||
$dialog->setSubmitURI(
|
$dialog->setSubmitURI(
|
||||||
$this->getApplicationURI('status/edit/'.$status->getID().'/'));
|
$this->getApplicationURI('status/edit/'.$status->getID().'/'));
|
||||||
}
|
}
|
||||||
$form = new AphrontFormLayoutView();
|
$form = new PHUIFormLayoutView();
|
||||||
if ($error_view) {
|
if ($error_view) {
|
||||||
$form->appendChild($error_view);
|
$form->appendChild($error_view);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user);
|
||||||
->setFlexible(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$form
|
$form
|
||||||
|
@ -164,14 +163,17 @@ final class PhabricatorCalendarEditStatusController
|
||||||
}
|
}
|
||||||
$form->appendChild($submit);
|
$form->appendChild($submit);
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($page_title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$nav = $this->buildSideNavView($status);
|
$nav = $this->buildSideNavView($status);
|
||||||
$nav->selectFilter($filter);
|
$nav->selectFilter($filter);
|
||||||
|
|
||||||
$nav->appendChild(
|
$nav->appendChild(
|
||||||
array(
|
array(
|
||||||
id(new PhabricatorHeaderView())->setHeader($page_title),
|
$form_box,
|
||||||
$error_view,
|
|
||||||
$form,
|
|
||||||
));
|
));
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
|
|
|
@ -150,7 +150,6 @@ final class PhabricatorChatLogChannelLogController
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setMethod('GET')
|
->setMethod('GET')
|
||||||
->setAction($uri)
|
->setAction($uri)
|
||||||
->setNoShading(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setLabel(pht('Date'))
|
->setLabel(pht('Date'))
|
||||||
|
|
|
@ -69,7 +69,6 @@ final class PhabricatorConduitConsoleController
|
||||||
->setUser($request->getUser())
|
->setUser($request->getUser())
|
||||||
->setAction('/api/'.$this->method)
|
->setAction('/api/'.$this->method)
|
||||||
->addHiddenInput('allowEmptyParams', 1)
|
->addHiddenInput('allowEmptyParams', 1)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormStaticControl())
|
id(new AphrontFormStaticControl())
|
||||||
->setLabel('Description')
|
->setLabel('Description')
|
||||||
|
|
|
@ -98,7 +98,6 @@ final class PhabricatorConfigEditController
|
||||||
}
|
}
|
||||||
|
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form->setFlexible(true);
|
|
||||||
|
|
||||||
$error_view = null;
|
$error_view = null;
|
||||||
if ($errors) {
|
if ($errors) {
|
||||||
|
@ -194,6 +193,11 @@ final class PhabricatorConfigEditController
|
||||||
$title = pht('Edit %s', $this->key);
|
$title = pht('Edit %s', $this->key);
|
||||||
$short = pht('Edit');
|
$short = pht('Edit');
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
|
@ -212,7 +216,6 @@ final class PhabricatorConfigEditController
|
||||||
->setName($this->key)
|
->setName($this->key)
|
||||||
->setHref('/config/edit/'.$this->key));
|
->setHref('/config/edit/'.$this->key));
|
||||||
|
|
||||||
|
|
||||||
$xactions = id(new PhabricatorConfigTransactionQuery())
|
$xactions = id(new PhabricatorConfigTransactionQuery())
|
||||||
->withObjectPHIDs(array($config_entry->getPHID()))
|
->withObjectPHIDs(array($config_entry->getPHID()))
|
||||||
->setViewer($user)
|
->setViewer($user)
|
||||||
|
@ -226,9 +229,7 @@ final class PhabricatorConfigEditController
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
id(new PhabricatorHeaderView())->setHeader($title),
|
$form_box,
|
||||||
$error_view,
|
|
||||||
$form,
|
|
||||||
$xaction_view,
|
$xaction_view,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -74,7 +74,7 @@ final class ConpherenceNewController extends ConpherenceController {
|
||||||
->addCancelButton($cancel_uri)
|
->addCancelButton($cancel_uri)
|
||||||
->addSubmitButton(pht('Send Message'));
|
->addSubmitButton(pht('Send Message'));
|
||||||
|
|
||||||
$form = id(new AphrontFormLayoutView())
|
$form = id(new PHUIFormLayoutView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFullWidth(true)
|
->setFullWidth(true)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
|
|
@ -181,7 +181,7 @@ final class ConpherenceUpdateController
|
||||||
$user = $request->getUser();
|
$user = $request->getUser();
|
||||||
$add_person = $request->getStr('add_person');
|
$add_person = $request->getStr('add_person');
|
||||||
|
|
||||||
$form = id(new AphrontFormLayoutView())
|
$form = id(new PHUIFormLayoutView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFullWidth(true)
|
->setFullWidth(true)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
@ -222,7 +222,6 @@ final class ConpherenceUpdateController
|
||||||
require_celerity_resource('conpherence-update-css');
|
require_celerity_resource('conpherence-update-css');
|
||||||
return id(new AphrontDialogView())
|
return id(new AphrontDialogView())
|
||||||
->setTitle(pht('Remove Participants'))
|
->setTitle(pht('Remove Participants'))
|
||||||
->setHeaderColor(PhabricatorActionHeaderView::HEADER_RED)
|
|
||||||
->addHiddenInput('action', 'remove_person')
|
->addHiddenInput('action', 'remove_person')
|
||||||
->addHiddenInput('__continue__', true)
|
->addHiddenInput('__continue__', true)
|
||||||
->addHiddenInput('remove_person', $remove_person)
|
->addHiddenInput('remove_person', $remove_person)
|
||||||
|
@ -233,7 +232,7 @@ final class ConpherenceUpdateController
|
||||||
ConpherenceThread $conpherence,
|
ConpherenceThread $conpherence,
|
||||||
$error_view) {
|
$error_view) {
|
||||||
|
|
||||||
$form = id(new AphrontFormLayoutView())
|
$form = id(new PHUIFormLayoutView())
|
||||||
->appendChild($error_view)
|
->appendChild($error_view)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
|
|
|
@ -137,7 +137,6 @@ final class ConpherenceViewController extends
|
||||||
$form =
|
$form =
|
||||||
id(new AphrontFormView())
|
id(new AphrontFormView())
|
||||||
->setAction($update_uri)
|
->setAction($update_uri)
|
||||||
->setFlexible(true)
|
|
||||||
->addSigil('conpherence-pontificate')
|
->addSigil('conpherence-pontificate')
|
||||||
->setWorkflow(true)
|
->setWorkflow(true)
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
|
|
|
@ -17,6 +17,7 @@ final class PhabricatorCountdownEditController
|
||||||
$user = $request->getUser();
|
$user = $request->getUser();
|
||||||
|
|
||||||
if ($this->id) {
|
if ($this->id) {
|
||||||
|
$page_title = pht('Edit Countdown');
|
||||||
$countdown = id(new PhabricatorCountdownQuery())
|
$countdown = id(new PhabricatorCountdownQuery())
|
||||||
->setViewer($user)
|
->setViewer($user)
|
||||||
->withIDs(array($this->id))
|
->withIDs(array($this->id))
|
||||||
|
@ -32,6 +33,7 @@ final class PhabricatorCountdownEditController
|
||||||
return new Aphront404Response();
|
return new Aphront404Response();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
$page_title = pht('Create Countdown');
|
||||||
$countdown = new PhabricatorCountdown();
|
$countdown = new PhabricatorCountdown();
|
||||||
$countdown->setEpoch(time());
|
$countdown->setEpoch(time());
|
||||||
}
|
}
|
||||||
|
@ -108,7 +110,6 @@ final class PhabricatorCountdownEditController
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setAction($request->getRequestURI()->getPath())
|
->setAction($request->getRequestURI()->getPath())
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setLabel(pht('Title'))
|
->setLabel(pht('Title'))
|
||||||
|
@ -127,15 +128,18 @@ final class PhabricatorCountdownEditController
|
||||||
->addCancelButton($cancel_uri)
|
->addCancelButton($cancel_uri)
|
||||||
->setValue($submit_label));
|
->setValue($submit_label));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($page_title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => pht('Edit Countdown'),
|
'title' => $page_title,
|
||||||
'device' => true,
|
'device' => true,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,6 @@ final class DifferentialDiffCreateController extends DifferentialController {
|
||||||
}
|
}
|
||||||
|
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form->setFlexible(true);
|
|
||||||
$arcanist_href = PhabricatorEnv::getDoclink(
|
$arcanist_href = PhabricatorEnv::getDoclink(
|
||||||
'article/Arcanist_User_Guide.html');
|
'article/Arcanist_User_Guide.html');
|
||||||
$arcanist_link = phutil_tag(
|
$arcanist_link = phutil_tag(
|
||||||
|
@ -83,6 +82,11 @@ final class DifferentialDiffCreateController extends DifferentialController {
|
||||||
->addCancelButton($cancel_uri)
|
->addCancelButton($cancel_uri)
|
||||||
->setValue(pht("Create Diff")));
|
->setValue(pht("Create Diff")));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Create New Diff'))
|
||||||
|
->setFormError($errors)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
|
@ -96,8 +100,7 @@ final class DifferentialDiffCreateController extends DifferentialController {
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$errors,
|
$form_box,
|
||||||
$form
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => pht('Create Diff'),
|
'title' => pht('Create Diff'),
|
||||||
|
|
|
@ -72,7 +72,6 @@ final class DifferentialDiffViewController extends DifferentialController {
|
||||||
->setAction('/differential/revision/edit/')
|
->setAction('/differential/revision/edit/')
|
||||||
->addHiddenInput('diffID', $diff->getID())
|
->addHiddenInput('diffID', $diff->getID())
|
||||||
->addHiddenInput('viaDiffView', 1)
|
->addHiddenInput('viaDiffView', 1)
|
||||||
->setFlexible(true)
|
|
||||||
->appendRemarkupInstructions(
|
->appendRemarkupInstructions(
|
||||||
pht(
|
pht(
|
||||||
'Review the diff for correctness. When you are satisfied, either '.
|
'Review the diff for correctness. When you are satisfied, either '.
|
||||||
|
|
|
@ -114,7 +114,6 @@ final class DifferentialRevisionEditController extends DifferentialController {
|
||||||
|
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form->setUser($request->getUser());
|
$form->setUser($request->getUser());
|
||||||
$form->setFlexible(true);
|
|
||||||
if ($diff) {
|
if ($diff) {
|
||||||
$form->addHiddenInput('diffID', $diff->getID());
|
$form->addHiddenInput('diffID', $diff->getID());
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,8 +70,8 @@ final class DifferentialAddCommentView extends AphrontView {
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form
|
$form
|
||||||
->setWorkflow(true)
|
->setWorkflow(true)
|
||||||
->setFlexible(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(
|
||||||
|
|
|
@ -132,8 +132,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
||||||
$drequest = $this->getDiffusionRequest();
|
$drequest = $this->getDiffusionRequest();
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($this->getRequest()->getUser())
|
->setUser($this->getRequest()->getUser())
|
||||||
->setMethod('GET')
|
->setMethod('GET');
|
||||||
->setNoShading(true);
|
|
||||||
|
|
||||||
switch ($drequest->getRepository()->getVersionControlSystem()) {
|
switch ($drequest->getRepository()->getVersionControlSystem()) {
|
||||||
case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN:
|
case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN:
|
||||||
|
|
|
@ -55,7 +55,6 @@ final class DiffusionCommitEditController extends DiffusionController {
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setAction($request->getRequestURI()->getPath())
|
->setAction($request->getRequestURI()->getPath())
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTokenizerControl())
|
id(new AphrontFormTokenizerControl())
|
||||||
->setLabel(pht('Projects'))
|
->setLabel(pht('Projects'))
|
||||||
|
|
|
@ -83,7 +83,6 @@ final class DiffusionRepositoryEditBasicController extends DiffusionController {
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setName('name')
|
->setName('name')
|
||||||
|
|
|
@ -74,7 +74,6 @@ final class DiffusionRepositoryEditEncodingController
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendRemarkupInstructions($this->getEncodingInstructions())
|
->appendRemarkupInstructions($this->getEncodingInstructions())
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
|
|
|
@ -76,17 +76,15 @@ final class PhabricatorFileUploadController extends PhabricatorFileController {
|
||||||
$global_upload = id(new PhabricatorGlobalUploadTargetView())
|
$global_upload = id(new PhabricatorGlobalUploadTargetView())
|
||||||
->setShowIfSupportedID($support_id);
|
->setShowIfSupportedID($support_id);
|
||||||
|
|
||||||
$panel = new AphrontPanelView();
|
$form_box = id(new PHUIFormBoxView())
|
||||||
$panel->setHeader(pht('New File Upload'));
|
->setHeaderText($title)
|
||||||
$panel->setNoBackground();
|
->setFormError($errors)
|
||||||
$panel->appendChild($form);
|
->setForm($form);
|
||||||
$panel->setWidth(AphrontPanelView::WIDTH_FORM);
|
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$errors,
|
$form_box,
|
||||||
$panel,
|
|
||||||
$global_upload,
|
$global_upload,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -46,7 +46,7 @@ final class PhabricatorFlagEditController extends PhabricatorFlagController {
|
||||||
|
|
||||||
require_celerity_resource('phabricator-flag-css');
|
require_celerity_resource('phabricator-flag-css');
|
||||||
|
|
||||||
$form = new AphrontFormLayoutView();
|
$form = new PHUIFormLayoutView();
|
||||||
|
|
||||||
$is_new = !$flag->getID();
|
$is_new = !$flag->getID();
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,6 @@ final class HeraldDeleteController extends HeraldController {
|
||||||
$dialog = new AphrontDialogView();
|
$dialog = new AphrontDialogView();
|
||||||
$dialog->setUser($request->getUser());
|
$dialog->setUser($request->getUser());
|
||||||
$dialog->setTitle(pht('Really delete this rule?'));
|
$dialog->setTitle(pht('Really delete this rule?'));
|
||||||
$dialog->setHeaderColor(PhabricatorActionHeaderView::HEADER_RED);
|
|
||||||
$dialog->appendChild(pht(
|
$dialog->appendChild(pht(
|
||||||
"Are you sure you want to delete the rule: %s?",
|
"Are you sure you want to delete the rule: %s?",
|
||||||
$rule->getName()));
|
$rule->getName()));
|
||||||
|
|
|
@ -57,7 +57,6 @@ final class HeraldNewController extends HeraldController {
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setAction('/herald/edit/')
|
->setAction('/herald/edit/')
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormSelectControl())
|
id(new AphrontFormSelectControl())
|
||||||
->setLabel(pht('New Rule for'))
|
->setLabel(pht('New Rule for'))
|
||||||
|
@ -70,6 +69,10 @@ final class HeraldNewController extends HeraldController {
|
||||||
->setValue(pht('Create Rule'))
|
->setValue(pht('Create Rule'))
|
||||||
->addCancelButton($this->getApplicationURI()));
|
->addCancelButton($this->getApplicationURI()));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Create Herald Rule'))
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this
|
$crumbs = $this
|
||||||
->buildApplicationCrumbs()
|
->buildApplicationCrumbs()
|
||||||
->addCrumb(
|
->addCrumb(
|
||||||
|
@ -79,7 +82,7 @@ final class HeraldNewController extends HeraldController {
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$form,
|
$form_box,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => pht('Create Herald Rule'),
|
'title' => pht('Create Herald Rule'),
|
||||||
|
|
|
@ -182,6 +182,11 @@ final class HeraldRuleController extends HeraldController {
|
||||||
? pht('Edit Herald Rule')
|
? pht('Edit Herald Rule')
|
||||||
: pht('Create Herald Rule');
|
: pht('Create Herald Rule');
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this
|
$crumbs = $this
|
||||||
->buildApplicationCrumbs()
|
->buildApplicationCrumbs()
|
||||||
->addCrumb(
|
->addCrumb(
|
||||||
|
@ -191,8 +196,7 @@ final class HeraldRuleController extends HeraldController {
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => pht('Edit Rule'),
|
'title' => pht('Edit Rule'),
|
||||||
|
|
|
@ -113,7 +113,6 @@ final class LegalpadDocumentEditController extends LegalpadController {
|
||||||
}
|
}
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setFlexible(true)
|
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
|
@ -168,6 +167,11 @@ final class LegalpadDocumentEditController extends LegalpadController {
|
||||||
$form
|
$form
|
||||||
->appendChild($submit);
|
->appendChild($submit);
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs($this->buildSideNav());
|
$crumbs = $this->buildApplicationCrumbs($this->buildSideNav());
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
id(new PhabricatorCrumbView())->setName($short));
|
id(new PhabricatorCrumbView())->setName($short));
|
||||||
|
@ -182,8 +186,7 @@ final class LegalpadDocumentEditController extends LegalpadController {
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
$preview
|
$preview
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -177,7 +177,6 @@ final class LegalpadDocumentSignController extends LegalpadController {
|
||||||
$data = $signature->getSignatureData();
|
$data = $signature->getSignatureData();
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormInsetView())
|
id(new AphrontFormInsetView())
|
||||||
->setTitle(pht('Sign and Agree'))
|
->setTitle(pht('Sign and Agree'))
|
||||||
|
|
|
@ -153,7 +153,6 @@ final class PhabricatorMacroEditController
|
||||||
|
|
||||||
$form
|
$form
|
||||||
->setEncType('multipart/form-data')
|
->setEncType('multipart/form-data')
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setLabel(pht('Name'))
|
->setLabel(pht('Name'))
|
||||||
|
@ -239,7 +238,6 @@ final class PhabricatorMacroEditController
|
||||||
->setHeader(pht('Upload New File'));
|
->setHeader(pht('Upload New File'));
|
||||||
|
|
||||||
$upload_form = id(new AphrontFormView())
|
$upload_form = id(new AphrontFormView())
|
||||||
->setFlexible(true)
|
|
||||||
->setEncType('multipart/form-data')
|
->setEncType('multipart/form-data')
|
||||||
->setUser($request->getUser());
|
->setUser($request->getUser());
|
||||||
|
|
||||||
|
@ -263,11 +261,15 @@ final class PhabricatorMacroEditController
|
||||||
$upload = array($upload_header, $upload_form);
|
$upload = array($upload_header, $upload_form);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
$upload,
|
$upload,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -44,7 +44,7 @@ final class PhabricatorMacroMemeDialogController
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$view = id(new AphrontFormLayoutView())
|
$view = id(new PHUIFormLayoutView())
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setLabel(pht('Macro'))
|
->setLabel(pht('Macro'))
|
||||||
|
|
|
@ -14,6 +14,7 @@ final class PhabricatorMailingListsEditController
|
||||||
$viewer = $request->getUser();
|
$viewer = $request->getUser();
|
||||||
|
|
||||||
if ($this->id) {
|
if ($this->id) {
|
||||||
|
$page_title = pht('Edit Mailing List');
|
||||||
$list = id(new PhabricatorMailingListQuery())
|
$list = id(new PhabricatorMailingListQuery())
|
||||||
->setViewer($viewer)
|
->setViewer($viewer)
|
||||||
->withIDs(array($this->id))
|
->withIDs(array($this->id))
|
||||||
|
@ -22,6 +23,7 @@ final class PhabricatorMailingListsEditController
|
||||||
return new Aphront404Response();
|
return new Aphront404Response();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
$page_title = pht('Create Mailing List');
|
||||||
$list = new PhabricatorMetaMTAMailingList();
|
$list = new PhabricatorMetaMTAMailingList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,14 +126,18 @@ final class PhabricatorMailingListsEditController
|
||||||
->setName(pht('Create Mailing List')));
|
->setName(pht('Create Mailing List')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($page_title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => pht('Edit Mailing List'),
|
'title' => $page_title,
|
||||||
'device' => true,
|
'device' => true,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,7 +76,7 @@ final class ManiphestExportController extends ManiphestController {
|
||||||
$dialog->appendChild(phutil_tag('p', array(), pht(
|
$dialog->appendChild(phutil_tag('p', array(), pht(
|
||||||
'Do you want to export the query results to Excel?')));
|
'Do you want to export the query results to Excel?')));
|
||||||
|
|
||||||
$form = id(new AphrontFormLayoutView())
|
$form = id(new PHUIFormLayoutView())
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormSelectControl())
|
id(new AphrontFormSelectControl())
|
||||||
->setLabel(pht('Format:'))
|
->setLabel(pht('Format:'))
|
||||||
|
|
|
@ -198,6 +198,7 @@ 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())
|
||||||
|
|
|
@ -381,10 +381,9 @@ final class ManiphestTaskEditController extends ManiphestController {
|
||||||
$project_tokenizer_id = celerity_generate_unique_node_id();
|
$project_tokenizer_id = celerity_generate_unique_node_id();
|
||||||
|
|
||||||
if ($request->isAjax()) {
|
if ($request->isAjax()) {
|
||||||
$form = new AphrontFormLayoutView();
|
$form = new PHUIFormLayoutView();
|
||||||
} else {
|
} else {
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form->setFlexible(true);
|
|
||||||
$form
|
$form
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->addHiddenInput('template', $template_id);
|
->addHiddenInput('template', $template_id);
|
||||||
|
@ -536,6 +535,11 @@ final class ManiphestTaskEditController extends ManiphestController {
|
||||||
->addCancelButton($cancel_uri)
|
->addCancelButton($cancel_uri)
|
||||||
->setValue($button_name));
|
->setValue($button_name));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($header_name)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$preview = id(new PHUIRemarkupPreviewPanel())
|
$preview = id(new PHUIRemarkupPreviewPanel())
|
||||||
->setHeader(pht('Description Preview'))
|
->setHeader(pht('Description Preview'))
|
||||||
->setControlID('description-textarea')
|
->setControlID('description-textarea')
|
||||||
|
@ -561,8 +565,7 @@ final class ManiphestTaskEditController extends ManiphestController {
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
$preview,
|
$preview,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -124,7 +124,6 @@ final class ManiphestTaskListController extends ManiphestController {
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setNoShading(true)
|
|
||||||
->setAction(
|
->setAction(
|
||||||
$request->getRequestURI()
|
$request->getRequestURI()
|
||||||
->alter('key', null)
|
->alter('key', null)
|
||||||
|
|
|
@ -29,7 +29,6 @@ final class PhabricatorOwnersDeleteController
|
||||||
$dialog = id(new AphrontDialogView())
|
$dialog = id(new AphrontDialogView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setTitle('Really delete this package?')
|
->setTitle('Really delete this package?')
|
||||||
->setHeaderColor(PhabricatorActionHeaderView::HEADER_RED)
|
|
||||||
->appendChild(hsprintf(
|
->appendChild(hsprintf(
|
||||||
'<p>%s</p>',
|
'<p>%s</p>',
|
||||||
$text))
|
$text))
|
||||||
|
|
|
@ -181,7 +181,6 @@ final class PhabricatorOwnersEditController
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setLabel(pht('Name'))
|
->setLabel(pht('Name'))
|
||||||
|
@ -252,13 +251,13 @@ final class PhabricatorOwnersEditController
|
||||||
->addCancelButton($cancel_uri)
|
->addCancelButton($cancel_uri)
|
||||||
->setValue(pht('Save Package')));
|
->setValue(pht('Save Package')));
|
||||||
|
|
||||||
$header = id(new PhabricatorHeaderView())
|
$form_box = id(new PHUIFormBoxView())
|
||||||
->setHeader($title);
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$nav = $this->buildSideNavView();
|
$nav = $this->buildSideNavView();
|
||||||
$nav->appendChild($error_view);
|
$nav->appendChild($form_box);
|
||||||
$nav->appendChild($header);
|
|
||||||
$nav->appendChild($form);
|
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -168,7 +168,6 @@ final class PhabricatorOwnersListController
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setAction('/owners/view/search/')
|
->setAction('/owners/view/search/')
|
||||||
->setMethod('GET')
|
->setMethod('GET')
|
||||||
->setNoShading(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setName('name')
|
->setName('name')
|
||||||
|
|
|
@ -131,7 +131,6 @@ final class PhabricatorPasteEditController extends PhabricatorPasteController {
|
||||||
}
|
}
|
||||||
|
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form->setFlexible(true);
|
|
||||||
|
|
||||||
$langs = array(
|
$langs = array(
|
||||||
'' => pht('(Detect From Filename in Title)'),
|
'' => pht('(Detect From Filename in Title)'),
|
||||||
|
@ -200,12 +199,16 @@ final class PhabricatorPasteEditController extends PhabricatorPasteController {
|
||||||
$short = pht('Edit');
|
$short = pht('Edit');
|
||||||
} else {
|
} else {
|
||||||
$submit->setValue(pht('Create Paste'));
|
$submit->setValue(pht('Create Paste'));
|
||||||
$title = pht('Create Paste');
|
$title = pht('Create New Paste');
|
||||||
$short = pht('Create');
|
$short = pht('Create');
|
||||||
}
|
}
|
||||||
|
|
||||||
$form
|
$form->appendChild($submit);
|
||||||
->appendChild($submit);
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView());
|
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView());
|
||||||
if (!$is_create) {
|
if (!$is_create) {
|
||||||
|
@ -220,9 +223,7 @@ final class PhabricatorPasteEditController extends PhabricatorPasteController {
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
id(new PhabricatorHeaderView())->setHeader($title),
|
$form_box,
|
||||||
$error_view,
|
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
|
|
|
@ -343,14 +343,18 @@ final class PhabricatorPeopleEditController
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Save')));
|
->setValue(pht('Save')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
|
||||||
if ($user->getID()) {
|
if ($user->getID()) {
|
||||||
$header->setHeader(pht('Edit User'));
|
$title = pht('Edit User');
|
||||||
} else {
|
} else {
|
||||||
$header->setHeader(pht('Create New User'));
|
$title = pht('Create New User');
|
||||||
}
|
}
|
||||||
|
|
||||||
return array($error_view, $form);
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
|
return array($form_box);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function processRoleRequest(PhabricatorUser $user) {
|
private function processRoleRequest(PhabricatorUser $user) {
|
||||||
|
@ -448,10 +452,14 @@ final class PhabricatorPeopleEditController
|
||||||
->setValue(pht('Edit Role')));
|
->setValue(pht('Edit Role')));
|
||||||
}
|
}
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
$title = pht('Edit Role');
|
||||||
$header->setHeader(pht('Edit Role'));
|
|
||||||
|
|
||||||
return array($error_view, $header, $form);
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
|
return array($form_box);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function processCertificateRequest($user) {
|
private function processCertificateRequest($user) {
|
||||||
|
@ -486,10 +494,13 @@ final class PhabricatorPeopleEditController
|
||||||
pht('You may only view the certificates of System Agents.')));
|
pht('You may only view the certificates of System Agents.')));
|
||||||
}
|
}
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
$title = pht('Conduit Certificate');
|
||||||
$header->setHeader(pht('Conduit Certificate'));
|
|
||||||
|
|
||||||
return array($header, $form);
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
|
return array($form_box);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function processRenameRequest(PhabricatorUser $user) {
|
private function processRenameRequest(PhabricatorUser $user) {
|
||||||
|
@ -581,10 +592,12 @@ final class PhabricatorPeopleEditController
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Change Username')));
|
->setValue(pht('Change Username')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
$form_box = id(new PHUIFormBoxView())
|
||||||
$header->setHeader(pht('Change Username'));
|
->setHeaderText(pht('Change Username'))
|
||||||
|
->setFormError($errors)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return array($errors, $header, $form);
|
return array($form_box);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function processDeleteRequest(PhabricatorUser $user) {
|
private function processDeleteRequest(PhabricatorUser $user) {
|
||||||
|
@ -672,10 +685,12 @@ final class PhabricatorPeopleEditController
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Delete User')));
|
->setValue(pht('Delete User')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
$form_box = id(new PHUIFormBoxView())
|
||||||
$header->setHeader(pht('Delete User'));
|
->setHeaderText(pht('Delete User'))
|
||||||
|
->setFormError($errors)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return array($errors, $header, $form);
|
return array($form_box);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getRoleInstructions() {
|
private function getRoleInstructions() {
|
||||||
|
|
|
@ -74,10 +74,14 @@ final class PhabricatorPeopleProfileEditController
|
||||||
->addCancelButton($profile_uri)
|
->addCancelButton($profile_uri)
|
||||||
->setValue(pht('Save Profile')));
|
->setValue(pht('Save Profile')));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Edit Your Profile'))
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$form,
|
$form_box,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
|
|
|
@ -98,7 +98,7 @@ final class PhabricatorPeopleProfilePictureController
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
->setName($title));
|
->setName($title));
|
||||||
|
|
||||||
$form = id(new AphrontFormLayoutView())
|
$form = id(new PHUIFormLayoutView())
|
||||||
->setUser($viewer);
|
->setUser($viewer);
|
||||||
|
|
||||||
$default_image = PhabricatorFile::loadBuiltin($viewer, 'profile.png');
|
$default_image = PhabricatorFile::loadBuiltin($viewer, 'profile.png');
|
||||||
|
@ -265,7 +265,6 @@ final class PhabricatorPeopleProfilePictureController
|
||||||
|
|
||||||
$upload_form = id(new AphrontFormView())
|
$upload_form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->setEncType('multipart/form-data')
|
->setEncType('multipart/form-data')
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormFileControl())
|
id(new AphrontFormFileControl())
|
||||||
|
|
|
@ -38,7 +38,6 @@ final class PhameBlogDeleteController extends PhameController {
|
||||||
$dialog = id(new AphrontDialogView())
|
$dialog = id(new AphrontDialogView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setTitle(pht('Delete Blog?'))
|
->setTitle(pht('Delete Blog?'))
|
||||||
->setHeaderColor(PhabricatorActionHeaderView::HEADER_RED)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
pht(
|
pht(
|
||||||
'Really delete the blog "%s"? It will be gone forever.',
|
'Really delete the blog "%s"? It will be gone forever.',
|
||||||
|
|
|
@ -107,7 +107,6 @@ final class PhameBlogEditController
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setLabel(pht('Name'))
|
->setLabel(pht('Name'))
|
||||||
|
@ -171,6 +170,11 @@ final class PhameBlogEditController
|
||||||
$error_view = null;
|
$error_view = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($page_title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
|
@ -182,8 +186,7 @@ final class PhameBlogEditController
|
||||||
$nav->appendChild(
|
$nav->appendChild(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
));
|
));
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
|
|
|
@ -38,7 +38,6 @@ final class PhamePostDeleteController extends PhameController {
|
||||||
$dialog = id(new AphrontDialogView())
|
$dialog = id(new AphrontDialogView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setTitle(pht('Delete Post?'))
|
->setTitle(pht('Delete Post?'))
|
||||||
->setHeaderColor(PhabricatorActionHeaderView::HEADER_RED)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
pht(
|
pht(
|
||||||
'Really delete the post "%s"? It will be gone forever.',
|
'Really delete the post "%s"? It will be gone forever.',
|
||||||
|
|
|
@ -100,7 +100,6 @@ final class PhamePostEditController
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->addHiddenInput('blog', $request->getInt('blog'))
|
->addHiddenInput('blog', $request->getInt('blog'))
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormMarkupControl())
|
id(new AphrontFormMarkupControl())
|
||||||
|
@ -174,6 +173,11 @@ final class PhamePostEditController
|
||||||
$error_view = null;
|
$error_view = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($page_title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
|
@ -184,8 +188,7 @@ final class PhamePostEditController
|
||||||
$nav->appendChild(
|
$nav->appendChild(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
$preview_panel,
|
$preview_panel,
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,6 @@ final class PhamePostNewController extends PhameController {
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormSelectControl())
|
id(new AphrontFormSelectControl())
|
||||||
->setLabel(pht('Blog'))
|
->setLabel(pht('Blog'))
|
||||||
|
@ -117,7 +116,12 @@ final class PhamePostNewController extends PhameController {
|
||||||
->setValue(pht('Continue')));
|
->setValue(pht('Continue')));
|
||||||
}
|
}
|
||||||
|
|
||||||
$nav->appendChild($form);
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
|
$nav->appendChild($form_box);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
|
|
|
@ -42,7 +42,6 @@ final class PhamePostPublishController extends PhameController {
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Publish Post'))
|
->setValue(pht('Publish Post'))
|
||||||
|
|
|
@ -176,15 +176,15 @@ final class PhluxEditController extends PhluxController {
|
||||||
->setHref($request->getRequestURI()));
|
->setHref($request->getRequestURI()));
|
||||||
}
|
}
|
||||||
|
|
||||||
$header = id(new PhabricatorHeaderView())
|
$form_box = id(new PHUIFormBoxView())
|
||||||
->setHeader($title);
|
->setHeaderText($title)
|
||||||
|
->setFormError($errors)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$header,
|
$form_box,
|
||||||
$errors,
|
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
|
|
|
@ -285,7 +285,6 @@ final class PholioMockEditController extends PholioController {
|
||||||
require_celerity_resource('pholio-edit-css');
|
require_celerity_resource('pholio-edit-css');
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild($order_control)
|
->appendChild($order_control)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
|
@ -322,6 +321,11 @@ final class PholioMockEditController extends PholioController {
|
||||||
->setError($e_images))
|
->setError($e_images))
|
||||||
->appendChild($submit);
|
->appendChild($submit);
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
|
@ -330,8 +334,7 @@ final class PholioMockEditController extends PholioController {
|
||||||
|
|
||||||
$content = array(
|
$content = array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
|
|
|
@ -160,9 +160,7 @@ final class PhortuneAccountBuyController
|
||||||
$user);
|
$user);
|
||||||
}
|
}
|
||||||
|
|
||||||
$provider_form = id(new AphrontFormLayoutView())
|
$provider_form = new PHUIFormLayoutView();
|
||||||
->setPadded(true)
|
|
||||||
->setBackgroundShading(true);
|
|
||||||
$provider_form->appendChild(
|
$provider_form->appendChild(
|
||||||
id(new AphrontFormMarkupControl())
|
id(new AphrontFormMarkupControl())
|
||||||
->setLabel('Pay With')
|
->setLabel('Pay With')
|
||||||
|
|
|
@ -144,7 +144,6 @@ final class PhrequentListController extends PhrequentController {
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setNoShading(true)
|
|
||||||
->setAction($this->getApplicationURI("/view/custom/"));
|
->setAction($this->getApplicationURI("/view/custom/"));
|
||||||
|
|
||||||
$user_handles = id(new PhabricatorObjectHandleData($user_phids))
|
$user_handles = id(new PhabricatorObjectHandleData($user_phids))
|
||||||
|
|
|
@ -50,7 +50,6 @@ final class PhrictionDeleteController extends PhrictionController {
|
||||||
$dialog = id(new AphrontDialogView())
|
$dialog = id(new AphrontDialogView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setTitle(pht('Delete Document?'))
|
->setTitle(pht('Delete Document?'))
|
||||||
->setHeaderColor(PhabricatorActionHeaderView::HEADER_RED)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
pht('Really delete this document? You can recover it later by '.
|
pht('Really delete this document? You can recover it later by '.
|
||||||
'reverting to a previous version.'))
|
'reverting to a previous version.'))
|
||||||
|
|
|
@ -226,8 +226,10 @@ final class PhrictionEditController
|
||||||
->addCancelButton($cancel_uri)
|
->addCancelButton($cancel_uri)
|
||||||
->setValue($submit_button));
|
->setValue($submit_button));
|
||||||
|
|
||||||
$header = id(new PhabricatorHeaderView())
|
$form_box = id(new PHUIFormBoxView())
|
||||||
->setHeader($panel_header);
|
->setHeaderText(pht('Edit Document'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$preview = id(new PHUIRemarkupPreviewPanel())
|
$preview = id(new PHUIRemarkupPreviewPanel())
|
||||||
->setHeader(pht('Document Preview'))
|
->setHeader(pht('Document Preview'))
|
||||||
|
@ -254,8 +256,7 @@ final class PhrictionEditController
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$draft_note,
|
$draft_note,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
$preview,
|
$preview,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -118,7 +118,7 @@ final class PhrictionMoveController
|
||||||
$descr_caption = $is_serious ? pht('A reason for the move.') :
|
$descr_caption = $is_serious ? pht('A reason for the move.') :
|
||||||
pht('You better give a good reason for this.');
|
pht('You better give a good reason for this.');
|
||||||
|
|
||||||
$form = id(new AphrontFormLayoutView())
|
$form = id(new PHUIFormLayoutView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormStaticControl())
|
id(new AphrontFormStaticControl())
|
||||||
|
|
|
@ -44,7 +44,7 @@ final class PhrictionNewController extends PhrictionController {
|
||||||
$slug = '';
|
$slug = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$view = id(new AphrontFormLayoutView())
|
$view = id(new PHUIFormLayoutView())
|
||||||
->appendChild(id(new AphrontFormTextControl())
|
->appendChild(id(new AphrontFormTextControl())
|
||||||
->setLabel('/w/')
|
->setLabel('/w/')
|
||||||
->setValue($slug)
|
->setValue($slug)
|
||||||
|
|
|
@ -95,6 +95,11 @@ final class PonderAnswerEditController extends PonderController {
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
->setName(pht('Edit Answer')));
|
->setName(pht('Edit Answer')));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Edit Answer'))
|
||||||
|
->setFormError($errors)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$preview = id(new PHUIRemarkupPreviewPanel())
|
$preview = id(new PHUIRemarkupPreviewPanel())
|
||||||
->setHeader(pht('Answer Preview'))
|
->setHeader(pht('Answer Preview'))
|
||||||
->setControlID($answer_content_id)
|
->setControlID($answer_content_id)
|
||||||
|
@ -103,8 +108,7 @@ final class PonderAnswerEditController extends PonderController {
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$errors,
|
$form_box,
|
||||||
$form,
|
|
||||||
$preview,
|
$preview,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -85,7 +85,6 @@ final class PonderQuestionEditController extends PonderController {
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setLabel(pht('Question'))
|
->setLabel(pht('Question'))
|
||||||
|
@ -109,6 +108,11 @@ final class PonderQuestionEditController extends PonderController {
|
||||||
->setControlID('content')
|
->setControlID('content')
|
||||||
->setPreviewURI($this->getApplicationURI('preview/'));
|
->setPreviewURI($this->getApplicationURI('preview/'));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Ask New Question'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
|
|
||||||
$id = $question->getID();
|
$id = $question->getID();
|
||||||
|
@ -129,12 +133,11 @@ final class PonderQuestionEditController extends PonderController {
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
$preview,
|
$preview,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => pht('Ask a Question'),
|
'title' => pht('Ask New Question'),
|
||||||
'device' => true,
|
'device' => true,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,6 @@ final class PonderAddAnswerView extends AphrontView {
|
||||||
|
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form
|
$form
|
||||||
->setFlexible(true)
|
|
||||||
->setUser($this->user)
|
->setUser($this->user)
|
||||||
->setAction($this->actionURI)
|
->setAction($this->actionURI)
|
||||||
->setWorkflow(true)
|
->setWorkflow(true)
|
||||||
|
|
|
@ -68,7 +68,7 @@ final class PhabricatorProjectCreateController
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->isAjax()) {
|
if ($request->isAjax()) {
|
||||||
$form = new AphrontFormLayoutView();
|
$form = new PHUIFormLayoutView();
|
||||||
} else {
|
} else {
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form->setUser($user);
|
$form->setUser($user);
|
||||||
|
@ -113,11 +113,15 @@ final class PhabricatorProjectCreateController
|
||||||
->setName(pht('Create Project'))
|
->setName(pht('Create Project'))
|
||||||
->setHref($this->getApplicationURI().'create/'));
|
->setHref($this->getApplicationURI().'create/'));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Create New Project'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => pht('Create New Project'),
|
'title' => pht('Create New Project'),
|
||||||
|
|
|
@ -91,7 +91,6 @@ final class PhabricatorProjectMembersEditController
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form
|
$form
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTokenizerControl())
|
id(new AphrontFormTokenizerControl())
|
||||||
->setName('phids')
|
->setName('phids')
|
||||||
|
@ -101,17 +100,19 @@ final class PhabricatorProjectMembersEditController
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->addCancelButton('/project/view/'.$project->getID().'/')
|
->addCancelButton('/project/view/'.$project->getID().'/')
|
||||||
->setValue(pht('Add Members')));
|
->setValue(pht('Add Members')));
|
||||||
$faux_form = id(new AphrontFormLayoutView())
|
$faux_form = id(new AphrontFormView())
|
||||||
|
->setUser($user)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormInsetView())
|
id(new AphrontFormInsetView())
|
||||||
->setTitle(pht('Current Members (%d)', count($handles)))
|
|
||||||
->appendChild($list));
|
->appendChild($list));
|
||||||
|
|
||||||
$box = new PHUIBoxView();
|
$box = id(new PHUIFormBoxView())
|
||||||
$box->appendChild($faux_form);
|
->setHeaderText(pht('Current Members (%d)', count($handles)))
|
||||||
$box->setShadow(true);
|
->setForm($faux_form);
|
||||||
$box->addPadding(PHUI::PADDING_LARGE);
|
|
||||||
$box->addMargin(PHUI::MARGIN_LARGE);
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView());
|
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView());
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
|
@ -126,7 +127,7 @@ final class PhabricatorProjectMembersEditController
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$form,
|
$form_box,
|
||||||
$box,
|
$box,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -151,7 +151,6 @@ final class PhabricatorProjectProfileEditController
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setAction($action)
|
->setAction($action)
|
||||||
->setEncType('multipart/form-data')
|
->setEncType('multipart/form-data')
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setLabel(pht('Name'))
|
->setLabel(pht('Name'))
|
||||||
|
@ -220,6 +219,10 @@ final class PhabricatorProjectProfileEditController
|
||||||
->addCancelButton('/project/view/'.$project->getID().'/')
|
->addCancelButton('/project/view/'.$project->getID().'/')
|
||||||
->setValue(pht('Save')));
|
->setValue(pht('Save')));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView());
|
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView());
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
|
@ -234,8 +237,7 @@ final class PhabricatorProjectProfileEditController
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
|
|
|
@ -92,7 +92,6 @@ final class ReleephProjectCreateController extends ReleephProjectController {
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($request->getUser())
|
->setUser($request->getUser())
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild($project_name_input)
|
->appendChild($project_name_input)
|
||||||
->appendChild($arc_project_input)
|
->appendChild($arc_project_input)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
|
|
@ -66,12 +66,10 @@ final class PhabricatorRepositoryCreateController
|
||||||
$error_view->setTitle('Form Errors');
|
$error_view->setTitle('Form Errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form
|
$form
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setAction('/repository/create/')
|
->setAction('/repository/create/')
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setLabel('Name')
|
->setLabel('Name')
|
||||||
|
@ -103,14 +101,14 @@ final class PhabricatorRepositoryCreateController
|
||||||
->setValue('Create Repository')
|
->setValue('Create Repository')
|
||||||
->addCancelButton('/repository/'));
|
->addCancelButton('/repository/'));
|
||||||
|
|
||||||
$header = id(new PhabricatorHeaderView())
|
$form_box = id(new PHUIFormBoxView())
|
||||||
->setHeader(pht('Create Repository'));
|
->setHeaderText(pht('Create Repository'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$error_view,
|
$form_box,
|
||||||
$header,
|
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => pht('Create Repository'),
|
'title' => pht('Create Repository'),
|
||||||
|
|
|
@ -155,12 +155,12 @@ final class PhabricatorRepositoryEditController
|
||||||
|
|
||||||
$nav = $this->sideNav;
|
$nav = $this->sideNav;
|
||||||
|
|
||||||
$header = id(new PhabricatorHeaderView())
|
$form_box = id(new PHUIFormBoxView())
|
||||||
->setHeader(pht('Edit Repository'));
|
->setHeaderText(pht('Edit Repository'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$nav->appendChild($error_view);
|
$nav->appendChild($form_box);
|
||||||
$nav->appendChild($header);
|
|
||||||
$nav->appendChild($form);
|
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
$nav,
|
$nav,
|
||||||
|
@ -358,7 +358,6 @@ final class PhabricatorRepositoryEditController
|
||||||
$form
|
$form
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setAction('/repository/edit/'.$repository->getID().'/tracking/')
|
->setAction('/repository/edit/'.$repository->getID().'/tracking/')
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(hsprintf(
|
->appendChild(hsprintf(
|
||||||
'<p class="aphront-form-instructions">Phabricator can track '.
|
'<p class="aphront-form-instructions">Phabricator can track '.
|
||||||
'repositories, importing commits as they happen and notifying '.
|
'repositories, importing commits as they happen and notifying '.
|
||||||
|
|
|
@ -133,7 +133,6 @@ final class PhabricatorApplicationSearchController
|
||||||
'query/advanced');
|
'query/advanced');
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setNoShading(true)
|
|
||||||
->setUser($user);
|
->setUser($user);
|
||||||
|
|
||||||
$engine->buildSearchForm($form, $saved_query);
|
$engine->buildSearchForm($form, $saved_query);
|
||||||
|
|
|
@ -143,7 +143,6 @@ final class PhabricatorSearchController
|
||||||
$search_form
|
$search_form
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setAction('/search/')
|
->setAction('/search/')
|
||||||
->setNoShading(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
phutil_tag(
|
phutil_tag(
|
||||||
'input',
|
'input',
|
||||||
|
|
|
@ -92,6 +92,11 @@ final class PhabricatorSearchEditController
|
||||||
$title = pht('Save Query');
|
$title = pht('Save Query');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($errors)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
$crumbs->addCrumb(
|
$crumbs->addCrumb(
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
|
@ -100,8 +105,7 @@ final class PhabricatorSearchEditController
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$errors,
|
$form_box,
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
|
|
|
@ -88,7 +88,6 @@ final class PhabricatorSettingsPanelAccount
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form
|
$form
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormSelectControl())
|
id(new AphrontFormSelectControl())
|
||||||
->setLabel(pht('Timezone'))
|
->setLabel(pht('Timezone'))
|
||||||
|
@ -111,13 +110,13 @@ final class PhabricatorSettingsPanelAccount
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Save Account Settings')));
|
->setValue(pht('Save Account Settings')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
$form_box = id(new PHUIFormBoxView())
|
||||||
$header->setHeader(pht('Account Settings'));
|
->setHeaderText(pht('Account Settings'))
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$notice,
|
$notice,
|
||||||
$header,
|
$form_box,
|
||||||
$form,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,8 +78,9 @@ final class PhabricatorSettingsPanelConduit
|
||||||
->setHeight(AphrontFormTextAreaControl::HEIGHT_SHORT)
|
->setHeight(AphrontFormTextAreaControl::HEIGHT_SHORT)
|
||||||
->setValue($user->getConduitCertificate()));
|
->setValue($user->getConduitCertificate()));
|
||||||
|
|
||||||
$header1 = new PhabricatorHeaderView();
|
$cert_form = id(new PHUIFormBoxView())
|
||||||
$header1->setHeader(pht('Arcanist Certificate'));
|
->setHeaderText(pht('Arcanist Certificate'))
|
||||||
|
->setForm($cert_form);
|
||||||
|
|
||||||
$regen_instruction = pht('You can regenerate this certificate, which '.
|
$regen_instruction = pht('You can regenerate this certificate, which '.
|
||||||
'will invalidate the old certificate and create a new one.');
|
'will invalidate the old certificate and create a new one.');
|
||||||
|
@ -95,14 +96,13 @@ final class PhabricatorSettingsPanelConduit
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Regenerate Certificate')));
|
->setValue(pht('Regenerate Certificate')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
$regen_form = id(new PHUIFormBoxView())
|
||||||
$header->setHeader(pht('Regenerate Certificate'));
|
->setHeaderText(pht('Regenerate Certificate'))
|
||||||
|
->setForm($regen_form);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$notice,
|
$notice,
|
||||||
$header1,
|
|
||||||
$cert_form,
|
$cert_form,
|
||||||
$header,
|
|
||||||
$regen_form,
|
$regen_form,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,9 +56,6 @@ final class PhabricatorSettingsPanelConpherencePreferences
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Save Preferences')));
|
->setValue(pht('Save Preferences')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
|
||||||
$header->setHeader(pht('Conpherence Preferences'));
|
|
||||||
|
|
||||||
$error_view = null;
|
$error_view = null;
|
||||||
if ($request->getBool('saved')) {
|
if ($request->getBool('saved')) {
|
||||||
$error_view = id(new AphrontErrorView())
|
$error_view = id(new AphrontErrorView())
|
||||||
|
@ -67,10 +64,13 @@ final class PhabricatorSettingsPanelConpherencePreferences
|
||||||
->setErrors(array(pht('Your preferences have been saved.')));
|
->setErrors(array(pht('Your preferences have been saved.')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Conpherence Preferences'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$error_view,
|
$form_box,
|
||||||
$header,
|
|
||||||
$form,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,6 @@ final class PhabricatorSettingsPanelDeveloperPreferences
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendRemarkupInstructions($instructions)
|
->appendRemarkupInstructions($instructions)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormSelectControl())
|
id(new AphrontFormSelectControl())
|
||||||
|
@ -86,9 +85,6 @@ final class PhabricatorSettingsPanelDeveloperPreferences
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Save Preferences')));
|
->setValue(pht('Save Preferences')));
|
||||||
|
|
||||||
$header = id(new PhabricatorHeaderView())
|
|
||||||
->setHeader(pht('Developer Settings'));
|
|
||||||
|
|
||||||
$error_view = null;
|
$error_view = null;
|
||||||
if ($request->getBool('saved')) {
|
if ($request->getBool('saved')) {
|
||||||
$error_view = id(new AphrontErrorView())
|
$error_view = id(new AphrontErrorView())
|
||||||
|
@ -97,10 +93,13 @@ final class PhabricatorSettingsPanelDeveloperPreferences
|
||||||
->setErrors(array(pht('Your preferences have been saved.')));
|
->setErrors(array(pht('Your preferences have been saved.')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Developer Settings'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$error_view,
|
$form_box,
|
||||||
$header,
|
|
||||||
$form,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,9 +58,6 @@ final class PhabricatorSettingsPanelDiffPreferences
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Save Preferences')));
|
->setValue(pht('Save Preferences')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
|
||||||
$header->setHeader(pht('Diff Preferences'));
|
|
||||||
|
|
||||||
$error_view = null;
|
$error_view = null;
|
||||||
if ($request->getBool('saved')) {
|
if ($request->getBool('saved')) {
|
||||||
$error_view = id(new AphrontErrorView())
|
$error_view = id(new AphrontErrorView())
|
||||||
|
@ -69,10 +66,13 @@ final class PhabricatorSettingsPanelDiffPreferences
|
||||||
->setErrors(array(pht('Your preferences have been saved.')));
|
->setErrors(array(pht('Your preferences have been saved.')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Diff Preferences'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$error_view,
|
$form_box,
|
||||||
$header,
|
|
||||||
$form,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -137,9 +137,6 @@ EXAMPLE;
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Save Preferences')));
|
->setValue(pht('Save Preferences')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
|
||||||
$header->setHeader(pht('Display Preferences'));
|
|
||||||
|
|
||||||
$error_view = null;
|
$error_view = null;
|
||||||
if ($request->getStr('saved') === 'true') {
|
if ($request->getStr('saved') === 'true') {
|
||||||
$error_view = id(new AphrontErrorView())
|
$error_view = id(new AphrontErrorView())
|
||||||
|
@ -148,10 +145,13 @@ EXAMPLE;
|
||||||
->setErrors(array(pht('Your preferences have been saved.')));
|
->setErrors(array(pht('Your preferences have been saved.')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Display Preferences'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$error_view,
|
$form_box,
|
||||||
$header,
|
|
||||||
$form,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -210,7 +210,7 @@ final class PhabricatorSettingsPanelEmailAddresses
|
||||||
->setErrors($errors);
|
->setErrors($errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
$form = id(new AphrontFormLayoutView())
|
$form = id(new PHUIFormLayoutView())
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextControl())
|
id(new AphrontFormTextControl())
|
||||||
->setLabel(pht('Email'))
|
->setLabel(pht('Email'))
|
||||||
|
|
|
@ -216,15 +216,15 @@ final class PhabricatorSettingsPanelEmailPreferences
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Save Preferences')));
|
->setValue(pht('Save Preferences')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
$form_box = id(new PHUIFormBoxView())
|
||||||
$header->setHeader(pht('Email Preferences'));
|
->setHeaderText(pht('Email Preferences'))
|
||||||
|
->setFormError($notice)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return id(new AphrontNullView())
|
return id(new AphrontNullView())
|
||||||
->appendChild(
|
->appendChild(
|
||||||
array(
|
array(
|
||||||
$notice,
|
$form_box,
|
||||||
$header,
|
|
||||||
$form,
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,11 +48,7 @@ final class PhabricatorSettingsPanelHomePreferences
|
||||||
->setURI($this->getPanelURI('?saved=true'));
|
->setURI($this->getPanelURI('?saved=true'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$header = id(new PhabricatorHeaderView())
|
|
||||||
->setHeader(pht('Home Page Preferences'));
|
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setFlexible(true)
|
|
||||||
->setUser($user);
|
->setUser($user);
|
||||||
|
|
||||||
$group_map = PhabricatorApplication::getApplicationGroups();
|
$group_map = PhabricatorApplication::getApplicationGroups();
|
||||||
|
@ -204,10 +200,13 @@ final class PhabricatorSettingsPanelHomePreferences
|
||||||
->setErrors(array(pht('Your preferences have been saved.')));
|
->setErrors(array(pht('Your preferences have been saved.')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Home Page Preferences'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$header,
|
$form_box,
|
||||||
$error_view,
|
|
||||||
$form,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,13 +159,13 @@ final class PhabricatorSettingsPanelPassword
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Save')));
|
->setValue(pht('Save')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
$form_box = id(new PHUIFormBoxView())
|
||||||
$header->setHeader(pht('Change Password'));
|
->setHeaderText(pht('Delete User'))
|
||||||
|
->setFormError($notice)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$notice,
|
$form_box,
|
||||||
$header,
|
|
||||||
$form,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,9 +50,6 @@ final class PhabricatorSettingsPanelSearchPreferences
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Save')));
|
->setValue(pht('Save')));
|
||||||
|
|
||||||
$header = new PhabricatorHeaderView();
|
|
||||||
$header->setHeader(pht('Search Preferences'));
|
|
||||||
|
|
||||||
$error_view = null;
|
$error_view = null;
|
||||||
if ($request->getStr('saved') === 'true') {
|
if ($request->getStr('saved') === 'true') {
|
||||||
$error_view = id(new AphrontErrorView())
|
$error_view = id(new AphrontErrorView())
|
||||||
|
@ -61,10 +58,13 @@ final class PhabricatorSettingsPanelSearchPreferences
|
||||||
->setErrors(array(pht('Your preferences have been saved.')));
|
->setErrors(array(pht('Your preferences have been saved.')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText(pht('Search Preferences'))
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$error_view,
|
$form_box,
|
||||||
$header,
|
|
||||||
$form,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -136,7 +136,6 @@ final class PhabricatorSlowvoteEditController
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild($instructions)
|
->appendChild($instructions)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextAreaControl())
|
id(new AphrontFormTextAreaControl())
|
||||||
|
@ -232,11 +231,15 @@ final class PhabricatorSlowvoteEditController
|
||||||
id(new PhabricatorCrumbView())
|
id(new PhabricatorCrumbView())
|
||||||
->setName($title));
|
->setName($title));
|
||||||
|
|
||||||
|
$form_box = id(new PHUIFormBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setFormError($error_view)
|
||||||
|
->setForm($form);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$error_view,
|
$form_box,
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
|
|
|
@ -65,7 +65,7 @@ final class PhabricatorApplicationTransactionCommentEditController
|
||||||
$dialog
|
$dialog
|
||||||
->addHiddenInput('anchor', $request->getStr('anchor'))
|
->addHiddenInput('anchor', $request->getStr('anchor'))
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormLayoutView())
|
id(new PHUIFormLayoutView())
|
||||||
->setFullWidth(true)
|
->setFullWidth(true)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new PhabricatorRemarkupControl())
|
id(new PhabricatorRemarkupControl())
|
||||||
|
|
|
@ -146,9 +146,9 @@ class PhabricatorApplicationTransactionCommentView extends AphrontView {
|
||||||
|
|
||||||
return id(new AphrontFormView())
|
return id(new AphrontFormView())
|
||||||
->setUser($this->getUser())
|
->setUser($this->getUser())
|
||||||
->setFlexible(true)
|
|
||||||
->addSigil('transaction-append')
|
->addSigil('transaction-append')
|
||||||
->setWorkflow(true)
|
->setWorkflow(true)
|
||||||
|
->setShaded(true)
|
||||||
->setMetadata(
|
->setMetadata(
|
||||||
array(
|
array(
|
||||||
'objectPHID' => $this->getObjectPHID(),
|
'objectPHID' => $this->getObjectPHID(),
|
||||||
|
|
|
@ -40,7 +40,6 @@ final class PhabricatorFormExample extends PhabricatorUIExample {
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFlexible(true)
|
|
||||||
->appendChild($start_time)
|
->appendChild($start_time)
|
||||||
->appendChild($end_time)
|
->appendChild($end_time)
|
||||||
->appendChild($null_time)
|
->appendChild($null_time)
|
||||||
|
|
|
@ -99,7 +99,7 @@ final class PhabricatorMultiColumnExample extends PhabricatorUIExample {
|
||||||
->setFluidLayout(true)
|
->setFluidLayout(true)
|
||||||
->setShadow(true);
|
->setShadow(true);
|
||||||
|
|
||||||
$shipping = id(new AphrontFormLayoutView())
|
$shipping = id(new PHUIFormLayoutView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFullWidth(true)
|
->setFullWidth(true)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
@ -128,7 +128,7 @@ final class PhabricatorMultiColumnExample extends PhabricatorUIExample {
|
||||||
->setDisableAutocomplete(true)
|
->setDisableAutocomplete(true)
|
||||||
->setSigil('postal-input'));
|
->setSigil('postal-input'));
|
||||||
|
|
||||||
$cc = id(new AphrontFormLayoutView())
|
$cc = id(new PHUIFormLayoutView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setFullWidth(true)
|
->setFullWidth(true)
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
|
|
@ -17,7 +17,6 @@ final class PhabricatorUIListFilterExample extends PhabricatorUIExample {
|
||||||
$filter = new AphrontListFilterView();
|
$filter = new AphrontListFilterView();
|
||||||
|
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form->setNoShading(true);
|
|
||||||
$form->setUser($this->getRequest()->getUser());
|
$form->setUser($this->getRequest()->getUser());
|
||||||
$form
|
$form
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
|
|
@ -526,6 +526,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,
|
||||||
);
|
);
|
||||||
|
|
||||||
$extra_css = array(
|
$extra_css = array(
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class AphrontDialogView extends AphrontView {
|
||||||
private $class;
|
private $class;
|
||||||
private $renderAsForm = true;
|
private $renderAsForm = true;
|
||||||
private $formID;
|
private $formID;
|
||||||
private $headerColor = PhabricatorActionHeaderView::HEADER_DARK_GREY;
|
private $headerColor = PhabricatorActionHeaderView::HEADER_LIGHTBLUE;
|
||||||
private $footers = array();
|
private $footers = array();
|
||||||
private $isStandalone;
|
private $isStandalone;
|
||||||
private $method = 'POST';
|
private $method = 'POST';
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This provides the layout of an AphrontFormView without actually providing
|
|
||||||
* the <form /> tag. Useful on its own for creating forms in other forms (like
|
|
||||||
* dialogs) or forms which aren't submittable.
|
|
||||||
*/
|
|
||||||
final class AphrontFormLayoutView extends AphrontView {
|
|
||||||
|
|
||||||
private $backgroundShading;
|
|
||||||
private $padded;
|
|
||||||
private $fullWidth;
|
|
||||||
|
|
||||||
public function setBackgroundShading($shading) {
|
|
||||||
$this->backgroundShading = $shading;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setPadded($padded) {
|
|
||||||
$this->padded = $padded;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setFullWidth($width) {
|
|
||||||
$this->fullWidth = $width;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function render() {
|
|
||||||
$classes = array('aphront-form-view');
|
|
||||||
|
|
||||||
if ($this->backgroundShading) {
|
|
||||||
$classes[] = 'aphront-form-view-shaded';
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($this->padded) {
|
|
||||||
$classes[] = 'aphront-form-view-padded';
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($this->fullWidth) {
|
|
||||||
$classes[] = 'aphront-form-full-width';
|
|
||||||
}
|
|
||||||
|
|
||||||
$classes = implode(' ', $classes);
|
|
||||||
|
|
||||||
return phutil_tag(
|
|
||||||
'div',
|
|
||||||
array(
|
|
||||||
'class' => $classes,
|
|
||||||
),
|
|
||||||
$this->renderChildren());
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -9,8 +9,7 @@ final class AphrontFormView extends AphrontView {
|
||||||
private $encType;
|
private $encType;
|
||||||
private $workflow;
|
private $workflow;
|
||||||
private $id;
|
private $id;
|
||||||
private $flexible;
|
private $shaded = false;
|
||||||
private $noShading;
|
|
||||||
private $sigils = array();
|
private $sigils = array();
|
||||||
private $metadata;
|
private $metadata;
|
||||||
|
|
||||||
|
@ -24,16 +23,6 @@ final class AphrontFormView extends AphrontView {
|
||||||
return $this->metadata;
|
return $this->metadata;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setFlexible($flexible) {
|
|
||||||
$this->flexible = $flexible;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setNoShading($shading) {
|
|
||||||
$this->noShading = $shading;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setID($id) {
|
public function setID($id) {
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
return $this;
|
return $this;
|
||||||
|
@ -54,6 +43,11 @@ final class AphrontFormView extends AphrontView {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setShaded($shaded) {
|
||||||
|
$this->shaded = $shaded;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
public function addHiddenInput($key, $value) {
|
public function addHiddenInput($key, $value) {
|
||||||
$this->data[$key] = $value;
|
$this->data[$key] = $value;
|
||||||
return $this;
|
return $this;
|
||||||
|
@ -88,20 +82,9 @@ final class AphrontFormView extends AphrontView {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function render() {
|
public function render() {
|
||||||
if ($this->flexible) {
|
|
||||||
require_celerity_resource('phabricator-form-view-css');
|
|
||||||
}
|
|
||||||
require_celerity_resource('aphront-form-view-css');
|
|
||||||
|
|
||||||
$layout = new AphrontFormLayoutView();
|
require_celerity_resource('phui-form-view-css');
|
||||||
|
$layout = id (new PHUIFormLayoutView())
|
||||||
if ((!$this->flexible) && (!$this->noShading)) {
|
|
||||||
$layout
|
|
||||||
->setBackgroundShading(true)
|
|
||||||
->setPadded(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
$layout
|
|
||||||
->appendChild($this->renderDataInputs())
|
->appendChild($this->renderDataInputs())
|
||||||
->appendChild($this->renderChildren());
|
->appendChild($this->renderChildren());
|
||||||
|
|
||||||
|
@ -117,7 +100,7 @@ final class AphrontFormView extends AphrontView {
|
||||||
return phabricator_form(
|
return phabricator_form(
|
||||||
$this->user,
|
$this->user,
|
||||||
array(
|
array(
|
||||||
'class' => $this->flexible ? 'phabricator-form-view' : null,
|
'class' => $this->shaded ? 'phui-form-shaded' : null,
|
||||||
'action' => $this->action,
|
'action' => $this->action,
|
||||||
'method' => $this->method,
|
'method' => $this->method,
|
||||||
'enctype' => $this->encType,
|
'enctype' => $this->encType,
|
||||||
|
|
43
src/view/form/PHUIFormBoxView.php
Normal file
43
src/view/form/PHUIFormBoxView.php
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
final class PHUIFormBoxView extends AphrontView {
|
||||||
|
|
||||||
|
private $headerText;
|
||||||
|
private $formError = null;
|
||||||
|
private $form;
|
||||||
|
|
||||||
|
public function setHeaderText($text) {
|
||||||
|
$this->headerText = $text;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setFormError($error) {
|
||||||
|
$this->formError = $error;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setForm(AphrontFormView $form) {
|
||||||
|
$this->form = $form;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function render() {
|
||||||
|
|
||||||
|
$error = $this->formError ? $this->formError : null;
|
||||||
|
|
||||||
|
$header = id(new PhabricatorActionHeaderView())
|
||||||
|
->setHeaderTitle($this->headerText)
|
||||||
|
->setHeaderColor(PhabricatorActionHeaderView::HEADER_LIGHTBLUE);
|
||||||
|
|
||||||
|
$content = id(new PHUIBoxView())
|
||||||
|
->appendChild(array($header, $error, $this->form))
|
||||||
|
->setBorder(true)
|
||||||
|
->addMargin(PHUI::MARGIN_LARGE_TOP)
|
||||||
|
->addMargin(PHUI::MARGIN_LARGE_LEFT)
|
||||||
|
->addMargin(PHUI::MARGIN_LARGE_RIGHT)
|
||||||
|
->addClass('phui-form-box');
|
||||||
|
|
||||||
|
return $content;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
32
src/view/form/PHUIFormLayoutView.php
Normal file
32
src/view/form/PHUIFormLayoutView.php
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This provides the layout of an AphrontFormView without actually providing
|
||||||
|
* the <form /> tag. Useful on its own for creating forms in other forms (like
|
||||||
|
* dialogs) or forms which aren't submittable.
|
||||||
|
*/
|
||||||
|
final class PHUIFormLayoutView extends AphrontView {
|
||||||
|
|
||||||
|
private $fullWidth;
|
||||||
|
|
||||||
|
public function setFullWidth($width) {
|
||||||
|
$this->fullWidth = $width;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function render() {
|
||||||
|
$classes = array('phui-form-view');
|
||||||
|
|
||||||
|
if ($this->fullWidth) {
|
||||||
|
$classes[] = 'phui-form-full-width';
|
||||||
|
}
|
||||||
|
|
||||||
|
return phutil_tag(
|
||||||
|
'div',
|
||||||
|
array(
|
||||||
|
'class' => implode(' ', $classes),
|
||||||
|
),
|
||||||
|
$this->renderChildren());
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -11,6 +11,7 @@ final class PhabricatorActionHeaderView extends AphrontView {
|
||||||
const HEADER_GREEN = 'green';
|
const HEADER_GREEN = 'green';
|
||||||
const HEADER_RED = 'red';
|
const HEADER_RED = 'red';
|
||||||
const HEADER_YELLOW = 'yellow';
|
const HEADER_YELLOW = 'yellow';
|
||||||
|
const HEADER_LIGHTBLUE ='lightblue';
|
||||||
|
|
||||||
private $headerTitle;
|
private $headerTitle;
|
||||||
private $headerHref;
|
private $headerHref;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue