Изменения документа Home
Редактировал(а) Андрей Ганьков 2025/03/13 15:09
От версии 12.1
отредактировано Андрей Ганьков
на 2025/03/13 15:06
на 2025/03/13 15:06
Изменить комментарий:
К данной версии нет комментариев
К версии 11.1
отредактировано Андрей Ганьков
на 2025/03/13 14:56
на 2025/03/13 14:56
Изменить комментарий:
К данной версии нет комментариев
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -11,43 +11,17 @@ 11 11 = Проекты = 12 12 13 13 {{velocity}} 14 -#set($parentPath = "Новая страница.WebHome") 15 -#set($parentDoc = $xwiki.getDocument($parentPath)) 16 -#set($allChildren = $parentDoc.getChildren()) 17 - 18 -#if ($allChildren.size() > 0) 19 - {{html clean="false"}} 20 - <style> 21 - .horizontal-list { 22 - display: flex; 23 - flex-wrap: wrap; 24 - gap: 15px; 25 - font-size: 18px; /* Увеличенный шрифт */ 26 - } 27 - .child-page { 28 - background-color: #f0f0f0; 29 - padding: 10px; 30 - border-radius: 5px; 31 - text-decoration: none; 32 - color: #333; 33 - } 34 - .child-page:hover { 35 - background-color: #d0d0d0; 36 - } 37 - </style> 38 - 14 +#set($children = $xwiki.getDocument($doc.fullName).getChildren()) 15 +#if ($children.size() > 0) 39 39 <div class="horizontal-list"> 40 - #foreach($child in $ allChildren)17 + #foreach($child in $children) 41 41 #set($childDoc = $xwiki.getDocument($child)) 42 42 <a href="$childDoc.getURL()" class="child-page">$childDoc.getTitle()</a> 43 43 #end 44 44 </div> 45 - {{/html}} 46 46 #end 47 47 {{/velocity}} 48 48 49 - 50 - 51 51 = Облако тегов = 52 52 53 53 {{tagcloud/}}