Изменения документа FontAwesome

Редактировал(а) Давид Гавриков 2024/10/22 15:18

От версии 1.1
отредактировано Андрей Ганьков
на 2020/03/30 19:01
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/12.1]
К версии 7.1
отредактировано Давид Гавриков
на 2024/10/22 15:18
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/16.8.0]

Сводка

Подробности

Свойства страницы
Автор документа
... ... @@ -1,1 +1,1 @@
1 -XWiki.gav
1 +XWiki.gavrikof
Содержимое
... ... @@ -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).
... ... @@ -156,6 +156,14 @@
156 156  log-in=sign-in
157 157  log-out=sign-out
158 158  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
165 +reposition = arrows
159 159  
160 160  ## Silk icons for backward compatibility (see: http://design.xwiki.org/xwiki/bin/view/Proposal/Silk+Mapping).
161 161  accept = check
... ... @@ -288,7 +288,6 @@
288 288  newspaper=newspaper-o
289 289  note=sticky-note-o
290 290  paintbrush=paint-brush
291 -page = file
292 292  page_white = file-o
293 293  page_white_acrobat = file-pdf-o
294 294  page_white_code = file-code-o
... ... @@ -348,6 +348,7 @@
348 348  user_add=user-plus
349 349  user_delete=user-times
350 350  vcard = vcard-o
357 +wand = magic
351 351  weather_clouds = cloud
352 352  weather_sun = sun-o
353 353  weather_snow=snowflake-o
XWiki.JavaScriptExtension[0]
Политика кеширования
... ... @@ -1,1 +1,0 @@
1 -long
Код
... ... @@ -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 -
Название
... ... @@ -1,1 +1,0 @@
1 -IE8 fix
Разбор содержимого
... ... @@ -1,1 +1,0 @@
1 -Нет
Использовать это расширение
... ... @@ -1,1 +1,0 @@
1 -onDemand
XWiki.StyleSheetExtension[0]
Политика кеширования
... ... @@ -1,1 +1,0 @@
1 -long
Код
... ... @@ -1,1 +1,0 @@
1 -@import "$services.webjars.url('org.webjars:font-awesome', 'css/font-awesome.min.css')"
Название
... ... @@ -1,1 +1,0 @@
1 -Font-Awesome CSS
Разбор содержимого
... ... @@ -1,1 +1,0 @@
1 -Да
Использовать это расширение
... ... @@ -1,1 +1,0 @@
1 -onDemand