Project

General

Profile

« Previous | Next » 

Revision 61506

added tabs for open science views

View differences:

continent-os-orp.component.html
1 1
<div>
2 2

  
3
  <div class="pidIndicator">
3
  <ul uk-tab class="uk-tab-large">
4
    <li><a href="#">PID</a></li>
5
    <li><a href="#">Licence</a></li>
6
    <li class="uk-visible@m"><a href="#">More Details</a></li>
7
  </ul>
8

  
9
  <ul class="uk-switcher uk-margin">
10
    <li>
11
      <div class="pidIndicator">
12
        <div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
13

  
14
          <div class="uk-grid-margin">
15
            <div class="md-card chartCard">
16
              <div class="md-card-content">
17
                <iframe *ngIf="otherWithPIDTimeline" width="100%" height="550" [src]="otherWithPIDTimeline"></iframe>
18
              </div>
19
            </div>
20
          </div>
21

  
22
          <div class="uk-grid-margin">
23
            <div class="md-card chartCard">
24
              <div class="md-card-content">
25

  
26
                <!--MOBILE & PAD PORTRAIT-->
27
                <div class="uk-hidden@m">
28
                  <div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
29
                    <label class="uk-margin-right">Show by: </label>
30
                    <select class="md-input" #selectPIDGroupBy (change)="getOtherWithPIDGroupByMobile(selectPIDGroupBy.value)" style="width: 230px; display: inline-block">
31
                      <option value="country">country</option>
32
                      <option value="datasource">datasource</option>
33
                      <option value="organization">organization</option>
34
                      <option value="funder">funder</option>
35
                    </select>
36
                  </div>
37

  
38
                  <iframe *ngIf="otherWithPIDGroupByView==='country' && otherWithPIDByCountryChartURLMobile"
39
                          width="100%" height="550" [src]="otherWithPIDByCountryChartURLMobile"></iframe>
40
                  <iframe *ngIf="otherWithPIDGroupByView==='datasource' && otherWithPIDByDatasourceChartURLMobile"
41
                          width="100%" height="550" [src]="otherWithPIDByDatasourceChartURLMobile"></iframe>
42
                  <iframe *ngIf="otherWithPIDGroupByView==='organization' && otherWithPIDByOrganizationChartURLMobile"
43
                          width="100%" height="550" [src]="otherWithPIDByOrganizationChartURLMobile"></iframe>
44
                  <app-treemap-highchart *ngIf="otherWithPIDGroupByView==='funder' && otherWithPIDByFunderData"
45
                                         [chartTitle]="'OA Other research products with PID by funder'"
46
                                         [chartData]="otherWithPIDByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
47

  
48
                </div>
49

  
50
                <!--LAPTOP & PAD LANDSCAPE-->
51
                <div class="uk-visible@m">
52
                  <ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
53
                      data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
54
                    <li class="uk-active"><a (click)="getOtherWithPIDGroupBy('country')">Country</a></li>
55
                    <li><a (click)="getOtherWithPIDGroupBy('datasource')">Datasource</a></li>
56
                    <li><a (click)="getOtherWithPIDGroupBy('organization')">Organization</a></li>
57
                    <li><a (click)="getOtherWithPIDGroupBy('funder')">Funder</a></li>
58
                  </ul>
59

  
60
                  <ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
61
                    <li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
62
                      <iframe *ngIf="otherWithPIDByCountryChartURL"
63
                              width="100%" height="350" [src]="otherWithPIDByCountryChartURL"></iframe>
64
                    </li>
65
                    <li aria-hidden="true" style="animation-duration: 200ms;" class="">
66
                      <iframe *ngIf="otherWithPIDByDatasourceChartURL"
67
                              width="100%" height="350" [src]="otherWithPIDByDatasourceChartURL"></iframe>
68
                    </li>
69
                    <li aria-hidden="true" style="animation-duration: 200ms;" class="">
70
                      <iframe *ngIf="otherWithPIDByOrganizationChartURL"
71
                              width="100%" height="350" [src]="otherWithPIDByOrganizationChartURL"></iframe>
72
                    </li>
73
                    <li aria-hidden="true" style="animation-duration: 200ms;" class="">
74
                      <app-treemap-highchart *ngIf="otherWithPIDByFunderData"
75
                                             [chartTitle]="'OA Other research products with PID by funder'"
76
                                             [chartData]="otherWithPIDByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
77
                    </li>
78
                  </ul>
79
                </div>
80

  
81
              </div>
82
            </div>
83
          </div>
84

  
85
        </div>
86
      </div>
87
    </li>
88
    <li>
