1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-04 03:41:01 +01:00
phorge-phorge/src/view/form/control
epriestley ddb1f181c1 Simplify lightboxing and fix a few things
Summary:
Minor tweaks to lightboxes.

  - With "position: fixed;", we don't need to do any of the scroll/resize stuff. Just remove it.
  - Make the lightbox go over the menu bar -- was it intentional that it wasn't?
  - Make 'jx-mask' use "position: fixed;" too.
  - Add a loading indicator.
  - In Differential/Maniphest/etc, a preview may bring in an image but won't bring in the CSS we need. The "real" fix is to ship CSS/JS with ajax, but that's really hard -- fake it by pulling in the right CSS any time we render a remarkup area.

I'm going to do a couple of other tweaks here but need to update JX.Mask.

Test Plan: Verified behavior is reasonable in Safari, Firefox, Chrome with multiple images / scroll / previews / resize.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1896

Differential Revision: https://secure.phabricator.com/D3795
2012-10-23 17:34:43 -07:00
..
AphrontFormCheckboxControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
AphrontFormControl.php Make the paste creation form work on phones 2012-08-15 14:15:12 -07:00
AphrontFormDateControl.php Make date control include times 2012-10-23 12:00:20 -07:00
AphrontFormDividerControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
AphrontFormDragAndDropUploadControl.php Make the drop target for file attachments smaller 2012-10-08 13:26:41 -07:00
AphrontFormFileControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
AphrontFormImageControl.php Fix an overlap between two elements of the Image form input. 2012-07-26 16:25:56 -04:00
AphrontFormMarkupControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
AphrontFormPasswordControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
AphrontFormPolicyControl.php Allow projects to be set as policies 2012-09-13 10:15:08 -07:00
AphrontFormRadioButtonControl.php Display flag in Flag dialog 2012-08-21 09:28:55 -07:00
AphrontFormRecaptchaControl.php Minor, fix an issue where recaptcha is included over HTTP on HTTPS installs and blocked by Chrome. 2012-08-27 14:22:15 -07:00
AphrontFormSelectControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
AphrontFormStaticControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
AphrontFormSubmitControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
AphrontFormTextAreaControl.php Unconditionally enable drag-and-drop uploads for Remarkup text areas 2012-10-08 13:26:57 -07:00
AphrontFormTextControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
AphrontFormToggleButtonsControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
AphrontFormTokenizerControl.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhabricatorRemarkupControl.php Simplify lightboxing and fix a few things 2012-10-23 17:34:43 -07:00