Änderungen von Dokument FontAwesome

Zuletzt geändert von MACH ProForms GmbH am 30.01.2025

Von Version 3.1
bearbeitet von MACH ProForms GmbH
am 30.01.2025
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/16.10.3]
Auf Version 2.1
bearbeitet von MACH ProForms GmbH
am 20.08.2020
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/12.6.1]

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -1,8 +1,9 @@
1 1  ## General settings
2 2  xwiki.iconset.type = font
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>
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>
6 6  xwiki.iconset.icon.cssClass = fa fa-$icon
7 7  
8 8  ## XWiki Icon Set (see: http://design.xwiki.org/xwiki/bin/view/Proposal/XWiki+Icon+Set).
... ... @@ -158,11 +158,6 @@
158 158  translate=language
159 159  minus-square = minus-square
160 160  plus-square = plus-square
161 -filter = filter
162 -table_sort = sort
163 -fast-backward = fast-backward
164 -arrow_in = window-minimize
165 -reposition = arrows
166 166  
167 167  ## Silk icons for backward compatibility (see: http://design.xwiki.org/xwiki/bin/view/Proposal/Silk+Mapping).
168 168  accept = check
... ... @@ -354,7 +354,6 @@
354 354  user_add=user-plus
355 355  user_delete=user-times
356 356  vcard = vcard-o
357 -wand = magic
358 358  weather_clouds = cloud
359 359  weather_sun = sun-o
360 360  weather_snow=snowflake-o
XWiki.JavaScriptExtension[0]
Pufferstrategie
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,13 @@
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 +
Name
... ... @@ -1,0 +1,1 @@
1 +IE8 fix
Inhalt parsen
... ... @@ -1,0 +1,1 @@
1 +Nein
Benutze diese Erweiterung
... ... @@ -1,0 +1,1 @@
1 +onDemand
XWiki.StyleSheetExtension[0]
Pufferstrategie
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,1 @@
1 +@import "$services.webjars.url('org.webjars:font-awesome', 'css/font-awesome.min.css')"
Name
... ... @@ -1,0 +1,1 @@
1 +Font-Awesome CSS
Inhalt parsen
... ... @@ -1,0 +1,1 @@
1 +Ja
Benutze diese Erweiterung
... ... @@ -1,0 +1,1 @@
1 +onDemand