Changes for page HomeTiles

Last modified by Christian Holzner on 2026/09/17 08:10

From version 5.1
edited by Christian Holzner
on 2026/07/06 04:16
Change comment: Logos als Attachments
To version 12.1
edited by Christian Holzner
on 2026/09/17 08:10
Change comment: Startseite: Link-Ziel Partner 5 -> neuer Space

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,10 @@
1 1  {{velocity}}
2 -#macro(aitile $label $space $icon)<a class="ai-tile" href="$xwiki.getURL("${space}.WebHome")"><span class="ai-tile-icon"><span class="fa $icon"></span></span><span class="ai-tile-label">$label</span></a>#end
2 +#macro(aitile $label $space $icon)<a class="ai-tile" href="$xwiki.getURL("${space}.WebHome")"><span class="ai-tile-icon"><img class="ai-tile-img" src="/bin/download/AlpinInfo/Header/$icon" alt="$label"/></span><span class="ai-tile-label">$label</span></a>#end
3 3  #macro(aiorg $label $space $logo $active)#if($active)<a class="ai-org-tile" href="$xwiki.getURL("${space}.WebHome")"><img class="ai-org-logo" src="/bin/download/AlpinInfo/Header/${logo}" alt="$label"/><span class="ai-org-name">$label</span></a>#else<span class="ai-org-tile ai-org-disabled" aria-disabled="true"><img class="ai-org-logo" src="/bin/download/AlpinInfo/Header/${logo}" alt="$label"/><span class="ai-org-name">$label</span></span>#end#end
4 4  {{html clean="false"}}
5 +<form class="ai-home-search" action="/bin/view/Main/Search" role="search"><input type="text" name="text" class="ai-home-search-input" placeholder="Suchbegriff eingeben..." autocomplete="off"/><button type="submit" class="ai-home-search-btn" aria-label="Suchen"><svg viewBox="0 0 24 24" width="28" height="28" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"><circle cx="11" cy="11" r="7"/><line x1="16.2" y1="16.2" x2="21" y2="21"/></svg></button></form>
5 5  <div class="ai-tiles">
6 -#aitile('Themen' 'Themen' 'fa-book')#aitile('Disziplinen' 'Disziplinen' 'fa-sitemap')#aitile('Erste Hilfe' 'Erste_Hilfe' 'fa-plus-square')
7 +#aitile('Themen' 'Themen' 'themen_w.png')#aitile('Disziplinen' 'Disziplinen' 'disziplinen_w.png')#aitile('Erste Hilfe' 'Erste_Hilfe' 'erstehilfe_b.png')
7 7  </div>
8 8  #if("$!xcontext.user" != 'XWiki.XWikiGuest')
9 9  #set($uref = $xcontext.user)
... ... @@ -12,11 +12,12 @@
12 12  #set($cBRD = ($u.isUserInGroup('XWiki.BRD') || $xwiki.hasAccessLevel('view', $uref, 'BRD.WebHome')))
13 13  #set($cBF = ($u.isUserInGroup('XWiki.Bergfuehrer') || $xwiki.hasAccessLevel('view', $uref, 'Bergfuehrer.WebHome')))
14 14  #set($cCNSAS = ($u.isUserInGroup('XWiki.CNSAS') || $xwiki.hasAccessLevel('view', $uref, 'CNSAS.WebHome')))
16 +#set($cLR = ($u.isUserInGroup('XWiki.Lawinenreport') || $xwiki.hasAccessLevel('view', $uref, 'Amt für Meteorologie und Lawinenwarnung.WebHome')))
15 15  <div class="ai-spacer" style="height:125px"></div>
16 16  <div class="ai-intern-header">INTERNE BEREICHE:</div>
17 17  <div class="ai-spacer" style="height:30px"></div>
18 18  <div class="ai-tiles ai-tiles-org">
19 -#aiorg('Alpenverein S&uuml;dtirol' 'AVS' 'avs.png' $cAVS)#aiorg('Bergrettungsdienst' 'BRD' 'brd.png' $cBRD)#aiorg('Berg- und Skif&uuml;hrer' 'Bergfuehrer' 'bergfuehrer.png' $cBF)#aiorg('CNSAS' 'CNSAS' 'cnsas.png' $cCNSAS)
21 +#aiorg('Alpenverein S&uuml;dtirol' 'AVS' 'avs.png' $cAVS)#aiorg('Bergrettungsdienst' 'BRD' 'brd.png' $cBRD)#aiorg('CNSAS' 'CNSAS' 'cnsas.png' $cCNSAS)#aiorg('Berg- und Skif&uuml;hrer' 'Bergfuehrer' 'bergfuehrer.png' $cBF)#aiorg('Amt für Meteorologie und Lawinenwarnung' 'Amt für Meteorologie und Lawinenwarnung' 'afbs.png' $cLR)
20 20  </div>
21 21  #end
22 22  <div class="ai-spacer" style="height:40px"></div>