Изменения документа FontAwesome
Редактировал(а) Давид Гавриков 2024/10/22 15:18
От версии 4.1
отредактировано Андрей Ганьков
на 2022/02/04 18:15
на 2022/02/04 18:15
Изменить комментарий:
Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/14.0]
К версии 1.1
отредактировано Андрей Ганьков
на 2020/03/30 19:01
на 2020/03/30 19:01
Изменить комментарий:
Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/12.1]
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
-
Объекты (0 изменено, 1 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,6 +1,7 @@ 1 1 ## General settings 2 2 xwiki.iconset.type = font 3 3 xwiki.iconset.ssx = IconThemes.FontAwesome 4 +xwiki.iconset.jsx = IconThemes.FontAwesome 4 4 xwiki.iconset.render.wiki = {{html clean="false"}}<span class="fa fa-$icon"></span>{{/html}} 5 5 xwiki.iconset.render.html = <span class="fa fa-$icon"></span> 6 6 xwiki.iconset.icon.cssClass = fa fa-$icon ... ... @@ -155,13 +155,6 @@ 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 165 165 166 166 ## Silk icons for backward compatibility (see: http://design.xwiki.org/xwiki/bin/view/Proposal/Silk+Mapping). 167 167 accept = check ... ... @@ -294,6 +294,7 @@ 294 294 newspaper=newspaper-o 295 295 note=sticky-note-o 296 296 paintbrush=paint-brush 291 +page = file 297 297 page_white = file-o 298 298 page_white_acrobat = file-pdf-o 299 299 page_white_code = file-code-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