@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add an icon rule to Remarkup

Summary: Fixes T5468.

Test Plan: See screenshots.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5468

Differential Revision: https://secure.phabricator.com/D9722

+578 -477
+2
src/__phutil_library_map__.php
··· 2009 2009 'PhabricatorRemarkupCustomInlineRule' => 'infrastructure/markup/rule/PhabricatorRemarkupCustomInlineRule.php', 2010 2010 'PhabricatorRemarkupExample' => 'applications/uiexample/examples/PhabricatorRemarkupExample.php', 2011 2011 'PhabricatorRemarkupRuleEmbedFile' => 'applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php', 2012 + 'PhabricatorRemarkupRuleIcon' => 'applications/macro/remarkup/PhabricatorRemarkupRuleIcon.php', 2012 2013 'PhabricatorRemarkupRuleImageMacro' => 'applications/macro/remarkup/PhabricatorRemarkupRuleImageMacro.php', 2013 2014 'PhabricatorRemarkupRuleMeme' => 'applications/macro/remarkup/PhabricatorRemarkupRuleMeme.php', 2014 2015 'PhabricatorRemarkupRuleMention' => 'applications/people/remarkup/PhabricatorRemarkupRuleMention.php', ··· 4864 4865 'PhabricatorRemarkupCustomInlineRule' => 'PhutilRemarkupRule', 4865 4866 'PhabricatorRemarkupExample' => 'PhabricatorUIExample', 4866 4867 'PhabricatorRemarkupRuleEmbedFile' => 'PhabricatorRemarkupRuleObject', 4868 + 'PhabricatorRemarkupRuleIcon' => 'PhutilRemarkupRule', 4867 4869 'PhabricatorRemarkupRuleImageMacro' => 'PhutilRemarkupRule', 4868 4870 'PhabricatorRemarkupRuleMeme' => 'PhutilRemarkupRule', 4869 4871 'PhabricatorRemarkupRuleMention' => 'PhutilRemarkupRule',
+6
src/applications/macro/application/PhabricatorApplicationMacro.php
··· 38 38 ); 39 39 } 40 40 41 + public function getRemarkupRules() { 42 + return array( 43 + new PhabricatorRemarkupRuleIcon(), 44 + ); 45 + } 46 + 41 47 protected function getCustomCapabilities() { 42 48 return array( 43 49 PhabricatorMacroCapabilityManage::CAPABILITY => array(
+72
src/applications/macro/remarkup/PhabricatorRemarkupRuleIcon.php
··· 1 + <?php 2 + 3 + final class PhabricatorRemarkupRuleIcon 4 + extends PhutilRemarkupRule { 5 + 6 + private $macros; 7 + 8 + const KEY_RULE_MACRO = 'rule.macro'; 9 + 10 + public function apply($text) { 11 + return preg_replace_callback( 12 + '@{icon\b((?:[^}\\\\]+|\\\\.)*)}@m', 13 + array($this, 'markupIcon'), 14 + $text); 15 + } 16 + 17 + public function markupIcon($matches) { 18 + $extra = idx($matches, 1); 19 + 20 + // We allow various forms, like these: 21 + // 22 + // {icon} 23 + // {icon camera} 24 + // {icon,camera} 25 + // {icon camera color=red} 26 + // {icon, camera, color=red} 27 + 28 + $extra = ltrim($extra, ", \n"); 29 + $extra = preg_split('/[\s,]+/', $extra, 2); 30 + 31 + // Choose some arbitrary default icon so that previews render in a mostly 32 + // reasonable way as you're typing the syntax. 33 + $icon = idx($extra, 0, 'paw'); 34 + 35 + $defaults = array( 36 + 'color' => null, 37 + ); 38 + 39 + $options = idx($extra, 1, ''); 40 + $parser = new PhutilSimpleOptions(); 41 + $options = $parser->parse($options) + $defaults; 42 + 43 + // NOTE: We're validating icon and color names to prevent users from 44 + // adding arbitrary CSS classes to the document. Although this probably 45 + // isn't dangerous, it's safer to validate. 46 + 47 + static $icon_names; 48 + if (!$icon_names) { 49 + $icon_names = array_fuse(PHUIIconView::getFontIcons()); 50 + } 51 + 52 + static $color_names; 53 + if (!$color_names) { 54 + $color_names = array_fuse(PHUIIconView::getFontIconColors()); 55 + } 56 + 57 + if (empty($icon_names['fa-'.$icon])) { 58 + $icon = 'paw'; 59 + } 60 + 61 + $color = $options['color']; 62 + if (empty($color_names[$color])) { 63 + $color = null; 64 + } 65 + 66 + $icon_view = id(new PHUIIconView()) 67 + ->setIconFont('fa-'.$icon, $color); 68 + 69 + return $this->getEngine()->storeText($icon_view); 70 + } 71 + 72 + }
+4 -477
src/applications/uiexample/examples/PHUIIconExample.php
··· 10 10 return 'Easily render icons or images with links and sprites.'; 11 11 } 12 12 13 - private function listFontAwesome() { 14 - return array( 15 - 'fa-glass', 16 - 'fa-music', 17 - 'fa-search', 18 - 'fa-envelope-o', 19 - 'fa-heart', 20 - 'fa-star', 21 - 'fa-star-o', 22 - 'fa-user', 23 - 'fa-film', 24 - 'fa-th-large', 25 - 'fa-th', 26 - 'fa-th-list', 27 - 'fa-check', 28 - 'fa-times', 29 - 'fa-search-plus', 30 - 'fa-search-minus', 31 - 'fa-power-off', 32 - 'fa-signal', 33 - 'fa-cog', 34 - 'fa-trash-o', 35 - 'fa-home', 36 - 'fa-file-o', 37 - 'fa-clock-o', 38 - 'fa-road', 39 - 'fa-download', 40 - 'fa-arrow-circle-o-down', 41 - 'fa-arrow-circle-o-up', 42 - 'fa-inbox', 43 - 'fa-play-circle-o', 44 - 'fa-repeat', 45 - 'fa-refresh', 46 - 'fa-list-alt', 47 - 'fa-lock', 48 - 'fa-flag', 49 - 'fa-headphones', 50 - 'fa-volume-off', 51 - 'fa-volume-down', 52 - 'fa-volume-up', 53 - 'fa-qrcode', 54 - 'fa-barcode', 55 - 'fa-tag', 56 - 'fa-tags', 57 - 'fa-book', 58 - 'fa-bookmark', 59 - 'fa-print', 60 - 'fa-camera', 61 - 'fa-font', 62 - 'fa-bold', 63 - 'fa-italic', 64 - 'fa-text-height', 65 - 'fa-text-width', 66 - 'fa-align-left', 67 - 'fa-align-center', 68 - 'fa-align-right', 69 - 'fa-align-justify', 70 - 'fa-list', 71 - 'fa-outdent', 72 - 'fa-indent', 73 - 'fa-video-camera', 74 - 'fa-picture-o', 75 - 'fa-pencil', 76 - 'fa-map-marker', 77 - 'fa-adjust', 78 - 'fa-tint', 79 - 'fa-pencil-square-o', 80 - 'fa-share-square-o', 81 - 'fa-check-square-o', 82 - 'fa-arrows', 83 - 'fa-step-backward', 84 - 'fa-fast-backward', 85 - 'fa-backward', 86 - 'fa-play', 87 - 'fa-pause', 88 - 'fa-stop', 89 - 'fa-forward', 90 - 'fa-fast-forward', 91 - 'fa-step-forward', 92 - 'fa-eject', 93 - 'fa-chevron-left', 94 - 'fa-chevron-right', 95 - 'fa-plus-circle', 96 - 'fa-minus-circle', 97 - 'fa-times-circle', 98 - 'fa-check-circle', 99 - 'fa-question-circle', 100 - 'fa-info-circle', 101 - 'fa-crosshairs', 102 - 'fa-times-circle-o', 103 - 'fa-check-circle-o', 104 - 'fa-ban', 105 - 'fa-arrow-left', 106 - 'fa-arrow-right', 107 - 'fa-arrow-up', 108 - 'fa-arrow-down', 109 - 'fa-share', 110 - 'fa-expand', 111 - 'fa-compress', 112 - 'fa-plus', 113 - 'fa-minus', 114 - 'fa-asterisk', 115 - 'fa-exclamation-circle', 116 - 'fa-gift', 117 - 'fa-leaf', 118 - 'fa-fire', 119 - 'fa-eye', 120 - 'fa-eye-slash', 121 - 'fa-exclamation-triangle', 122 - 'fa-plane', 123 - 'fa-calendar', 124 - 'fa-random', 125 - 'fa-comment', 126 - 'fa-magnet', 127 - 'fa-chevron-up', 128 - 'fa-chevron-down', 129 - 'fa-retweet', 130 - 'fa-shopping-cart', 131 - 'fa-folder', 132 - 'fa-folder-open', 133 - 'fa-arrows-v', 134 - 'fa-arrows-h', 135 - 'fa-bar-chart-o', 136 - 'fa-twitter-square', 137 - 'fa-facebook-square', 138 - 'fa-camera-retro', 139 - 'fa-key', 140 - 'fa-cogs', 141 - 'fa-comments', 142 - 'fa-thumbs-o-up', 143 - 'fa-thumbs-o-down', 144 - 'fa-star-half', 145 - 'fa-heart-o', 146 - 'fa-sign-out', 147 - 'fa-linkedin-square', 148 - 'fa-thumb-tack', 149 - 'fa-external-link', 150 - 'fa-sign-in', 151 - 'fa-trophy', 152 - 'fa-github-square', 153 - 'fa-upload', 154 - 'fa-lemon-o', 155 - 'fa-phone', 156 - 'fa-square-o', 157 - 'fa-bookmark-o', 158 - 'fa-phone-square', 159 - 'fa-twitter', 160 - 'fa-facebook', 161 - 'fa-github', 162 - 'fa-unlock', 163 - 'fa-credit-card', 164 - 'fa-rss', 165 - 'fa-hdd-o', 166 - 'fa-bullhorn', 167 - 'fa-bell', 168 - 'fa-certificate', 169 - 'fa-hand-o-right', 170 - 'fa-hand-o-left', 171 - 'fa-hand-o-up', 172 - 'fa-hand-o-down', 173 - 'fa-arrow-circle-left', 174 - 'fa-arrow-circle-right', 175 - 'fa-arrow-circle-up', 176 - 'fa-arrow-circle-down', 177 - 'fa-globe', 178 - 'fa-wrench', 179 - 'fa-tasks', 180 - 'fa-filter', 181 - 'fa-briefcase', 182 - 'fa-arrows-alt', 183 - 'fa-users', 184 - 'fa-link', 185 - 'fa-cloud', 186 - 'fa-flask', 187 - 'fa-scissors', 188 - 'fa-files-o', 189 - 'fa-paperclip', 190 - 'fa-floppy-o', 191 - 'fa-square', 192 - 'fa-bars', 193 - 'fa-list-ul', 194 - 'fa-list-ol', 195 - 'fa-strikethrough', 196 - 'fa-underline', 197 - 'fa-table', 198 - 'fa-magic', 199 - 'fa-truck', 200 - 'fa-pinterest', 201 - 'fa-pinterest-square', 202 - 'fa-google-plus-square', 203 - 'fa-google-plus', 204 - 'fa-money', 205 - 'fa-caret-down', 206 - 'fa-caret-up', 207 - 'fa-caret-left', 208 - 'fa-caret-right', 209 - 'fa-columns', 210 - 'fa-sort', 211 - 'fa-sort-asc', 212 - 'fa-sort-desc', 213 - 'fa-envelope', 214 - 'fa-linkedin', 215 - 'fa-undo', 216 - 'fa-gavel', 217 - 'fa-tachometer', 218 - 'fa-comment-o', 219 - 'fa-comments-o', 220 - 'fa-bolt', 221 - 'fa-sitemap', 222 - 'fa-umbrella', 223 - 'fa-clipboard', 224 - 'fa-lightbulb-o', 225 - 'fa-exchange', 226 - 'fa-cloud-download', 227 - 'fa-cloud-upload', 228 - 'fa-user-md', 229 - 'fa-stethoscope', 230 - 'fa-suitcase', 231 - 'fa-bell-o', 232 - 'fa-coffee', 233 - 'fa-cutlery', 234 - 'fa-file-text-o', 235 - 'fa-building-o', 236 - 'fa-hospital-o', 237 - 'fa-ambulance', 238 - 'fa-medkit', 239 - 'fa-fighter-jet', 240 - 'fa-beer', 241 - 'fa-h-square', 242 - 'fa-plus-square', 243 - 'fa-angle-double-left', 244 - 'fa-angle-double-right', 245 - 'fa-angle-double-up', 246 - 'fa-angle-double-down', 247 - 'fa-angle-left', 248 - 'fa-angle-right', 249 - 'fa-angle-up', 250 - 'fa-angle-down', 251 - 'fa-desktop', 252 - 'fa-laptop', 253 - 'fa-tablet', 254 - 'fa-mobile', 255 - 'fa-circle-o', 256 - 'fa-quote-left', 257 - 'fa-quote-right', 258 - 'fa-spinner', 259 - 'fa-circle', 260 - 'fa-reply', 261 - 'fa-github-alt', 262 - 'fa-folder-o', 263 - 'fa-folder-open-o', 264 - 'fa-smile-o', 265 - 'fa-frown-o', 266 - 'fa-meh-o', 267 - 'fa-gamepad', 268 - 'fa-keyboard-o', 269 - 'fa-flag-o', 270 - 'fa-flag-checkered', 271 - 'fa-terminal', 272 - 'fa-code', 273 - 'fa-reply-all', 274 - 'fa-mail-reply-all', 275 - 'fa-star-half-o', 276 - 'fa-location-arrow', 277 - 'fa-crop', 278 - 'fa-code-fork', 279 - 'fa-chain-broken', 280 - 'fa-question', 281 - 'fa-info', 282 - 'fa-exclamation', 283 - 'fa-superscript', 284 - 'fa-subscript', 285 - 'fa-eraser', 286 - 'fa-puzzle-piece', 287 - 'fa-microphone', 288 - 'fa-microphone-slash', 289 - 'fa-shield', 290 - 'fa-calendar-o', 291 - 'fa-fire-extinguisher', 292 - 'fa-rocket', 293 - 'fa-maxcdn', 294 - 'fa-chevron-circle-left', 295 - 'fa-chevron-circle-right', 296 - 'fa-chevron-circle-up', 297 - 'fa-chevron-circle-down', 298 - 'fa-html5', 299 - 'fa-css3', 300 - 'fa-anchor', 301 - 'fa-unlock-alt', 302 - 'fa-bullseye', 303 - 'fa-ellipsis-h', 304 - 'fa-ellipsis-v', 305 - 'fa-rss-square', 306 - 'fa-play-circle', 307 - 'fa-ticket', 308 - 'fa-minus-square', 309 - 'fa-minus-square-o', 310 - 'fa-level-up', 311 - 'fa-level-down', 312 - 'fa-check-square', 313 - 'fa-pencil-square', 314 - 'fa-external-link-square', 315 - 'fa-share-square', 316 - 'fa-compass', 317 - 'fa-caret-square-o-down', 318 - 'fa-caret-square-o-up', 319 - 'fa-caret-square-o-right', 320 - 'fa-eur', 321 - 'fa-gbp', 322 - 'fa-usd', 323 - 'fa-inr', 324 - 'fa-jpy', 325 - 'fa-rub', 326 - 'fa-krw', 327 - 'fa-btc', 328 - 'fa-file', 329 - 'fa-file-text', 330 - 'fa-sort-alpha-asc', 331 - 'fa-sort-alpha-desc', 332 - 'fa-sort-amount-asc', 333 - 'fa-sort-amount-desc', 334 - 'fa-sort-numeric-asc', 335 - 'fa-sort-numeric-desc', 336 - 'fa-thumbs-up', 337 - 'fa-thumbs-down', 338 - 'fa-youtube-square', 339 - 'fa-youtube', 340 - 'fa-xing', 341 - 'fa-xing-square', 342 - 'fa-youtube-play', 343 - 'fa-dropbox', 344 - 'fa-stack-overflow', 345 - 'fa-instagram', 346 - 'fa-flickr', 347 - 'fa-adn', 348 - 'fa-bitbucket', 349 - 'fa-bitbucket-square', 350 - 'fa-tumblr', 351 - 'fa-tumblr-square', 352 - 'fa-long-arrow-down', 353 - 'fa-long-arrow-up', 354 - 'fa-long-arrow-left', 355 - 'fa-long-arrow-right', 356 - 'fa-apple', 357 - 'fa-windows', 358 - 'fa-android', 359 - 'fa-linux', 360 - 'fa-dribbble', 361 - 'fa-skype', 362 - 'fa-foursquare', 363 - 'fa-trello', 364 - 'fa-female', 365 - 'fa-male', 366 - 'fa-gittip', 367 - 'fa-sun-o', 368 - 'fa-moon-o', 369 - 'fa-archive', 370 - 'fa-bug', 371 - 'fa-vk', 372 - 'fa-weibo', 373 - 'fa-renren', 374 - 'fa-pagelines', 375 - 'fa-stack-exchange', 376 - 'fa-arrow-circle-o-right', 377 - 'fa-arrow-circle-o-left', 378 - 'fa-caret-square-o-left', 379 - 'fa-dot-circle-o', 380 - 'fa-wheelchair', 381 - 'fa-vimeo-square', 382 - 'fa-try', 383 - 'fa-plus-square-o', 384 - 'fa-space-shuttle', 385 - 'fa-slack', 386 - 'fa-envelope-square', 387 - 'fa-wordpress', 388 - 'fa-openid', 389 - 'fa-institution', 390 - 'fa-bank', 391 - 'fa-university', 392 - 'fa-mortar-board', 393 - 'fa-graduation-cap', 394 - 'fa-yahoo', 395 - 'fa-google', 396 - 'fa-reddit', 397 - 'fa-reddit-square', 398 - 'fa-stumbleupon-circle', 399 - 'fa-stumbleupon', 400 - 'fa-delicious', 401 - 'fa-digg', 402 - 'fa-pied-piper-square', 403 - 'fa-pied-piper', 404 - 'fa-pied-piper-alt', 405 - 'fa-drupal', 406 - 'fa-joomla', 407 - 'fa-language', 408 - 'fa-fax', 409 - 'fa-building', 410 - 'fa-child', 411 - 'fa-paw', 412 - 'fa-spoon', 413 - 'fa-cube', 414 - 'fa-cubes', 415 - 'fa-behance', 416 - 'fa-behance-square', 417 - 'fa-steam', 418 - 'fa-steam-square', 419 - 'fa-recycle', 420 - 'fa-automobile', 421 - 'fa-car', 422 - 'fa-cab', 423 - 'fa-tree', 424 - 'fa-spotify', 425 - 'fa-deviantart', 426 - 'fa-soundcloud', 427 - 'fa-database', 428 - 'fa-file-pdf-o', 429 - 'fa-file-word-o', 430 - 'fa-file-excel-o', 431 - 'fa-file-powerpoint-o', 432 - 'fa-file-photo-o', 433 - 'fa-file-picture-o', 434 - 'fa-file-image-o', 435 - 'fa-file-zip-o', 436 - 'fa-file-archive-o', 437 - 'fa-file-sound-o', 438 - 'fa-file-movie-o', 439 - 'fa-file-code-o', 440 - 'fa-vine', 441 - 'fa-codepen', 442 - 'fa-jsfiddle', 443 - 'fa-life-bouy', 444 - 'fa-support', 445 - 'fa-life-ring', 446 - 'fa-circle-o-notch', 447 - 'fa-rebel', 448 - 'fa-empire', 449 - 'fa-git-square', 450 - 'fa-git', 451 - 'fa-hacker-news', 452 - 'fa-tencent-weibo', 453 - 'fa-qq', 454 - 'fa-wechat', 455 - 'fa-send', 456 - 'fa-paper-plane', 457 - 'fa-send-o', 458 - 'fa-paper-plane-o', 459 - 'fa-history', 460 - 'fa-circle-thin', 461 - 'fa-header', 462 - 'fa-paragraph', 463 - 'fa-sliders', 464 - 'fa-share-alt', 465 - 'fa-share-alt-square', 466 - 'fa-bomb', 467 - ); 468 - } 469 - 470 - private function listColors() { 471 - return array( 472 - null, 473 - 'bluegrey', 474 - 'white', 475 - 'red', 476 - 'orange', 477 - 'yellow', 478 - 'green', 479 - 'blue', 480 - 'sky', 481 - 'indigo', 482 - 'violet', 483 - 'lightgreytext', 484 - 'lightbluetext', 485 - ); 486 - } 487 - 488 13 private function listTransforms() { 489 14 return array( 490 15 'ph-rotate-90', ··· 498 23 499 24 public function renderExample() { 500 25 501 - $colors = $this->listColors(); 26 + $colors = PHUIIconView::getFontIconColors(); 27 + $colors = array_merge(array(null), $colors); 28 + $fas = PHUIIconView::getFontIcons(); 29 + 502 30 $trans = $this->listTransforms(); 503 - $fas = $this->listFontAwesome(); 504 31 505 32 $cicons = array(); 506 33 foreach ($colors as $color) {
+20
src/docs/user/userguide/remarkup.diviner
··· 442 442 When you submit your comment, this will add them as a CC on the revision or task 443 443 if they aren't already CC'd. 444 444 445 + Icons 446 + ===== 447 + 448 + You can add icons to comments using the `{icon ...}` syntax. For example: 449 + 450 + {icon camera} 451 + 452 + This renders: {icon camera} 453 + 454 + You can select a color for icons: 455 + 456 + {icon camera color=blue} 457 + 458 + This renders: {icon camera color=blue} 459 + 460 + For a list of available icons and colors, check the UIExamples application. 461 + (The icons are sourced from 462 + [[ http://fortawesome.github.io/Font-Awesome/ | FontAwesome ]], so you can also 463 + browse the collection there.) 464 + 445 465 = Phriction Documents = 446 466 447 467 You can link to Phriction documents with a name or path:
+474
src/view/phui/PHUIIconView.php
··· 112 112 return idx(json_decode($data, true), 'sprites'); 113 113 } 114 114 115 + public static function getFontIcons() { 116 + return array( 117 + 'fa-glass', 118 + 'fa-music', 119 + 'fa-search', 120 + 'fa-envelope-o', 121 + 'fa-heart', 122 + 'fa-star', 123 + 'fa-star-o', 124 + 'fa-user', 125 + 'fa-film', 126 + 'fa-th-large', 127 + 'fa-th', 128 + 'fa-th-list', 129 + 'fa-check', 130 + 'fa-times', 131 + 'fa-search-plus', 132 + 'fa-search-minus', 133 + 'fa-power-off', 134 + 'fa-signal', 135 + 'fa-cog', 136 + 'fa-trash-o', 137 + 'fa-home', 138 + 'fa-file-o', 139 + 'fa-clock-o', 140 + 'fa-road', 141 + 'fa-download', 142 + 'fa-arrow-circle-o-down', 143 + 'fa-arrow-circle-o-up', 144 + 'fa-inbox', 145 + 'fa-play-circle-o', 146 + 'fa-repeat', 147 + 'fa-refresh', 148 + 'fa-list-alt', 149 + 'fa-lock', 150 + 'fa-flag', 151 + 'fa-headphones', 152 + 'fa-volume-off', 153 + 'fa-volume-down', 154 + 'fa-volume-up', 155 + 'fa-qrcode', 156 + 'fa-barcode', 157 + 'fa-tag', 158 + 'fa-tags', 159 + 'fa-book', 160 + 'fa-bookmark', 161 + 'fa-print', 162 + 'fa-camera', 163 + 'fa-font', 164 + 'fa-bold', 165 + 'fa-italic', 166 + 'fa-text-height', 167 + 'fa-text-width', 168 + 'fa-align-left', 169 + 'fa-align-center', 170 + 'fa-align-right', 171 + 'fa-align-justify', 172 + 'fa-list', 173 + 'fa-outdent', 174 + 'fa-indent', 175 + 'fa-video-camera', 176 + 'fa-picture-o', 177 + 'fa-pencil', 178 + 'fa-map-marker', 179 + 'fa-adjust', 180 + 'fa-tint', 181 + 'fa-pencil-square-o', 182 + 'fa-share-square-o', 183 + 'fa-check-square-o', 184 + 'fa-arrows', 185 + 'fa-step-backward', 186 + 'fa-fast-backward', 187 + 'fa-backward', 188 + 'fa-play', 189 + 'fa-pause', 190 + 'fa-stop', 191 + 'fa-forward', 192 + 'fa-fast-forward', 193 + 'fa-step-forward', 194 + 'fa-eject', 195 + 'fa-chevron-left', 196 + 'fa-chevron-right', 197 + 'fa-plus-circle', 198 + 'fa-minus-circle', 199 + 'fa-times-circle', 200 + 'fa-check-circle', 201 + 'fa-question-circle', 202 + 'fa-info-circle', 203 + 'fa-crosshairs', 204 + 'fa-times-circle-o', 205 + 'fa-check-circle-o', 206 + 'fa-ban', 207 + 'fa-arrow-left', 208 + 'fa-arrow-right', 209 + 'fa-arrow-up', 210 + 'fa-arrow-down', 211 + 'fa-share', 212 + 'fa-expand', 213 + 'fa-compress', 214 + 'fa-plus', 215 + 'fa-minus', 216 + 'fa-asterisk', 217 + 'fa-exclamation-circle', 218 + 'fa-gift', 219 + 'fa-leaf', 220 + 'fa-fire', 221 + 'fa-eye', 222 + 'fa-eye-slash', 223 + 'fa-exclamation-triangle', 224 + 'fa-plane', 225 + 'fa-calendar', 226 + 'fa-random', 227 + 'fa-comment', 228 + 'fa-magnet', 229 + 'fa-chevron-up', 230 + 'fa-chevron-down', 231 + 'fa-retweet', 232 + 'fa-shopping-cart', 233 + 'fa-folder', 234 + 'fa-folder-open', 235 + 'fa-arrows-v', 236 + 'fa-arrows-h', 237 + 'fa-bar-chart-o', 238 + 'fa-twitter-square', 239 + 'fa-facebook-square', 240 + 'fa-camera-retro', 241 + 'fa-key', 242 + 'fa-cogs', 243 + 'fa-comments', 244 + 'fa-thumbs-o-up', 245 + 'fa-thumbs-o-down', 246 + 'fa-star-half', 247 + 'fa-heart-o', 248 + 'fa-sign-out', 249 + 'fa-linkedin-square', 250 + 'fa-thumb-tack', 251 + 'fa-external-link', 252 + 'fa-sign-in', 253 + 'fa-trophy', 254 + 'fa-github-square', 255 + 'fa-upload', 256 + 'fa-lemon-o', 257 + 'fa-phone', 258 + 'fa-square-o', 259 + 'fa-bookmark-o', 260 + 'fa-phone-square', 261 + 'fa-twitter', 262 + 'fa-facebook', 263 + 'fa-github', 264 + 'fa-unlock', 265 + 'fa-credit-card', 266 + 'fa-rss', 267 + 'fa-hdd-o', 268 + 'fa-bullhorn', 269 + 'fa-bell', 270 + 'fa-certificate', 271 + 'fa-hand-o-right', 272 + 'fa-hand-o-left', 273 + 'fa-hand-o-up', 274 + 'fa-hand-o-down', 275 + 'fa-arrow-circle-left', 276 + 'fa-arrow-circle-right', 277 + 'fa-arrow-circle-up', 278 + 'fa-arrow-circle-down', 279 + 'fa-globe', 280 + 'fa-wrench', 281 + 'fa-tasks', 282 + 'fa-filter', 283 + 'fa-briefcase', 284 + 'fa-arrows-alt', 285 + 'fa-users', 286 + 'fa-link', 287 + 'fa-cloud', 288 + 'fa-flask', 289 + 'fa-scissors', 290 + 'fa-files-o', 291 + 'fa-paperclip', 292 + 'fa-floppy-o', 293 + 'fa-square', 294 + 'fa-bars', 295 + 'fa-list-ul', 296 + 'fa-list-ol', 297 + 'fa-strikethrough', 298 + 'fa-underline', 299 + 'fa-table', 300 + 'fa-magic', 301 + 'fa-truck', 302 + 'fa-pinterest', 303 + 'fa-pinterest-square', 304 + 'fa-google-plus-square', 305 + 'fa-google-plus', 306 + 'fa-money', 307 + 'fa-caret-down', 308 + 'fa-caret-up', 309 + 'fa-caret-left', 310 + 'fa-caret-right', 311 + 'fa-columns', 312 + 'fa-sort', 313 + 'fa-sort-asc', 314 + 'fa-sort-desc', 315 + 'fa-envelope', 316 + 'fa-linkedin', 317 + 'fa-undo', 318 + 'fa-gavel', 319 + 'fa-tachometer', 320 + 'fa-comment-o', 321 + 'fa-comments-o', 322 + 'fa-bolt', 323 + 'fa-sitemap', 324 + 'fa-umbrella', 325 + 'fa-clipboard', 326 + 'fa-lightbulb-o', 327 + 'fa-exchange', 328 + 'fa-cloud-download', 329 + 'fa-cloud-upload', 330 + 'fa-user-md', 331 + 'fa-stethoscope', 332 + 'fa-suitcase', 333 + 'fa-bell-o', 334 + 'fa-coffee', 335 + 'fa-cutlery', 336 + 'fa-file-text-o', 337 + 'fa-building-o', 338 + 'fa-hospital-o', 339 + 'fa-ambulance', 340 + 'fa-medkit', 341 + 'fa-fighter-jet', 342 + 'fa-beer', 343 + 'fa-h-square', 344 + 'fa-plus-square', 345 + 'fa-angle-double-left', 346 + 'fa-angle-double-right', 347 + 'fa-angle-double-up', 348 + 'fa-angle-double-down', 349 + 'fa-angle-left', 350 + 'fa-angle-right', 351 + 'fa-angle-up', 352 + 'fa-angle-down', 353 + 'fa-desktop', 354 + 'fa-laptop', 355 + 'fa-tablet', 356 + 'fa-mobile', 357 + 'fa-circle-o', 358 + 'fa-quote-left', 359 + 'fa-quote-right', 360 + 'fa-spinner', 361 + 'fa-circle', 362 + 'fa-reply', 363 + 'fa-github-alt', 364 + 'fa-folder-o', 365 + 'fa-folder-open-o', 366 + 'fa-smile-o', 367 + 'fa-frown-o', 368 + 'fa-meh-o', 369 + 'fa-gamepad', 370 + 'fa-keyboard-o', 371 + 'fa-flag-o', 372 + 'fa-flag-checkered', 373 + 'fa-terminal', 374 + 'fa-code', 375 + 'fa-reply-all', 376 + 'fa-mail-reply-all', 377 + 'fa-star-half-o', 378 + 'fa-location-arrow', 379 + 'fa-crop', 380 + 'fa-code-fork', 381 + 'fa-chain-broken', 382 + 'fa-question', 383 + 'fa-info', 384 + 'fa-exclamation', 385 + 'fa-superscript', 386 + 'fa-subscript', 387 + 'fa-eraser', 388 + 'fa-puzzle-piece', 389 + 'fa-microphone', 390 + 'fa-microphone-slash', 391 + 'fa-shield', 392 + 'fa-calendar-o', 393 + 'fa-fire-extinguisher', 394 + 'fa-rocket', 395 + 'fa-maxcdn', 396 + 'fa-chevron-circle-left', 397 + 'fa-chevron-circle-right', 398 + 'fa-chevron-circle-up', 399 + 'fa-chevron-circle-down', 400 + 'fa-html5', 401 + 'fa-css3', 402 + 'fa-anchor', 403 + 'fa-unlock-alt', 404 + 'fa-bullseye', 405 + 'fa-ellipsis-h', 406 + 'fa-ellipsis-v', 407 + 'fa-rss-square', 408 + 'fa-play-circle', 409 + 'fa-ticket', 410 + 'fa-minus-square', 411 + 'fa-minus-square-o', 412 + 'fa-level-up', 413 + 'fa-level-down', 414 + 'fa-check-square', 415 + 'fa-pencil-square', 416 + 'fa-external-link-square', 417 + 'fa-share-square', 418 + 'fa-compass', 419 + 'fa-caret-square-o-down', 420 + 'fa-caret-square-o-up', 421 + 'fa-caret-square-o-right', 422 + 'fa-eur', 423 + 'fa-gbp', 424 + 'fa-usd', 425 + 'fa-inr', 426 + 'fa-jpy', 427 + 'fa-rub', 428 + 'fa-krw', 429 + 'fa-btc', 430 + 'fa-file', 431 + 'fa-file-text', 432 + 'fa-sort-alpha-asc', 433 + 'fa-sort-alpha-desc', 434 + 'fa-sort-amount-asc', 435 + 'fa-sort-amount-desc', 436 + 'fa-sort-numeric-asc', 437 + 'fa-sort-numeric-desc', 438 + 'fa-thumbs-up', 439 + 'fa-thumbs-down', 440 + 'fa-youtube-square', 441 + 'fa-youtube', 442 + 'fa-xing', 443 + 'fa-xing-square', 444 + 'fa-youtube-play', 445 + 'fa-dropbox', 446 + 'fa-stack-overflow', 447 + 'fa-instagram', 448 + 'fa-flickr', 449 + 'fa-adn', 450 + 'fa-bitbucket', 451 + 'fa-bitbucket-square', 452 + 'fa-tumblr', 453 + 'fa-tumblr-square', 454 + 'fa-long-arrow-down', 455 + 'fa-long-arrow-up', 456 + 'fa-long-arrow-left', 457 + 'fa-long-arrow-right', 458 + 'fa-apple', 459 + 'fa-windows', 460 + 'fa-android', 461 + 'fa-linux', 462 + 'fa-dribbble', 463 + 'fa-skype', 464 + 'fa-foursquare', 465 + 'fa-trello', 466 + 'fa-female', 467 + 'fa-male', 468 + 'fa-gittip', 469 + 'fa-sun-o', 470 + 'fa-moon-o', 471 + 'fa-archive', 472 + 'fa-bug', 473 + 'fa-vk', 474 + 'fa-weibo', 475 + 'fa-renren', 476 + 'fa-pagelines', 477 + 'fa-stack-exchange', 478 + 'fa-arrow-circle-o-right', 479 + 'fa-arrow-circle-o-left', 480 + 'fa-caret-square-o-left', 481 + 'fa-dot-circle-o', 482 + 'fa-wheelchair', 483 + 'fa-vimeo-square', 484 + 'fa-try', 485 + 'fa-plus-square-o', 486 + 'fa-space-shuttle', 487 + 'fa-slack', 488 + 'fa-envelope-square', 489 + 'fa-wordpress', 490 + 'fa-openid', 491 + 'fa-institution', 492 + 'fa-bank', 493 + 'fa-university', 494 + 'fa-mortar-board', 495 + 'fa-graduation-cap', 496 + 'fa-yahoo', 497 + 'fa-google', 498 + 'fa-reddit', 499 + 'fa-reddit-square', 500 + 'fa-stumbleupon-circle', 501 + 'fa-stumbleupon', 502 + 'fa-delicious', 503 + 'fa-digg', 504 + 'fa-pied-piper-square', 505 + 'fa-pied-piper', 506 + 'fa-pied-piper-alt', 507 + 'fa-drupal', 508 + 'fa-joomla', 509 + 'fa-language', 510 + 'fa-fax', 511 + 'fa-building', 512 + 'fa-child', 513 + 'fa-paw', 514 + 'fa-spoon', 515 + 'fa-cube', 516 + 'fa-cubes', 517 + 'fa-behance', 518 + 'fa-behance-square', 519 + 'fa-steam', 520 + 'fa-steam-square', 521 + 'fa-recycle', 522 + 'fa-automobile', 523 + 'fa-car', 524 + 'fa-cab', 525 + 'fa-tree', 526 + 'fa-spotify', 527 + 'fa-deviantart', 528 + 'fa-soundcloud', 529 + 'fa-database', 530 + 'fa-file-pdf-o', 531 + 'fa-file-word-o', 532 + 'fa-file-excel-o', 533 + 'fa-file-powerpoint-o', 534 + 'fa-file-photo-o', 535 + 'fa-file-picture-o', 536 + 'fa-file-image-o', 537 + 'fa-file-zip-o', 538 + 'fa-file-archive-o', 539 + 'fa-file-sound-o', 540 + 'fa-file-movie-o', 541 + 'fa-file-code-o', 542 + 'fa-vine', 543 + 'fa-codepen', 544 + 'fa-jsfiddle', 545 + 'fa-life-bouy', 546 + 'fa-support', 547 + 'fa-life-ring', 548 + 'fa-circle-o-notch', 549 + 'fa-rebel', 550 + 'fa-empire', 551 + 'fa-git-square', 552 + 'fa-git', 553 + 'fa-hacker-news', 554 + 'fa-tencent-weibo', 555 + 'fa-qq', 556 + 'fa-wechat', 557 + 'fa-send', 558 + 'fa-paper-plane', 559 + 'fa-send-o', 560 + 'fa-paper-plane-o', 561 + 'fa-history', 562 + 'fa-circle-thin', 563 + 'fa-header', 564 + 'fa-paragraph', 565 + 'fa-sliders', 566 + 'fa-share-alt', 567 + 'fa-share-alt-square', 568 + 'fa-bomb', 569 + ); 570 + } 571 + 572 + public static function getFontIconColors() { 573 + return array( 574 + 'bluegrey', 575 + 'white', 576 + 'red', 577 + 'orange', 578 + 'yellow', 579 + 'green', 580 + 'blue', 581 + 'sky', 582 + 'indigo', 583 + 'violet', 584 + 'lightgreytext', 585 + 'lightbluetext', 586 + ); 587 + } 588 + 115 589 116 590 }