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 66.2
edited by bougault
on 2020/07/02 13:22
Change comment: There is no comment for this version
To version 85.6
edited by bougault
on 2021/01/20 15:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -18,48 +18,57 @@
18 18   </div>
19 19   <div class="container-fluid search__row">
20 20   <div class="container">
21 - <div class="col-md-6 col-md-offset-3">
22 - <form role="search" class="clb-search-bar" action="/bin/view/Main/Search" method="GET">
21 + <div class="col-sm-12 col-md-6 col-md-offset-3">
22 + <form role="search" action="/bin/view/Main/Search" method="GET">
23 + <div class="input-group">
24 + <input type="search" name="text" class="form-control input-lg" title="Search word in all wiki pages" placeholder="Search word in all wiki pages">
25 + <span class="input-group-btn">
26 + <button type="submit" class="btn btn-primary input-lg">
27 + <span class="fa fa-search"></span>
28 + <span class="sr-only">Search</span>
29 + </button>
30 + </span>
31 + </div>
32 + </form>
33 + </div>
34 + <!--div class="col-md-6 col-md-offset-3">
35 +
23 23   <div>
24 - <input type="text" class="form-control" name="text" placeholder="Search in the collaboratory">
37 + <input type="text" class="form-control" name="text" placeholder="Search word in all wiki pages">
25 25   <i class="glyphicon glyphicon-search"></i>
26 26   </div>
27 27   <button class="btn clb-btn-default" type="submit">Search</button>
28 28   </form>
29 - </div>
42 + </div -->
30 30   </div>
31 31   </div>
32 32  {{/html}}
46 +
47 +(% class="container highlighted"%)(((
48 +
49 +(% class="highlighted__title" %)
50 +==== Highlighted collabs ====
33 33  {{html clean="false"}}
34 - <div class="container highlighted">
35 - <h4 class="highlighted__title">Highlighted collabs</h4>
36 - <div class="row highlighted_row">
37 - <div class="col-sm-6 col-md-6 col-md-push-3">
38 - <div class="thumbnail">
39 - <img class="img-responsive" src="/bin/skin/Collaboratory/UX/HbpSkin/wiki_home_graphic.svg" />
40 - <div class="caption">
41 - <h3><a href="/bin/view/Collabs/the-collaboratory/" class="stretched-link">The Collaboratory</a></h3>
42 - <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>
43 - </div>
44 - </div>
45 - </div>
46 - </div>
47 - </div>
48 -{{/html}}
49 -{{html clean="false" wiki="true"}}
50 -<div class="container highlighted">
51 - <h4 class="highlighted__title">Highlighted collabs</h4>
52 - <div class="row highlighted_row">
53 - </div>
52 +<div class="container centered">
53 +<a href="/bin/view/Collabs/the-collaboratory/Highlights" class="highlighted_view_all">View all</a>
54 54  </div>
55 55  {{/html}}
56 -{{html clean="false"}}
57 - <div class="container">
58 - <div class="row explore-all">
59 - <div class="col-md-12">
60 - Explore all the <a href="/bin/view/Collabs">Collabs</a>
61 - </div>
62 - </div>
63 - </div>
64 -{{/html}}
56 +(% class="row highlighted_row" %)
57 +(((
65 65  
59 +{{HighlightedCollabs featured="true" slider="true" /}}
60 +
61 +)))
62 +)))
63 +
64 +(% class="container" %)
65 +(((
66 +(% class="row explore-all" %)
67 +(((
68 + (% class="col-md-12" %)
69 +(((
70 +Explore all the [[Collabs]]
71 +)))
72 +)))
73 +)))
74 +
XWiki.StyleSheetExtension[0]
Code
... ... @@ -233,12 +233,8 @@
233 233  .get-started__title, .highlighted__title{
234 234   text-align: center;
235 235   color: #aaa;
236 - /*padding: 10rem 0;*/
237 - padding:5rem 0;
236 + padding:2rem 0 0.5rem 0;
238 238   font-size: 2rem;
239 - /*border-top: 1px solid #ccc;*/
240 - /*margin-top: 10rem;*/
241 - /*margin-top: 5rem;*/
242 242  }
243 243  .get-started__row {
244 244   margin-top: 3rem;
... ... @@ -252,6 +252,7 @@
252 252  
253 253  .explore-all{
254 254   padding-top: 5rem;
251 + 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  
265 +.glider-contain {
266 + min-height: 502px;
267 +}
268 +.glider {
269 + .highlighted-collab {
270 + position:relative;
271 + border: 1px solid #CCC;
272 + margin: 0 1rem;
273 + height: 100%;
274 + border-radius: @border-radius-default;
275 + > p,
276 + > h3 {
277 + padding-left: 1rem;
278 + padding-right: 1rem;
279 + }
280 + }
281 +}
282 +.highlighted-image{
283 + /*height: 250px;*/
284 + background-size: cover;
285 +}
268 268  .stretched-link {
269 269   &::after {
270 270   position: absolute;