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

Hide last authors
hbpadmin 2.1 1 {{velocity output="false"}}
2 #set($displayContentFooter=false)
messines 1.1 3 #set($displayDocExtra=false)
4 #set($displayContentMenu=false)
5 $xwiki.ssx.use('Collaboratory.UX.SSX.noheader')
hbpadmin 4.1 6
messines 1.1 7 #set ($clbaction = $request.getParameter("clbaction"))
8 #set ($isAuthenticated = ($xcontext.user != 'XWiki.XWikiGuest'))
9 #set ($isCreationForm = $clbaction.equals('create'))
hbpadmin 4.1 10
hbpadmin 5.1 11 #macro(clbCreationForm) <div class="container">
messines 1.1 12 <div class="row">
13 <div class="col-md-6">
hbpadmin 5.1 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>
messines 1.1 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">
hbpadmin 5.1 24 <div id="root"></div>
messines 1.1 25 </div>
hbpadmin 5.1 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>
messines 1.1 29 #end
hbpadmin 4.1 30
hbpadmin 5.1 31 #macro(clbList $canCreate) <div class="container">
messines 1.1 32 <div class="row">
hbpadmin 4.1 33 <div class="col-md-8">
34 <h1>Collab Search</h1>
35 <p class="help-block">
hbpadmin 5.1 36 Find available collabs searching for words in title and description.<br />
hbpadmin 4.1 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>
messines 1.1 45 </div>
46 <div class="row">
hbpadmin 4.1 47 <div id="root"></div>
messines 1.1 48 </div>
hbpadmin 4.1 49 </div>
hbpadmin 5.1 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>
messines 1.1 52 #end
53 {{/velocity}}
hbpadmin 5.1 54
hbpadmin 2.1 55 {{velocity}}
56 {{html clean="false"}}
messines 1.1 57 #if($isCreationForm)
58 #clbCreationForm()
59 #else
hbpadmin 5.1 60 #clbList($isAuthenticated)
messines 1.1 61 #end
62 {{/html}}
63 {{/velocity}}