1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-06 17:39:26 +01:00
phorge-phorge/webroot/rsrc/image/icon/fatcow
epriestley dcf3b4d322 Reduce Pholio brokenness for non-image files
Summary:
Ref T5359. When users upload non-image file types (PDFs, text files, whatever), Pholio currently chokes in a few places. Make most of these behaviors more reasonable:

  - Provide thumbs in the required sizes.
  - Predict the thumb size of these files correctly.
  - Disable inline comments.
  - Make "View Fullsize" and "Download" into buttons. These mostly-work. Download should probaly really download, but CSRF on forms is a bit of a pain right now.

Test Plan: See screenshots.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5359

Differential Revision: https://secure.phabricator.com/D9548
2014-06-15 08:03:04 -07:00
..
source
thumbnails Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00
arrow_branch.png
arrow_merge.png
bullet_black.png
bullet_orange.png
bullet_red.png
calendar_edit.png
document_black.png
flag_blue.png
flag_finish.png
flag_ghost.png
flag_green.png
flag_orange.png
flag_pink.png
flag_purple.png
flag_red.png
flag_yellow.png
folder.png
folder_go.png
key_question.png
link.png
page_white_edit.png
page_white_link.png
page_white_put.png
page_white_text.png
README

These icons come from the FatCow icon set:

  http://www.fatcow.com/free-icons

They are available under the Creative Commons Attribution 3.0 License:

  http://creativecommons.org/licenses/by/3.0/us/

Some icons have been adapted from the FatCow set for use in Phabricator:

  key_question.png      (from key_*.png)
  source/web.png        (from world.png)
  source/email.png      (from email.png)
  source/conduit.png    (from satellite_dish.png)
  source/mobile.png     (from phone.png)
  source/tablet.png     (from tablet.png)
  source/fax.png        (from fax.png)