Attention: The Collaboratory IAM will down for up to 1 hour on Monday, the 7th of July 2025 starting from 5pm CEST (my timezone) for up to 1 hour. Any and all services, which require a user login with an EBRAINS account, will be un-available during that time


Wiki source code of Collabs

Version 5.1 by hbpadmin on 2021/06/09 18:00

Show last authors
1 {{velocity output="false"}}
2 #set($displayContentFooter=false)
3 #set($displayDocExtra=false)
4 #set($displayContentMenu=false)
5 $xwiki.ssx.use('Collaboratory.UX.SSX.noheader')
6
7 #set ($clbaction = $request.getParameter("clbaction"))
8 #set ($isAuthenticated = ($xcontext.user != 'XWiki.XWikiGuest'))
9 #set ($isCreationForm = $clbaction.equals('create'))
10
11 #macro(clbCreationForm) <div class="container">
12 <div class="row">
13 <div class="col-md-6">
14 <h1>Create a Collab</h1>
15 <p class="help-block">
16 This page is used to create a new collab in the Collaboratory Wiki. Please plan your collab names in advance to avoid having many collabs with few pages and files. Thank you.
17 </p>
18 </div>
19 <div class="col-md-6">
20 <a href="/bin/view/Collabs" class="btn btn-primary pull-right">Back to list</a>
21 </div>
22 </div>
23 <div class="row">
24 <div id="root"></div>
25 </div>
26 <link rel="stylesheet" type="text/css" href="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'style.css')" />
27 <script type="module" src="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'collab-settings.js')"></script>
28 </div>
29 #end
30
31 #macro(clbList $canCreate) <div class="container">
32 <div class="row">
33 <div class="col-md-8">
34 <h1>Collab Search</h1>
35 <p class="help-block">
36 Find available collabs searching for words in title and description.<br />
37 You can refine the results using the filters.
38 </p>
39 </div>
40 <div class="col-md-4 pull-right">
41 #if($canCreate)
42 <a href="/bin/view/Collabs?clbaction=create" class="btn btn-primary pull-right">Create a collab</a>
43 #end
44 </div>
45 </div>
46 <div class="row">
47 <div id="root"></div>
48 </div>
49 </div>
50 <link rel="stylesheet" type="text/css" href="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'style.css')" />
51 <script type="module" src="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'collab-search.js')"></script>
52 #end
53 {{/velocity}}
54
55 {{velocity}}
56 {{html clean="false"}}
57 #if($isCreationForm)
58 #clbCreationForm()
59 #else
60 #clbList($isAuthenticated)
61 #end
62 {{/html}}
63 {{/velocity}}