mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Clean up Multirow Manager UI
Summary: Fixes T4234 (Policy and Herald). I will have an additional diff for Maniphest Batch Editor, which looks jank in many other ways. Test Plan: Test editing a policy and some herald rules. Stuff lines up better. {F235086} {F235087} Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T4234 Differential Revision: https://secure.phabricator.com/D10864
This commit is contained in:
parent
ba778cffd7
commit
e7b6d332e9
5 changed files with 38 additions and 25 deletions
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
return array(
|
||||
'names' => array(
|
||||
'core.pkg.css' => '5b6531df',
|
||||
'core.pkg.css' => '0784ef1d',
|
||||
'core.pkg.js' => 'cbdbd552',
|
||||
'darkconsole.pkg.js' => 'df001cab',
|
||||
'differential.pkg.css' => '8af45893',
|
||||
|
@ -68,7 +68,7 @@ return array(
|
|||
'rsrc/css/application/flag/flag.css' => '5337623f',
|
||||
'rsrc/css/application/harbormaster/harbormaster.css' => '49d64eb4',
|
||||
'rsrc/css/application/herald/herald-test.css' => '778b008e',
|
||||
'rsrc/css/application/herald/herald.css' => 'c544dd1c',
|
||||
'rsrc/css/application/herald/herald.css' => '826075fa',
|
||||
'rsrc/css/application/maniphest/batch-editor.css' => '8f380ebc',
|
||||
'rsrc/css/application/maniphest/report.css' => '6fc16517',
|
||||
'rsrc/css/application/maniphest/task-edit.css' => '8e23031b',
|
||||
|
@ -85,7 +85,7 @@ return array(
|
|||
'rsrc/css/application/phortune/phortune.css' => '9149f103',
|
||||
'rsrc/css/application/phrequent/phrequent.css' => 'ffc185ad',
|
||||
'rsrc/css/application/phriction/phriction-document-css.css' => '7d7f0071',
|
||||
'rsrc/css/application/policy/policy-edit.css' => '05cca26a',
|
||||
'rsrc/css/application/policy/policy-edit.css' => '815c66f7',
|
||||
'rsrc/css/application/policy/policy-transaction-detail.css' => '82100a43',
|
||||
'rsrc/css/application/policy/policy.css' => '957ea14c',
|
||||
'rsrc/css/application/ponder/comments.css' => '6cdccea7',
|
||||
|
@ -126,7 +126,7 @@ return array(
|
|||
'rsrc/css/phui/phui-document.css' => 'a5615198',
|
||||
'rsrc/css/phui/phui-feed-story.css' => 'dd3c5ff5',
|
||||
'rsrc/css/phui/phui-fontkit.css' => '9c3d2dce',
|
||||
'rsrc/css/phui/phui-form-view.css' => 'a3efd18c',
|
||||
'rsrc/css/phui/phui-form-view.css' => 'c875f46c',
|
||||
'rsrc/css/phui/phui-form.css' => 'b78ec020',
|
||||
'rsrc/css/phui/phui-header-view.css' => '39594ac0',
|
||||
'rsrc/css/phui/phui-icon.css' => 'b4963a4f',
|
||||
|
@ -443,7 +443,7 @@ return array(
|
|||
'rsrc/js/core/Hovercard.js' => '7e8468ae',
|
||||
'rsrc/js/core/KeyboardShortcut.js' => '1ae869f2',
|
||||
'rsrc/js/core/KeyboardShortcutManager.js' => 'ad7a69ca',
|
||||
'rsrc/js/core/MultirowRowManager.js' => '41e47dea',
|
||||
'rsrc/js/core/MultirowRowManager.js' => 'b5d57730',
|
||||
'rsrc/js/core/Notification.js' => '0c6946e7',
|
||||
'rsrc/js/core/Prefab.js' => 'bbae734c',
|
||||
'rsrc/js/core/ShapedRequest.js' => '7cbe244b',
|
||||
|
@ -536,7 +536,7 @@ return array(
|
|||
'font-source-sans-pro' => '91d53463',
|
||||
'global-drag-and-drop-css' => '697324ad',
|
||||
'harbormaster-css' => '49d64eb4',
|
||||
'herald-css' => 'c544dd1c',
|
||||
'herald-css' => '826075fa',
|
||||
'herald-rule-editor' => '335fd41f',
|
||||
'herald-test-css' => '778b008e',
|
||||
'inline-comment-summary-css' => '8cfd34e8',
|
||||
|
@ -697,7 +697,7 @@ return array(
|
|||
'maniphest-report-css' => '6fc16517',
|
||||
'maniphest-task-edit-css' => '8e23031b',
|
||||
'maniphest-task-summary-css' => '13ed8360',
|
||||
'multirow-row-manager' => '41e47dea',
|
||||
'multirow-row-manager' => 'b5d57730',
|
||||
'owners-path-editor' => 'aa1733d0',
|
||||
'owners-path-editor-css' => '2f00933b',
|
||||
'paste-css' => 'aa1767d1',
|
||||
|
@ -776,7 +776,7 @@ return array(
|
|||
'phui-font-icon-base-css' => '3dad2ae3',
|
||||
'phui-fontkit-css' => '9c3d2dce',
|
||||
'phui-form-css' => 'b78ec020',
|
||||
'phui-form-view-css' => 'a3efd18c',
|
||||
'phui-form-view-css' => 'c875f46c',
|
||||
'phui-header-view-css' => '39594ac0',
|
||||
'phui-icon-view-css' => 'b4963a4f',
|
||||
'phui-image-mask-css' => '5a8b09c8',
|
||||
|
@ -798,7 +798,7 @@ return array(
|
|||
'phuix-action-view' => '6e8cefa4',
|
||||
'phuix-dropdown-menu' => 'bd4c8dca',
|
||||
'policy-css' => '957ea14c',
|
||||
'policy-edit-css' => '05cca26a',
|
||||
'policy-edit-css' => '815c66f7',
|
||||
'policy-transaction-detail-css' => '82100a43',
|
||||
'ponder-comment-table-css' => '6cdccea7',
|
||||
'ponder-feed-view-css' => 'e62615b6',
|
||||
|
@ -1096,12 +1096,6 @@ return array(
|
|||
'phuix-action-list-view',
|
||||
'phuix-action-view',
|
||||
),
|
||||
'41e47dea' => array(
|
||||
'javelin-install',
|
||||
'javelin-stratcom',
|
||||
'javelin-dom',
|
||||
'javelin-util',
|
||||
),
|
||||
'44168bad' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-dom',
|
||||
|
@ -1605,6 +1599,12 @@ return array(
|
|||
'javelin-install',
|
||||
'javelin-dom',
|
||||
),
|
||||
'b5d57730' => array(
|
||||
'javelin-install',
|
||||
'javelin-stratcom',
|
||||
'javelin-dom',
|
||||
'javelin-util',
|
||||
),
|
||||
'b6d401d6' => array(
|
||||
'javelin-dom',
|
||||
'javelin-dynval',
|
||||
|
|
|
@ -17,10 +17,15 @@
|
|||
|
||||
.herald-action-table td,
|
||||
.herald-condition-table td {
|
||||
padding: 2px 4px;
|
||||
padding: 2px 8px 2px 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.herald-action-table td.remove-column,
|
||||
.herald-condition-table td.remove-column {
|
||||
padding: 2px 0 2px 4px;
|
||||
}
|
||||
|
||||
.herald-condition-table td.value {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -7,11 +7,15 @@
|
|||
}
|
||||
|
||||
.policy-rules-table td {
|
||||
padding: 4px;
|
||||
padding: 4px 8px 4px 0;
|
||||
width: 32px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.policy-rules-table td.remove-column {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.policy-rules-table td.action-cell {
|
||||
width: 120px;
|
||||
}
|
||||
|
|
|
@ -252,16 +252,20 @@ table.aphront-form-control-checkbox-layout th {
|
|||
}
|
||||
|
||||
.phui-form-inset {
|
||||
margin: 0 0 8px;
|
||||
margin: 4px 0 8px;
|
||||
padding: 8px;
|
||||
background: #fff;
|
||||
border: 1px solid #d4dae0;
|
||||
background: #f7f9fd;
|
||||
border: 1px solid {$lightblueborder};
|
||||
border-bottom: 1px solid {$blueborder};
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.phui-form-inset h1 {
|
||||
color: {$greytext};
|
||||
font-weight: normal;
|
||||
color: {$bluetext};
|
||||
padding-bottom: 8px;
|
||||
margin-bottom: 8px;
|
||||
font-size: 14px;
|
||||
border-bottom: 1px solid {$thinblueborder};
|
||||
}
|
||||
|
||||
.aphront-form-drag-and-drop-file-list {
|
||||
|
|
|
@ -57,13 +57,13 @@ JX.install('MultirowRowManager', {
|
|||
|
||||
var removeButton = JX.$N(
|
||||
'td',
|
||||
{},
|
||||
{ className: 'remove-column' },
|
||||
JX.$N(
|
||||
'a',
|
||||
{ className: 'button',
|
||||
{ className: 'button simple',
|
||||
sigil: JX.MultirowRowManager._removeSigil
|
||||
},
|
||||
'-'));
|
||||
'Remove'));
|
||||
|
||||
JX.DOM.appendContent(row, removeButton);
|
||||
return row;
|
||||
|
|
Loading…
Reference in a new issue