Изменения документа 02. Деятельность СЗН
Редактировал(а) Мария Дужая 2024/08/15 14:18
От версии 3.3
отредактировано Admin Admin
на 2024/05/20 00:26
на 2024/05/20 00:26
Изменить комментарий:
К данной версии нет комментариев
К версии 2.1
отредактировано Admin Admin
на 2024/05/18 00:56
на 2024/05/18 00:56
Изменить комментарий:
К данной версии нет комментариев
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -18,11 +18,16 @@ 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 23 + .button-list li { 24 + display: inline-block; 25 + vertical-align: top; 26 + margin: 10px; 27 + } 28 + 25 25 .button-link { 30 + display: inline-block; 26 26 a:link, a:active, a:visited { 27 27 display: flex; 28 28 align-items: center; ... ... @@ -29,7 +29,7 @@ 29 29 justify-content: center; 30 30 width: 280px; 31 31 height: 75px; 32 - font-family: 'Montserrat', sans-serif; 37 + font-family: 'Montserrat', sans-serif !important; 33 33 font-size: 14px; 34 34 font-weight: 600; 35 35 cursor: pointer; ... ... @@ -40,7 +40,7 @@ 40 40 border: none; 41 41 border-radius: 10px; 42 42 box-shadow: 0 0 9px rgba(0, 0, 0, 0.25); 43 - margin: 010px10px 10px;48 + margin: 10px; 44 44 padding: 0 10px; 45 45 } 46 46 } ... ... @@ -52,19 +52,28 @@ 52 52 } 53 53 </style> 54 54 </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> 55 55 {{/html}} 56 56 57 57 {{velocity}} 58 -{{html clean="false"}} 59 - <b>Подразделы:</b><br><br> 60 - <ul class="button-list"> 61 -{{/html}} 73 +{{html wiki="true"}} 74 +(% <ul class="button-list"> %) 62 62 #set($pubRefs = $doc.getChildrenReferences()) 63 63 #foreach($pubRef in $pubRefs) 64 64 #set($pub = $xwiki.getDocument($pubRef)) 65 65 #set($title = $pub.getTitle()) 66 66 (% class="button-link" %) 67 - [[$title>>$pubRef]] 80 + (% <li> %)[[$title>>$pubRef]](% </li> %) 68 68 #end 69 -{{html clean="false"}} </ul> {{/html}} 82 +{{/html}} 83 +(% </ul> %) 70 70 {{/velocity}}