Changes for page FontAwesome

Last modified by Martin Výlet on 19.10.2024 11:14

From version 2.1
edited by Administrator
on 15.08.2017 12:57
Change comment: Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/9.6]
To version 3.1
edited by superadmin
on 06.01.2023 12:57
Change comment: Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/14.10.2]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.xwikiadm
1 +XWiki.superadmin
Content
... ... @@ -1,9 +1,9 @@
1 1  ## General settings
2 2  xwiki.iconset.type = font
3 3  xwiki.iconset.ssx = IconThemes.FontAwesome
4 -xwiki.iconset.jsx = IconThemes.FontAwesome
5 5  xwiki.iconset.render.wiki = {{html clean="false"}}<span class="fa fa-$icon"></span>{{/html}}
6 6  xwiki.iconset.render.html = <span class="fa fa-$icon"></span>
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).
9 9  home = home
... ... @@ -155,6 +155,13 @@
155 155  log-in=sign-in
156 156  log-out=sign-out
157 157  th=th
158 +translate=language
159 +minus-square = minus-square
160 +plus-square = plus-square
161 +filter = filter
162 +table_sort = sort
163 +fast-backward = fast-backward
164 +arrow_in = window-minimize
158 158  
159 159  ## Silk icons for backward compatibility (see: http://design.xwiki.org/xwiki/bin/view/Proposal/Silk+Mapping).
160 160  accept = check
... ... @@ -198,6 +198,7 @@
198 198  building = building
199 199  bullet_arrow_down = caret-down
200 200  bullet_arrow_up = caret-up
208 +bullet_black = circle
201 201  bullet_go = caret-right
202 202  cake=birthday-cake
203 203  calculator = calculator
... ... @@ -286,7 +286,6 @@
286 286  newspaper=newspaper-o
287 287  note=sticky-note-o
288 288  paintbrush=paint-brush
289 -page = file
290 290  page_white = file-o
291 291  page_white_acrobat = file-pdf-o
292 292  page_white_code = file-code-o
... ... @@ -307,6 +307,7 @@
307 307  rosette = certificate
308 308  rss = rss
309 309  shape_group=object-group
317 +shape_square=square-o
310 310  shape_ungroup=object-ungroup
311 311  shield = shield
312 312  sitemap=sitemap
... ... @@ -326,6 +326,7 @@
326 326  text_align_right = align-right
327 327  text_bold = bold
328 328  text_columns = columns
337 +text_heading_1 = header
329 329  text_indent = indent
330 330  text_indent_remove = outdent
331 331  text_italic = italic
XWiki.JavaScriptExtension[0]
Caching policy
... ... @@ -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 -
Name
... ... @@ -1,1 +1,0 @@
1 -IE8 fix
Parse content
... ... @@ -1,1 +1,0 @@
1 -No
Use this extension
... ... @@ -1,1 +1,0 @@
1 -onDemand