Änderungen von Dokument Theme Sheet
Zuletzt geändert von Daniel Herrmann am 2025/11/08 02:46
Von Version 1.1
bearbeitet von admin
am 2025/02/23 19:43
am 2025/02/23 19:43
Änderungskommentar:
Install extension [org.xwiki.platform:xwiki-platform-flamingo-theme-ui/17.0.0]
Auf Version
2.1
bearbeitet von Daniel Herrmann
am 2025/11/08 02:46
am 2025/11/08 02:46
Änderungskommentar:
Install extension [org.xwiki.platform:xwiki-platform-flamingo-theme-ui/17.9.0]
Zusammenfassung
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.dherrman - Inhalt
-
... ... @@ -14,7 +14,8 @@ 14 14 ############################ 15 15 #set($variables = { 16 16 "logos": { 17 - "logo": "image" 17 + "logo": "image", 18 + "logo-description": "text" 18 18 }, 19 19 "base-colors": { 20 20 "text-color": "color", ... ... @@ -197,8 +197,16 @@ 197 197 #foreach($var in $catVar.keySet()) 198 198 #set($varName = $var) 199 199 #set($varType = $catVar.get($varName)) 201 + #set($hintKey = "${obj.xWikiClass.name}_${varName}_hint") 202 + #set($hint = $services.localization.render($hintKey)) 203 + #if($hint == $hintKey) 204 + #set($hint = $NULL) 205 + #end 200 200 <div class="form-group"> 201 201 <label for="var-$varName" class="col-xs-12">@$varName</label> 208 + #if ($hint) 209 + <span class="col-xs-12 xHint">$escapetool.xml($hint)</span> 210 + #end 202 202 <div class="col-xs-12"> 203 203 #if($varType == 'image') 204 204 #fieldImage($varName, $obj)
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -15,3 +15,11 @@ 15 15 #iframe { 16 16 height: 400px; 17 17 } 18 + 19 +/* When reworking the DOM of this form, use the standard vertical form structure to avoid hard-coding styles like 20 +this. */ 21 +#panel-theme-variables .xHint { 22 + color: $theme.textSecondaryColor; 23 + font-size: smaller; 24 + margin: 0.3em 0; 25 +}