89
      <div class="licenceIndicator">
90
        <div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
91

  
92
          <div class="uk-grid-margin">
93
            <div class="md-card chartCard">
94
              <div class="md-card-content">
95
                <iframe *ngIf="otherWithLicenceTimeline" width="100%" height="550" [src]="otherWithLicenceTimeline"></iframe>
96
              </div>
97
            </div>
98
          </div>
99

  
100
          <div class="uk-grid-margin">
101
            <div class="md-card chartCard">
102
              <div class="md-card-content">
103

  
104
                <!--MOBILE & PAD PORTRAIT-->
105
                <div class="uk-hidden@m">
106
                  <div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
107
                    <label class="uk-margin-right">Show by: </label>
108
                    <select class="md-input" #selectLicenceGroupBy (change)="getOtherWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="width: 230px; display: inline-block">
109
                      <option value="country">country</option>
110
                      <option value="datasource">datasource</option>
111
                      <option value="organization">organization</option>
112
                      <option value="funder">funder</option>
113
                    </select>
114
                  </div>
115

  
116
                  <iframe *ngIf="otherWithLicenceGroupByView==='country' && otherWithLicenceByCountryChartURLMobile"
117
                          width="100%" height="550" [src]="otherWithLicenceByCountryChartURLMobile"></iframe>
118
                  <iframe *ngIf="otherWithLicenceGroupByView==='datasource' && otherWithLicenceByDatasourceChartURLMobile"
119
                          width="100%" height="550" [src]="otherWithLicenceByDatasourceChartURLMobile"></iframe>
120
                  <iframe *ngIf="otherWithLicenceGroupByView==='organization' && otherWithLicenceByOrganizationChartURLMobile"
121
                          width="100%" height="550" [src]="otherWithLicenceByOrganizationChartURLMobile"></iframe>
122
                  <app-treemap-highchart *ngIf="otherWithLicenceGroupByView==='funder' && otherWithLicenceByFunderData"
123
                                         [chartTitle]="'OA Other research products with licence by funder'"
124
                                         [chartData]="otherWithLicenceByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
125

  
126
                </div>
127

  
128
                <!--LAPTOP & PAD LANDSCAPE-->
129
                <div class="uk-visible@m">
130
                  <ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
131
                      data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
132
                    <li class="uk-active"><a (click)="getOtherWithLicenceGroupBy('country')">Country</a></li>
133
                    <li><a (click)="getOtherWithLicenceGroupBy('datasource')">Datasource</a></li>
134
                    <li><a (click)="getOtherWithLicenceGroupBy('organization')">Organization</a></li>
135
                    <li><a (click)="getOtherWithLicenceGroupBy('funder')">Funder</a></li>
136
                  </ul>
137

  
138
                  <ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
139
                    <li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
140
                      <iframe *ngIf="otherWithLicenceByCountryChartURL"
141
                              width="100%" height="350" [src]="otherWithLicenceByCountryChartURL"></iframe>
142
                    </li>
143
                    <li aria-hidden="true" style="animation-duration: 200ms;" class="">
144
                      <iframe *ngIf="otherWithLicenceByDatasourceChartURL"
145
                              width="100%" height="350" [src]="otherWithLicenceByDatasourceChartURL"></iframe>
146
                    </li>
147
                    <li aria-hidden="true" style="animation-duration: 200ms;" class="">
148
                      <iframe *ngIf="otherWithLicenceByOrganizationChartURL"
149
                              width="100%" height="350" [src]="otherWithLicenceByOrganizationChartURL"></iframe>
150
                    </li>
151
                    <li aria-hidden="true" style="animation-duration: 200ms;" class="">
152
                      <app-treemap-highchart *ngIf="otherWithLicenceByFunderData"
153
                                             [chartTitle]="'OA Other research products with licence by funder'"
154
                                             [chartData]="otherWithLicenceByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
155
                    </li>
156
                  </ul>
157
                </div>
158

  
159
              </div>
160
            </div>
161
          </div>
162

  
163
        </div>
164
      </div>
165
    </li>
166
    <li>
167
      <div class="indicatorsTable uk-visible@m uk-margin-large-top">
168

  
169
        <h3 class="">More details for other research products</h3>
170

  
171
        <div class="uk-margin-top uk-margin-bottom">
172
          <label class="uk-margin-right">Show: </label>
173
          <select class="md-input" #selectOtherContent (change)="getContent('other', selectOtherContent.value)" style="width: 230px; display: inline-block">
174
            <option value="affiliated">affiliated</option>
175
            <option value="affiliated_peer_reviewed">affiliated peer reviewed</option>
