Modifications pour le document FontAwesome

Modifié par Florent Charton le 2026/01/13 15:00

Depuis la version 1.1
modifié par superadmin
sur 2022/06/20 08:48
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/13.10.6]
À la version 4.1
modifié par Florent Charton
sur 2026/01/13 15:00
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/17.10.2]

Résumé

Détails

Propriétés de la Page
Auteur du document
... ... @@ -1,1 +1,1 @@
1 -XWiki.superadmin
1 +xwiki:XWiki.fcharton
Contenu
... ... @@ -1,9 +1,8 @@
1 1  ## General settings
2 2  xwiki.iconset.type = font
3 -xwiki.iconset.ssx = IconThemes.FontAwesome
4 -xwiki.iconset.jsx = IconThemes.FontAwesome
5 -xwiki.iconset.render.wiki = {{html clean="false"}}<span class="fa fa-$icon"></span>{{/html}}
6 -xwiki.iconset.render.html = <span class="fa fa-$icon"></span>
3 +xwiki.iconset.css = $services.webjars.url('org.webjars:font-awesome', 'css/font-awesome.min.css')
4 +xwiki.iconset.render.wiki = {{html clean="false"}}<span class="fa fa-$icon" aria-hidden="true"></span>{{/html}}
5 +xwiki.iconset.render.html = <span class="fa fa-$icon" aria-hidden="true"></span>
7 7  xwiki.iconset.icon.cssClass = fa fa-$icon
8 8  
9 9  ## XWiki Icon Set (see: http://design.xwiki.org/xwiki/bin/view/Proposal/XWiki+Icon+Set).
... ... @@ -92,6 +92,7 @@
92 92  user = user
93 93  group = group
94 94  heart = heart
94 +heart_empty = heart-o
95 95  question = question-circle
96 96  image = image
97 97  key = key
... ... @@ -163,7 +163,12 @@
163 163  table_sort = sort
164 164  fast-backward = fast-backward
165 165  arrow_in = window-minimize
166 +reposition = arrows
166 166  
168 +## Since 17.10.0RC1
169 +sort-ascending = sort-amount-asc
170 +sort-descending = sort-amount-desc
171 +
167 167  ## Silk icons for backward compatibility (see: http://design.xwiki.org/xwiki/bin/view/Proposal/Silk+Mapping).
168 168  accept = check
169 169  anchor = anchor
... ... @@ -354,6 +354,7 @@
354 354  user_add=user-plus
355 355  user_delete=user-times
356 356  vcard = vcard-o
362 +wand = magic
357 357  weather_clouds = cloud
358 358  weather_sun = sun-o
359 359  weather_snow=snowflake-o
XWiki.JavaScriptExtension[0]
Mode de mise en cache
... ... @@ -1,1 +1,0 @@
1 -long
Code
... ... @@ -1,13 +1,0 @@
1 -// Sometimes IE8 loads the font *after* the rendering of the page so it does not display the icon correctly.
2 -// To fix this, we reload the stylesheet when we receive the 'document ready' event so that the browser recomputes
3 -// the display. Although, it does not solve everything (see https://jira.xwiki.org/browse/XWIKI-10813).
4 -require(['jquery'], function($) {
5 - // This hack concerns IE8 only
6 - if (navigator.userAgent.indexOf('MSIE 8.0') > -1) {
7 - $(function() {
8 - var link = $("link[href*='IconThemes/FontAwesome']");
9 - link[0].href = link[0].href;
10 - });
11 - }
12 -});
13 -
Nom
... ... @@ -1,1 +1,0 @@
1 -IE8 fix
Parser le contenu
... ... @@ -1,1 +1,0 @@
1 -Non
Utiliser cette extension
... ... @@ -1,1 +1,0 @@
1 -onDemand
XWiki.StyleSheetExtension[0]
Mode de mise en cache
... ... @@ -1,1 +1,0 @@
1 -long
Code
... ... @@ -1,1 +1,0 @@
1 -@import "$services.webjars.url('org.webjars:font-awesome', 'css/font-awesome.min.css')"
Nom
... ... @@ -1,1 +1,0 @@
1 -Font-Awesome CSS
Parser le contenu
... ... @@ -1,1 +1,0 @@
1 -Oui
Utiliser cette extension
... ... @@ -1,1 +1,0 @@
1 -onDemand