Исходный код вики 05. Мероприятия

Версия 10.2 от Admin Admin на 2024/05/17 23:26

Последние авторы
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: flex;
15 align-items: center;
16 justify-content: center;
17 width: 280px;
18 height: 75px;
19 font-family: 'Montserrat', sans-serif !important;
20 font-size: 14px;
21 font-weight: 600;
22 cursor: pointer;
23 text-align: center;
24 text-decoration: none;
25 color: #3e7cbc;
26 background-color: #ffffff;
27 border: none;
28 border-radius: 10px;
29 box-shadow: 0 0 9px rgba(0, 0, 0, 0.25);
30 margin: 10px;
31 padding: 0 10px;
32 }
33 }
34
35 .button-link:hover {
36 a:link, a:active, a:visited {
37 background-color: rgba(0, 0, 0, 0.03);
38 }
39 }
40 </style>
41 </head>
42 {{/html}}
43
44 {{velocity}}
45 #set($pubRefs = $doc.getChildrenReferences())
46 #foreach($pubRef in $pubRefs)
47 #set($pub = $xwiki.getDocument($pubRef))
48 #set($title = $pub.getTitle())
49 (% class="button-link" %)
50 [[$title>>$pubRef]]
51 #end
52 {{/velocity}}