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