Изменения документа FontAwesome
Редактировал(а) Георгий Глущенко 2026/04/21 19:00
От версии 9.1
отредактировано Георгий Глущенко
на 2026/04/21 19:00
на 2026/04/21 19:00
Изменить комментарий:
Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/18.2.1]
К версии 3.1
отредактировано Андрей Ганьков
на 2021/11/22 14:58
на 2021/11/22 14:58
Изменить комментарий:
Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/13.9]
Сводка
-
Свойства страницы (2 изменено, 0 добавлено, 0 удалено)
-
Объекты (0 изменено, 2 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Автор документа
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.g gv1 +XWiki.gav - Содержимое
-
... ... @@ -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/all.min.css'),$services.webjars.url('org.webjars:font-awesome', 'css/v4-shims.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). ... ... @@ -91,7 +91,6 @@ 91 91 user = user 92 92 group = group 93 93 heart = heart 94 -heart_empty = heart-o 95 95 question = question-circle 96 96 image = image 97 97 key = key ... ... @@ -163,15 +163,7 @@ 163 163 table_sort = sort 164 164 fast-backward = fast-backward 165 165 arrow_in = window-minimize 166 -reposition = arrows 167 167 168 -## Since 17.10.0RC1 169 -sort-ascending = sort-amount-asc 170 -sort-descending = sort-amount-desc 171 - 172 -## Since 18.0.0RC1 173 -note = sticky-note 174 - 175 175 ## Silk icons for backward compatibility (see: http://design.xwiki.org/xwiki/bin/view/Proposal/Silk+Mapping). 176 176 accept = check 177 177 anchor = anchor ... ... @@ -362,7 +362,6 @@ 362 362 user_add=user-plus 363 363 user_delete=user-times 364 364 vcard = vcard-o 365 -wand = magic 366 366 weather_clouds = cloud 367 367 weather_sun = sun-o 368 368 weather_snow=snowflake-o
- XWiki.JavaScriptExtension[0]
-
- Политика кеширования
-
... ... @@ -1,0 +1,1 @@ 1 +long - Код
-
... ... @@ -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 + - Название
-
... ... @@ -1,0 +1,1 @@ 1 +IE8 fix - Разбор содержимого
-
... ... @@ -1,0 +1,1 @@ 1 +Нет - Использовать это расширение
-
... ... @@ -1,0 +1,1 @@ 1 +onDemand
- XWiki.StyleSheetExtension[0]
-
- Политика кеширования
-
... ... @@ -1,0 +1,1 @@ 1 +long - Код
-
... ... @@ -1,0 +1,1 @@ 1 +@import "$services.webjars.url('org.webjars:font-awesome', 'css/font-awesome.min.css')" - Название
-
... ... @@ -1,0 +1,1 @@ 1 +Font-Awesome CSS - Разбор содержимого
-
... ... @@ -1,0 +1,1 @@ 1 +Да - Использовать это расширение
-
... ... @@ -1,0 +1,1 @@ 1 +onDemand