1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00
phorge-phorge/webroot/rsrc/css
epriestley 87871b3588 Add JS support for replacing Pholio mocks 1:1
Summary:
Ref T3572. Needs some CSS tweaks, but this lets you drag an image on top of another image to replace it. There's no server-side or transaction support (and I'm not planning to build that), I just wanted to clear the way on the JS side.

You'll get an additional array posted called `replaces`. Keys are old file PHIDs; values are new file PHIDs.

Note that a key may not exist yet (if a user adds an image, and then also replaces that same image). In this case, the server should just treat it as an add.

Test Plan: Dragged images on top of other images.

Reviewers: btrahan, chad

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3572

Differential Revision: https://secure.phabricator.com/D6499
2013-07-19 14:07:22 -07:00
..
aphront Pholio - make the form maintain client side edits between file uploads 2013-07-18 15:04:08 -07:00
application Add JS support for replacing Pholio mocks 1:1 2013-07-19 14:07:22 -07:00
core Share rendering code for embedded votes and vote detail 2013-07-16 10:31:05 -07:00
layout Fix opacity on action list links. 2013-07-17 12:12:25 -07:00
phui Fix opacity on action list links. 2013-07-17 12:12:25 -07:00
sprite-actions.css Add action icons to object list views 2013-05-10 12:57:01 -07:00
sprite-apps-large.css Legalpad icons 2013-07-03 10:41:17 -07:00
sprite-apps-xlarge.css Added Feed icons. 2013-01-10 10:00:18 -08:00
sprite-apps.css Legalpad icons 2013-07-03 10:41:17 -07:00
sprite-conpherence.css Conpherence - some cleanup type stuff 2013-03-13 13:03:51 -07:00
sprite-docs.css Document icons sprite sheet. 2013-03-10 14:16:16 -07:00
sprite-gradient.css PHUIList, PHUIDocument updates 2013-06-05 08:41:43 -07:00
sprite-icons.css Fix white + icon hover / apps create 2013-06-11 19:10:12 -07:00
sprite-login.css Add Login icons to PHUIIconView. 2013-06-12 15:05:16 -07:00
sprite-menu.css Fancy new headers 2013-07-17 15:53:26 -07:00
sprite-minicons.css PhabricatorActionHeaderView v0 2013-04-05 07:40:27 -07:00
sprite-payments.css Payment sprite icons. 2013-04-22 16:41:00 -07:00
sprite-status.css Status Icons 2013-07-17 08:44:11 -07:00
sprite-tokens.css PHUIIconView 2013-04-19 17:44:20 -07:00