1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-15 10:00:55 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-bulk-editor.css
epriestley 687fada5af Restore bulk edit support for remarkup fields (description, add comment)
Summary:
Depends on D18866. Ref T13025. Fixes T12415. This makes the old "Add Comment" action work, and adds support for a new "Set description to" action (possibly, I could imagine "append description" being useful some day, maybe).

The implementation is just a `<textarea />`, not a whole fancy remarkup box with `[Bold] [Italic] ...` buttons, preview, typeaheads, etc. It would be nice to enrich this eventually but doing the rendering in pure JS is currently very involved.

This requires a little bit of gymnastics to get the transaction populated properly, and adds some extra validation since we need some code there anyway.

Test Plan:
  - Changed the description of a task via bulk editor.
  - Added a comment to a task via bulk editor.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13025, T12415

Differential Revision: https://secure.phabricator.com/D18867
2018-01-19 12:45:34 -08:00

27 lines
329 B
CSS

/**
* @provides phui-bulk-editor-css
*/
.bulk-edit-table {
width: 100%;
margin: 12px 0;
}
.bulk-edit-table td {
padding: 4px 8px;
vertical-align: middle;
}
.bulk-edit-input {
width: 100%;
text-align: left;
}
.bulk-edit-input input {
width: 100%;
}
.bulk-edit-input textarea {
width: 100%;
height: 8em;
}