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