176
            <option value="deposited">deposited</option>
177
            <option value="deposited_peer_reviewed">deposited peer reviewed</option>
178
          </select>
179
          <!--<span class="md-input-bar"></span>-->
180
        </div>
181

  
182
        <div class="uk-grid uk-child-width-1-2@l uk-child-width-1-2@m">
183
          <div class="absoluteTable">
184
            <div class="md-card chartCard">
185
              <div class="md-card-content">
186

  
187
                <ul class="uk-subnav uk-subnav-pill dataView uk-flex uk-flex-center" data-uk-switcher="{connect:'#other-indicators-content-a-fade', animation: 'fade'}">
188
                  <li aria-expanded="true" class="uk-active">
189
                    <a href="#">
190
                      <i class="fas fa-hashtag"></i>
191
                    </a>
192
                  </li>
193
                  <li aria-expanded="false" class="">
194
                    <a href="#">
195
                      <i class="fas fa-percentage"></i>
196
                    </a>
197
                  </li>
198
                </ul>
199

  
200
                <ul id="other-indicators-content-a-fade" class="uk-switcher uk-margin" >
201
                  <li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
202
                    <div *ngIf="loadingPublicationsAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
203
                    <app-countries-table *ngIf="otherAbsoluteTableData" [isPercentage]="false" [countries]="otherAbsoluteTableData" [view]="'openScience'" [entity]="'other'"></app-countries-table>
204
                  </li>
205
                  <li aria-hidden="true" style="animation-duration: 200ms;" class="">
206
                    <div *ngIf="loadingPublicationsPercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
207
                    <app-countries-table *ngIf="otherPercentageTableData" [isPercentage]="true" [countries]="otherPercentageTableData" [view]="'openScience'" [entity]="'other'"></app-countries-table>
208
                  </li>
209
                </ul>
210

  
211
              </div>
212
            </div>
213

  
214
          </div>
215

  
216
        </div>
217

  
218
      </div>
219
    </li>
220
  </ul>
221

  
222
  <!--<div class="pidIndicator">
4 223
    <h3 class="uk-margin-remove">PID</h3>
5 224
    <div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
6 225

  
......
16 235
        <div class="md-card chartCard">
17 236
          <div class="md-card-content">
18 237

  
19
            <!--MOBILE & PAD PORTRAIT-->
238
            &lt;!&ndash;MOBILE & PAD PORTRAIT&ndash;&gt;
20 239
            <div class="uk-hidden@m">
21 240
              <div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
22 241
                <label class="uk-margin-right">Show by: </label>
......
40 259

  
41 260
            </div>
42 261

  
43
            <!--LAPTOP & PAD LANDSCAPE-->
262
            &lt;!&ndash;LAPTOP & PAD LANDSCAPE&ndash;&gt;
44 263
            <div class="uk-visible@m">
45 264
              <ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
46 265
                  data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
......
94 313
        <div class="md-card chartCard">
95 314
          <div class="md-card-content">
96 315

  
97
            <!--MOBILE & PAD PORTRAIT-->
316
            &lt;!&ndash;MOBILE & PAD PORTRAIT&ndash;&gt;
98 317
            <div class="uk-hidden@m">
99 318
              <div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
100 319
                <label class="uk-margin-right">Show by: </label>
......
118 337

  
119 338
            </div>
120 339

  
121
            <!--LAPTOP & PAD LANDSCAPE-->
340
            &lt;!&ndash;LAPTOP & PAD LANDSCAPE&ndash;&gt;
122 341
            <div class="uk-visible@m">
123 342
              <ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
124 343
                  data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
......
154 373
      </div>
155 374

  
156 375
    </div>
157
  </div>
376
  </div>-->
158 377

  
159
  <div class="indicatorsTable uk-visible@m uk-margin-large-top">
378
  <!--<div class="indicatorsTable uk-visible@m uk-margin-large-top">
160 379

  
161 380
    <h3 class="">More details for other research products</h3>
162 381

  
......
168 387
        <option value="deposited">deposited</option>
169 388
        <option value="deposited_peer_reviewed">deposited peer reviewed</option>
170 389
      </select>
171
      <!--<span class="md-input-bar"></span>-->
390
      &lt;!&ndash;<span class="md-input-bar"></span>&ndash;&gt;
172 391
    </div>
173 392

  
174 393
    <div class="uk-grid uk-child-width-1-2@l uk-child-width-1-2@m">
......
208 427
    </div>
209 428

  
210 429

  
211
  </div>
430
  </div>-->
212 431

  
213 432
</div>

Also available in: Unified diff