Project

General

Profile

1

    
2

    
3
<div class="image-front-topbar uk-section-muted uk-section-overlap uk-light" uk-scrollspy="{&quot;target&quot;:&quot;[uk-scrollspy-class]&quot;,&quot;cls&quot;:&quot;uk-animation-slide-top&quot;,&quot;delay&quot;:false}" tm-header-transparent="light" tm-header-transparent-placeholder="">
4
  <div style="  background-color: #1e3040;" class=" mainPageSearchForm uk-background-norepeat uk-background-cover uk-background-top-center uk-background-fixed uk-section uk-section-large uk-padding-remove-bottom">
5
     <div class="tm-header-placeholder uk-margin-remove-adjacent" style="height: 84px;"></div>
6
     <div class="uk-grid-collapse uk-flex-middle uk-margin-remove-vertical uk-grid uk-grid-stack" uk-grid="">
7
        <div class="uk-width-1-1@m uk-first-column">
8
           <h5 class="uk-margin-large uk-text-center uk-h1 uk-scrollspy-inview uk-animation-slide-top" uk-scrollspy-class="" style="">
9
              Research Community Dashboard
10
           </h5>
11
           <h1 class="uk-text-center uk-h2 uk-scrollspy-inview uk-animation-slide-top" uk-scrollspy-class="" style="">
12
              Your view to open science
13
           </h1>
14
        </div>
15
     </div>
16
  </div>
17
</div>
18

    
19

    
20
  <div *ngIf= "communitiesResults != null && communitiesResults.length > 0">
21
    <div class="uk-container uk-margin-top uk-margin-bottom">
22
      <!--h2>Research Initiatives </h2-->
23
      <div class="uk-child-width-1-3@m uk-text-center uk-grid-match " uk-grid >
24
        <ng-container *ngFor="let item of communitiesResults; let i = index">
25
            <div *ngIf="showCommunity(item) && item.type=='ri'" class="uk-card uk-card-default uk-margin-bottom">
26
              <span >
27
                <div class="uk-card-media-top">
28
                    <img *ngIf= "item.logoUrl != null && item.logoUrl != '' " src="{{item.logoUrl}}" alt="{{(item.title)?item.title:item.shortTitle}} logo"  class="uk-height-small uk-responsive-height ">
29
                     <span  *ngIf= "item.logoUrl == null || item.logoUrl == '' "  class="uk-icon   uk-margin-top">
30
                       <svg width="50" height="50" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="2.5"> <circle fill="none" stroke="#000" stroke-width="1.1" cx="7.7" cy="8.6" r="3.5"></circle> <path fill="none" stroke="#000" stroke-width="1.1" d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3"></path> <path fill="none" stroke="#000" stroke-width="1.1" d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"></path></svg>
31
                    </span>
32
                </div>
33
              </span>
34
              <div class="uk-card-body">
35
                <div>
36
                  <div *ngIf="item.status !='all'" class="uk-float-right" uk-tooltip="title: Community is hidden to registered users. It is visible only to users that have privileges to  manage community; delay: 100">
37
                    <span class="private-view-label uk-label uk-label-success " aria-expanded="false">Private view</span>
38
                  </div>
39
                  <div *ngIf="item.type =='ri'" class="" >
40
                    <span class="ri-label uk-label uk-label-info " aria-expanded="false">Research Initiative</span>
41
                  </div>
42
                  <div *ngIf="item.type !='ri'" class="" >
43
                    <span class="uk-label rc-label  uk-label-warning " aria-expanded="false">Research Community</span>
44
                  </div>
45
                   <h3 class="uk-card-title">
46
                    <a *ngIf="!isProduction()" [queryParams]="{communityId: item.communityId}" routerLinkActive="router-link-active" routerLink="/" target="_blank">
47
                    {{(item.title)?item.title:item.shortTitle}}</a>
48
                    <a *ngIf="isProduction()" href="{{'https://'+getProductionPrefix()+item.communityId+'.openaire.eu'}}" target="_blank">
49
                    {{(item.title)?item.title:item.shortTitle}}</a>
50
                  </h3>
51
                </div>
52

    
53

    
54
                  <p *ngIf="item.description != null" >{{item.description}}</p>
55
                  <subscribe [communityId]="item.communityId"></subscribe>
56
                  <manage [communityId]="item.communityId"></manage>
57
              </div>
58
            </div>
59
        </ng-container>
60

    
61
      </div>
62
      <hr>
63
      <!--h2>Research communities </h2-->
64
      <div class="uk-child-width-1-3@m uk-text-center uk-grid-match " uk-grid >
65
        <ng-container *ngFor="let item of communitiesResults; let i = index">
66
            <div *ngIf="showCommunity(item) && item.type!='ri'" class="uk-card uk-card-default uk-margin-bottom">
67
              <span >
68
                <div class="uk-card-media-top">
69
                    <img *ngIf= "item.logoUrl != null && item.logoUrl != '' " src="{{item.logoUrl}}" alt="{{(item.title)?item.title:item.shortTitle}} logo"  class="uk-height-small uk-responsive-height ">
70
                     <span  *ngIf= "item.logoUrl == null || item.logoUrl == '' "  class="uk-icon   uk-margin-top">
71
                       <svg width="50" height="50" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="2.5"> <circle fill="none" stroke="#000" stroke-width="1.1" cx="7.7" cy="8.6" r="3.5"></circle> <path fill="none" stroke="#000" stroke-width="1.1" d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3"></path> <path fill="none" stroke="#000" stroke-width="1.1" d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"></path></svg>
72
                    </span>
73
                </div>
74
              </span>
75
              <div class="uk-card-body">
76
                <div>
77
                  <div *ngIf="item.status !='all'" class="uk-float-right" uk-tooltip="title: Community is hidden to registered users. It is visible only to users that have privileges to  manage community; delay: 100">
78
                    <span class="private-view-label uk-label uk-label-success " aria-expanded="false">Private view</span>
79
                  </div>
80
                  <div *ngIf="item.type =='ri'" class="" >
81
                    <span class="ri-label uk-label uk-label-info " aria-expanded="false">Research Initiative</span>
82
                  </div>
83
                  <div *ngIf="item.type !='ri'" class="" >
84
                    <span class="uk-label rc-label  uk-label-warning " aria-expanded="false">Research Community</span>
85
                  </div>
86
                   <h3 class="uk-card-title">
87
                    <a *ngIf="!isProduction()" [queryParams]="{communityId: item.communityId}" routerLinkActive="router-link-active" routerLink="/" target="_blank">
88
                    {{(item.title)?item.title:item.shortTitle}}</a>
89
                    <a *ngIf="isProduction()" href="{{'https://'+getProductionPrefix()+item.communityId+'.openaire.eu'}}" target="_blank">
90
                    {{(item.title)?item.title:item.shortTitle}}</a>
91
                  </h3>
92
                </div>
93

    
94

    
95
                  <p *ngIf="item.description != null" >{{item.description}}</p>
96
                  <subscribe [communityId]="item.communityId"></subscribe>
97
                  <manage [communityId]="item.communityId"></manage>
98
              </div>
99
            </div>
100
        </ng-container>
101

    
102
      </div>
103
    </div>
104
</div>
(2-2/4)