Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

Collaborate on reproducible science, anywhere - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Last modified by bougault on 2023/01/26 14:38

From version 58.109
edited by bougault
on 2020/07/02 09:17
Change comment: There is no comment for this version
To version 78.5
edited by asantars
on 2020/07/20 20:14
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.bougault
1 +XWiki.asantars
Content
... ... @@ -2,8 +2,6 @@
2 2  #set($displayContentFooter=false)
3 3  #set($displayDocExtra=false)
4 4  #set($displayContentMenu=false)
5 -{{include reference="Collaboratory.UX.HighlightedCollabs.WebHome"/}}
6 - {{HighlightedCollabs slider="true" featured="true"/}}
7 7  {{/velocity}}
8 8  
9 9  {{html clean="false"}}
... ... @@ -23,7 +23,7 @@
23 23   <div class="col-md-6 col-md-offset-3">
24 24   <form role="search" class="clb-search-bar" action="/bin/view/Main/Search" method="GET">
25 25   <div>
26 - <input type="text" class="form-control" name="text" placeholder="Search in the collaboratory">
24 + <input type="text" class="form-control" name="text" placeholder="Search word in all wiki pages">
27 27   <i class="glyphicon glyphicon-search"></i>
28 28   </div>
29 29   <button class="btn clb-btn-default" type="submit">Search</button>
... ... @@ -31,42 +31,33 @@
31 31   </div>
32 32   </div>
33 33   </div>
32 +{{/html}}
34 34  
35 - <div class="container highlighted">
36 - <h4 class="highlighted__title">Highlighted collabs</h4>
37 - <div class="row highlighted_row">
38 - <div class="col-sm-6 col-md-6 col-md-push-3">
39 - <div class="thumbnail">
40 - <img class="img-responsive" src="/bin/skin/Collaboratory/UX/HbpSkin/wiki_home_graphic.svg" />
41 - <div class="caption">
42 - <h3><a href="/bin/view/Collabs/the-collaboratory/" class="stretched-link">The Collaboratory</a></h3>
43 - <p>The EBRAINS Collaboratory opens a portal onto the full gamut of EBRAINS services, providing you with examples of how to access services and resources, and a means of applying this quickly with little effort to you research. </p>
44 - </div>
45 - </div>
46 - </div>
47 - </div>
48 - </div>
34 +(% class="container highlighted"%)(((
49 49  
50 - <div class="container highlighted">
36 +(% class="highlighted__title" %)
37 +==== Highlighted collabs ====
38 +{{html clean="false"}}
39 +<div class="container" align="center">
40 +<a href="/bin/view/Collabs/the-collaboratory/Highlights" class="highlighted_view_all">View all</a>
41 +</div>
42 +{{/html}}
43 +(% class="row highlighted_row" %)
44 +(((
51 51  
52 -
46 +{{HighlightedCollabs featured="true" slider="true" /}}
53 53  
54 - </div>
48 +)))
49 +)))
55 55  
56 - <div class="container">
57 - <div class="row explore-all">
58 - <div class="col-md-12">
59 - Explore all the <a href="/bin/view/Collabs">Collabs</a>
60 - </div>
61 - </div>
62 - </div>
63 -<div class="container">
64 - <div class="row pre-footer">
65 - <div class="col-md-12">
66 - Discover all the
67 - <a href="https://ebrains.eu" rel="noopener" target="_blank">EBRAINS services</a>.
68 - </div>
69 - </div>
70 -</div>
71 -{{/html}}
51 +(% class="container" %)
52 +(((
53 +(% class="row explore-all" %)
54 +(((
55 + (% class="col-md-12" %)
56 +(((
57 +Explore all the [[Collabs]]
58 +)))
59 +)))
60 +)))
72 72  
XWiki.StyleSheetExtension[0]
Code
... ... @@ -234,7 +234,7 @@
234 234   text-align: center;
235 235   color: #aaa;
236 236   /*padding: 10rem 0;*/
237 - padding:5rem 0;
237 + padding:2rem 0 0.5rem 0;
238 238   font-size: 2rem;
239 239   /*border-top: 1px solid #ccc;*/
240 240   /*margin-top: 10rem;*/
... ... @@ -245,6 +245,7 @@
245 245  }
246 246  
247 247  .pre-footer, .explore-all {
248 + margin-top:-50px; /* Adding negative margin to improve spacing when only 1 highlighted collab*/
248 248   font-size: 32px;
249 249   line-height: 42px;
250 250   text-align: center;
... ... @@ -252,6 +252,7 @@
252 252  
253 253  .explore-all{
254 254   padding-top: 5rem;
256 + padding-bottom: 5rem;
255 255  }
256 256  
257 257  @media screen and (min-width: 992px) {
... ... @@ -265,6 +265,27 @@
265 265   }
266 266  }
267 267  
270 +.glider-contain {
271 + min-height: 502px;
272 +}
273 +.glider {
274 + .highlighted-collab {
275 + position:relative;
276 + border: 1px solid #CCC;
277 + margin: 0 1rem;
278 + height: 100%;
279 + border-radius: @border-radius-default;
280 + > p,
281 + > h3 {
282 + padding-left: 1rem;
283 + padding-right: 1rem;
284 + }
285 + }
286 +}
287 +.highlighted-image{
288 + /*height: 250px;*/
289 + background-size: cover;
290 +}
268 268  .stretched-link {
269 269   &::after {
270 270   position: absolute;
XWiki.DocumentSheetBinding[0]
XWiki.DocumentSheetBinding[1]
XWiki.StyleSheetExtension[1]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long