Исходный код вики Home
Редактировал(а) Андрей Ганьков 2025/08/09 18:00
Скрыть последних авторов
author | version | line-number | content |
---|---|---|---|
![]() |
10.1 | 1 | = Контакты = |
![]() |
1.1 | 2 | |
![]() |
10.1 | 3 | Телефон отдела продаж: +7-812-509-50-13 |
![]() |
1.1 | 4 | |
![]() |
10.1 | 5 | Телефон отдела разработки: +7-812-309-71-77 |
![]() |
1.1 | 6 | |
![]() |
10.1 | 7 | = Сервисы разработки = |
![]() |
1.1 | 8 | |
![]() |
10.1 | 9 | * [[tasks.qsolution.ru>>http://tasks.qsolution.ru]] - Трекер задач (Devprom) |
![]() |
1.1 | 10 | |
![]() |
10.1 | 11 | = Проекты = |
![]() |
1.1 | 12 | |
![]() |
10.1 | 13 | {{velocity}} |
14 | #set($parentPath = "Проекты.WebHome") | ||
15 | #set($parentDoc = $xwiki.getDocument($parentPath)) | ||
16 | #set($allChildren = $parentDoc.getChildren()) | ||
![]() |
1.1 | 17 | |
![]() |
10.1 | 18 | ## Получаем список документов |
19 | #set($childDocs = []) | ||
20 | #foreach($child in $allChildren) | ||
21 | #set($doc = $xwiki.getDocument($child)) | ||
22 | #set($discard = $childDocs.add($doc)) | ||
23 | #end | ||
![]() |
1.1 | 24 | |
![]() |
10.1 | 25 | ## Сортируем по заголовку |
26 | #set($sortedDocs = $sorttool.sort($childDocs, "title")) | ||
![]() |
1.1 | 27 | |
![]() |
10.1 | 28 | #if ($sortedDocs.size() > 0) |
29 | {{html clean="false"}} | ||
30 | <style> | ||
31 | .horizontal-list { | ||
32 | display: flex; | ||
33 | flex-wrap: wrap; | ||
34 | gap: 15px; | ||
35 | font-size: 18px; /* Увеличенный шрифт */ | ||
36 | } | ||
37 | .child-page { | ||
38 | background-color: #f0f0f0; | ||
39 | padding: 10px; | ||
40 | border-radius: 5px; | ||
41 | text-decoration: none; | ||
42 | color: #333; | ||
43 | } | ||
44 | .child-page:hover { | ||
45 | background-color: #d0d0d0; | ||
46 | } | ||
47 | </style> | ||
![]() |
1.1 | 48 | |
![]() |
10.1 | 49 | <div class="horizontal-list"> |
50 | #foreach($childDoc in $sortedDocs) | ||
51 | <a href="$childDoc.getURL()" class="child-page">$childDoc.getTitle()</a> | ||
52 | #end | ||
53 | </div> | ||
54 | {{/html}} | ||
55 | #end | ||
56 | {{/velocity}} | ||
![]() |
1.1 | 57 | |
![]() |
10.1 | 58 | = Облако тегов = |
![]() |
1.1 | 59 | |
![]() |
10.1 | 60 | {{tagcloud/}} |