Изменения документа 02. Деятельность СЗН

Редактировал(а) Мария Дужая 2024/08/15 14:18

От версии 2.3
отредактировано Admin Admin
на 2024/05/18 01:39
Изменить комментарий: К данной версии нет комментариев
К версии 2.1
отредактировано Admin Admin
на 2024/05/18 00:56
Изменить комментарий: К данной версии нет комментариев

Сводка

Подробности

Свойства страницы
Содержимое
... ... @@ -18,17 +18,23 @@
18 18   ul.button-list {
19 19   padding: 0;
20 20   list-style-type: none;
21 - display: flex;
22 - flex-wrap: wrap;
23 23   }
24 24  
25 - a.button-link {
23 + .button-list li {
24 + display: inline-block;
25 + vertical-align: top;
26 + margin: 10px;
27 + }
28 +
29 + .button-link {
30 + display: inline-block;
31 + a:link, a:active, a:visited {
26 26   display: flex;
27 27   align-items: center;
28 28   justify-content: center;
29 29   width: 280px;
30 30   height: 75px;
31 - font-family: 'Montserrat', sans-serif;
37 + font-family: 'Montserrat', sans-serif !important;
32 32   font-size: 14px;
33 33   font-weight: 600;
34 34   cursor: pointer;
... ... @@ -41,24 +41,38 @@
41 41   box-shadow: 0 0 9px rgba(0, 0, 0, 0.25);
42 42   margin: 10px;
43 43   padding: 0 10px;
50 + }
44 44   }
45 45  
46 46   .button-link:hover {
54 + a:link, a:active, a:visited {
47 47   background-color: rgba(0, 0, 0, 0.03);
56 + }
48 48   }
49 49   </style>
50 50  </head>
60 +<script>
61 +{{velocity}}
62 +#set($pubRefs = $doc.getChildrenReferences())
63 +#foreach($pubRef in $pubRefs)
64 + #set($pub = $xwiki.getDocument($pubRef))
65 + #set($title = $pub.getTitle())
66 + (% class="button-link" %)
67 + <li>[[$title>>$pubRef]]</li>
68 +#end
69 +</script>
51 51  {{/html}}
52 52  
53 53  {{velocity}}
54 -{{html clean="false"}} <ul class="button-list"> {{/html}}
73 +{{html wiki="true"}}
74 +(% <ul class="button-list"> %)
55 55  #set($pubRefs = $doc.getChildrenReferences())
56 56  #foreach($pubRef in $pubRefs)
57 57   #set($pub = $xwiki.getDocument($pubRef))
58 58   #set($title = $pub.getTitle())
59 - {{html clean="false"}}
60 - <li><a class="button-link" href="$pubRef">$title</a></li>
61 - {{/html}}
79 + (% class="button-link" %)
80 + (% <li> %)[[$title>>$pubRef]](% </li> %)
62 62  #end
63 -{{html clean="false"}} </ul> {{/html}}
82 +{{/html}}
83 +(% </ul> %)
64 64  {{/velocity}}