Изменения документа 02. Деятельность СЗН
Редактировал(а) Мария Дужая 2024/08/15 14:18
От версии 2.1
отредактировано Admin Admin
на 2024/05/18 00:56
на 2024/05/18 00:56
Изменить комментарий:
К данной версии нет комментариев
К версии 2.3
отредактировано Admin Admin
на 2024/05/18 01:39
на 2024/05/18 01:39
Изменить комментарий:
К данной версии нет комментариев
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -18,23 +18,17 @@ 18 18 ul.button-list { 19 19 padding: 0; 20 20 list-style-type: none; 21 + display: flex; 22 + flex-wrap: wrap; 21 21 } 22 22 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 { 25 + a.button-link { 32 32 display: flex; 33 33 align-items: center; 34 34 justify-content: center; 35 35 width: 280px; 36 36 height: 75px; 37 - font-family: 'Montserrat', sans-serif !important;31 + font-family: 'Montserrat', sans-serif; 38 38 font-size: 14px; 39 39 font-weight: 600; 40 40 cursor: pointer; ... ... @@ -47,38 +47,24 @@ 47 47 box-shadow: 0 0 9px rgba(0, 0, 0, 0.25); 48 48 margin: 10px; 49 49 padding: 0 10px; 50 - } 51 51 } 52 52 53 53 .button-link:hover { 54 - a:link, a:active, a:visited { 55 55 background-color: rgba(0, 0, 0, 0.03); 56 - } 57 57 } 58 58 </style> 59 59 </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> 70 70 {{/html}} 71 71 72 72 {{velocity}} 73 -{{html wiki="true"}} 74 -(% <ul class="button-list"> %) 54 +{{html clean="false"}} <ul class="button-list"> {{/html}} 75 75 #set($pubRefs = $doc.getChildrenReferences()) 76 76 #foreach($pubRef in $pubRefs) 77 77 #set($pub = $xwiki.getDocument($pubRef)) 78 78 #set($title = $pub.getTitle()) 79 - (% class="button-link" %) 80 - (% <li> %)[[$title>>$pubRef]](% </li> %) 59 + {{html clean="false"}} 60 + <li><a class="button-link" href="$pubRef">$title</a></li> 61 + {{/html}} 81 81 #end 82 -{{/html}} 83 -(% </ul> %) 63 +{{html clean="false"}} </ul> {{/html}} 84 84 {{/velocity}}