Replace Sprite-Icons with FontAwesome

Summary: The removes the sprite sheet 'icons' and replaces it with FontAwesome fonts.

Test Plan:
- Grep for SPRITE_ICONS and replace
- Grep for sprite-icons and replace
- Grep for PhabricatorActionList and choose all new icons
- Grep for Crumbs and fix icons
- Test/Replace PHUIList Icon support
- Test/Replace ObjectList Icon support (foot, epoch, etc)
- Browse as many pages as I could get to
- Remove sprite-icons and move remarkup to own sheet
- Review this diff in Differential

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin, hach-que

Differential Revision: https://secure.phabricator.com/D9052
This commit is contained in:
Chad Little
2014-05-12 10:08:32 -07:00
parent dfcccd4cb8
commit b2f3001ec4
304 changed files with 635 additions and 3689 deletions

View File

@@ -93,20 +93,20 @@ final class PonderQuestionViewController extends PonderController {
$view->addAction(
id(new PhabricatorActionView())
->setIcon('edit')
->setIcon('fa-pencil')
->setName(pht('Edit Question'))
->setHref($this->getApplicationURI("/question/edit/{$id}/"))
->setDisabled(!$can_edit)
->setWorkflow(!$can_edit));
if ($question->getStatus() == PonderQuestionStatus::STATUS_OPEN) {
$name = pht("Close Question");
$icon = "delete";
$href = "close";
$name = pht('Close Question');
$icon = 'fa-times';
$href = 'close';
} else {
$name = pht("Reopen Question");
$icon = "enable";
$href = "open";
$name = pht('Reopen Question');
$icon = 'fa-check-circle-o';
$href = 'open';
}
$view->addAction(
@@ -120,7 +120,7 @@ final class PonderQuestionViewController extends PonderController {
$view->addAction(
id(new PhabricatorActionView())
->setIcon('transcript')
->setIcon('fa-list')
->setName(pht('View History'))
->setHref($this->getApplicationURI("/question/history/{$id}/")));
@@ -316,7 +316,7 @@ final class PonderQuestionViewController extends PonderController {
$view->addAction(
id(new PhabricatorActionView())
->setIcon('edit')
->setIcon('fa-pencil')
->setName(pht('Edit Answer'))
->setHref($this->getApplicationURI("/answer/edit/{$id}/"))
->setDisabled(!$can_edit)
@@ -324,7 +324,7 @@ final class PonderQuestionViewController extends PonderController {
$view->addAction(
id(new PhabricatorActionView())
->setIcon('transcript')
->setIcon('fa-list')
->setName(pht('View History'))
->setHref($this->getApplicationURI("/answer/history/{$id}/")));