Изменения документа 02. Деятельность СЗН
Редактировал(а) Мария Дужая 2024/08/15 14:18
От версии 2.1
отредактировано Admin Admin
на 2024/05/18 00:56
на 2024/05/18 00:56
Изменить комментарий:
К данной версии нет комментариев
К версии 3.1
отредактировано Admin Admin
на 2024/05/20 00:03
на 2024/05/20 00:03
Изменить комментарий:
К данной версии нет комментариев
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -18,16 +18,11 @@ 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 29 .button-link { 30 - display: inline-block; 31 31 a:link, a:active, a:visited { 32 32 display: flex; 33 33 align-items: center; ... ... @@ -34,7 +34,7 @@ 34 34 justify-content: center; 35 35 width: 280px; 36 36 height: 75px; 37 - font-family: 'Montserrat', sans-serif !important;32 + font-family: 'Montserrat', sans-serif; 38 38 font-size: 14px; 39 39 font-weight: 600; 40 40 cursor: pointer; ... ... @@ -45,7 +45,7 @@ 45 45 border: none; 46 46 border-radius: 10px; 47 47 box-shadow: 0 0 9px rgba(0, 0, 0, 0.25); 48 - margin: 10px; 43 + margin: 0 10px 10px 10px; 49 49 padding: 0 10px; 50 50 } 51 51 } ... ... @@ -57,28 +57,16 @@ 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"> %) 58 +{{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 79 (% class="button-link" %) 80 - (% <li> %)[[$title>>$pubRef]](% </li> %)64 + [[$title>>$pubRef]] 81 81 #end 82 -{{/html}} 83 -(% </ul> %) 66 +{{html clean="false"}} </ul> {{/html}} 84 84 {{/velocity}}