Исходный код вики 05. Мероприятия
Версия 7.1 от Admin Admin на 2024/05/16 18:30
Последние авторы
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% class="box infomessage" %) | ||
| 2 | ((( | ||
| 3 | Мероприятия | ||
| 4 | ))) | ||
| 5 | |||
| 6 | {{html clean="false"}} | ||
| 7 | <head> | ||
| 8 | <style> | ||
| 9 | @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap'); | ||
| 10 | |||
| 11 | .button-link { | ||
| 12 | display: inline-block; | ||
| 13 | a:link, a:active, a:visited { | ||
| 14 | display: inline-block; | ||
| 15 | width: 280px; | ||
| 16 | height: 75px; | ||
| 17 | line-height: 75px; | ||
| 18 | font-family: 'Montserrat', sans-serif !important; | ||
| 19 | font-size: 14px; | ||
| 20 | font-weight: 600; | ||
| 21 | cursor: pointer; | ||
| 22 | text-align: center; | ||
| 23 | text-decoration: none; | ||
| 24 | color: #3e7cbc; | ||
| 25 | background-color: #ffffff; | ||
| 26 | border: none; | ||
| 27 | border-radius: 10px; | ||
| 28 | box-shadow: 0 0 9px rgba(0, 0, 0, 0.25); | ||
| 29 | margin: 10px; | ||
| 30 | } | ||
| 31 | } | ||
| 32 | |||
| 33 | .button-link:hover { | ||
| 34 | a:link, a:active, a:visited { | ||
| 35 | background-color: rgba(0, 0, 0, 0.03); | ||
| 36 | } | ||
| 37 | } | ||
| 38 | </style> | ||
| 39 | </head> | ||
| 40 | {{/html}} | ||
| 41 | |||
| 42 | {{velocity}} | ||
| 43 | #set($pubRefs = $doc.getChildrenReferences()) | ||
| 44 | #foreach($pubRef in $pubRefs) | ||
| 45 | #set($pub = $xwiki.getDocument($pubRef)) | ||
| 46 | #set($title = $pub.getTitle()) | ||
| 47 | (% class="button-link" %) | ||
| 48 | [[$title>>$pubRef]] | ||
| 49 | #end | ||
| 50 | {{/velocity}} |