Changes for page Icon Picker
Last modified by superadmin on 2025/05/07 14:14
From version 4.1
edited by Thomas Coelho (local)
on 2023/11/03 15:25
on 2023/11/03 15:25
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-icon-ui/15.9]
To version 1.1
edited by Thomas Coelho (local)
on 2022/04/20 16:06
on 2022/04/20 16:06
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-icon-ui/14.2.1]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -10,7 +10,7 @@ 10 10 #set($map = {}) 11 11 #set($discard = $map.put('iconThemes', $services.icon.iconSetNames)) 12 12 #set($discard = $map.put('currentIconTheme', $services.icon.currentIconSetName)) 13 - #jsonResponse($map)13 + $jsontool.serialize($map) 14 14 ########################### 15 15 ## DATA: ICONS 16 16 ########################### ... ... @@ -21,10 +21,9 @@ 21 21 #set($icon = {}) 22 22 #set($discard = $icon.put('name', $xwikiIcon)) 23 23 #set($discard = $icon.put('render', $services.icon.renderHTML($xwikiIcon, $iconTheme))) 24 - #set($discard = $icon.put('metadata', $services.icon.getMetaData($xwikiIcon, $iconTheme))) 25 25 #set($discard = $icons.add($icon)) 26 26 #end 27 - #jsonResponse($icons)26 + $jsontool.serialize($icons) 28 28 #else 29 29 = Presentation = 30 30 The Icon Picker is a jQuery plugin written by XWiki to help user selecting an icon. See [[IconPickerMacro]] for using this picker easily. If you want to use it manually, read the following.
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -19,7 +19,7 @@ 19 19 height: 80px; 20 20 width: 100px; 21 21 text-align: center; 22 - border-radius: 7px;22 + border-radius: 4px; 23 23 vertical-align: middle; 24 24 overflow: hidden; 25 25 padding: 10px;