Project

General

Profile

« Previous | Next » 

Revision 61490

grouping charts on country datasets, software and orp

View differences:

country-os-orp.component.html
15 15
      <div class="uk-grid-margin">
16 16
        <div class="md-card chartCard">
17 17
          <div class="md-card-content">
18
            <iframe *ngIf="otherWithPIDByDatasourceChartURL" width="100%" height="550" [src]="otherWithPIDByDatasourceChartURL"></iframe>
19
          </div>
20
        </div>
21
      </div>
22 18

  
23
      <div class="uk-grid-margin">
24
        <div class="md-card chartCard">
25
          <div class="md-card-content">
26
            <iframe *ngIf="otherWithPIDByOrganizationChartURL" width="100%" height="550" [src]="otherWithPIDByOrganizationChartURL"></iframe>
27
          </div>
28
        </div>
29
      </div>
19
            <!--MOBILE & PAD PORTRAIT-->
20
            <div class="uk-hidden@m">
21
              <div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
22
                <label class="uk-margin-right">Show by: </label>
23
                <select class="md-input" #selectPIDGroupBy (change)="getOtherWithPIDGroupByMobile(selectPIDGroupBy.value)" style="width: 230px; display: inline-block">
24
                  <option value="datasource">datasource</option>
25
                  <option value="organization">organization</option>
26
                  <option value="funder">funder</option>
27
                </select>
28
              </div>
30 29

  
31
      <div class="uk-grid-margin">
32
        <div class="md-card chartCard">
33
          <div class="md-card-content">
34
            <app-treemap-highchart *ngIf="otherWithPIDByFunderData" [chartTitle]="'OA Other research products with PID by funder'"
35
                                   [chartData]="otherWithPIDByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
30
              <iframe *ngIf="otherWithPIDGroupByView==='datasource' && otherWithPIDByDatasourceChartURLMobile"
31
                      width="100%" height="550" [src]="otherWithPIDByDatasourceChartURLMobile"></iframe>
32
              <iframe *ngIf="otherWithPIDGroupByView==='organization' && otherWithPIDByOrganizationChartURLMobile"
33
                      width="100%" height="550" [src]="otherWithPIDByOrganizationChartURLMobile"></iframe>
34
              <app-treemap-highchart *ngIf="otherWithPIDGroupByView==='funder' && otherWithPIDByFunderData"
35
                                     [chartTitle]="'OA Other research products with PID by funder'"
36
                                     [chartData]="otherWithPIDByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
37

  
38
            </div>
39

  
40
            <!--LAPTOP & PAD LANDSCAPE-->
41
            <div class="uk-visible@m">
42
              <ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
43
                  data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
44
                <li class="uk-active"><a (click)="getOtherWithPIDGroupBy('datasource')">Datasource</a></li>
45
                <li><a (click)="getOtherWithPIDGroupBy('organization')">Organization</a></li>
46
                <li><a (click)="getOtherWithPIDGroupBy('funder')">Funder</a></li>
47
              </ul>
48

  
49
              <ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
50
                <li aria-hidden="true" style="animation-duration: 200ms;" class="uk-active">
51
                  <iframe *ngIf="otherWithPIDByDatasourceChartURL"
52
                          width="100%" height="350" [src]="otherWithPIDByDatasourceChartURL"></iframe>
53
                </li>
54
                <li aria-hidden="true" style="animation-duration: 200ms;" class="">
55
                  <iframe *ngIf="otherWithPIDByOrganizationChartURL"
56
                          width="100%" height="350" [src]="otherWithPIDByOrganizationChartURL"></iframe>
57
                </li>
58
                <li aria-hidden="true" style="animation-duration: 200ms;" class="">
59
                  <app-treemap-highchart *ngIf="otherWithPIDByFunderData"
60
                                         [chartTitle]="'OA Other research products with PID by funder'"
61
                                         [chartData]="otherWithPIDByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
62
                </li>
63
              </ul>
64
            </div>
65

  
36 66
          </div>
37 67
        </div>
38 68
      </div>
......
55 85
      <div class="uk-grid-margin">
56 86
        <div class="md-card chartCard">
57 87
          <div class="md-card-content">
58
            <iframe *ngIf="otherWithLicenceByDatasourceChartURL" width="100%" height="550" [src]="otherWithLicenceByDatasourceChartURL"></iframe>
59
          </div>
60
        </div>
61
      </div>
62 88

  
63
      <div class="uk-grid-margin">
64
        <div class="md-card chartCard">
65
          <div class="md-card-content">
66
            <iframe *ngIf="otherWithLicenceByOrganizationChartURL" width="100%" height="550" [src]="otherWithLicenceByOrganizationChartURL"></iframe>
67
          </div>
68
        </div>
69
      </div>
89
            <!--MOBILE & PAD PORTRAIT-->
90
            <div class="uk-hidden@m">
91
              <div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
92
                <label class="uk-margin-right">Show by: </label>
93
                <select class="md-input" #selectLicenceGroupBy (change)="getOtherWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="width: 230px; display: inline-block">
94
                  <option value="datasource">datasource</option>
95
                  <option value="organization">organization</option>
96
                  <option value="funder">funder</option>
97
                </select>
98
              </div>
70 99

  
71
      <div class="uk-grid-margin">
72
        <div class="md-card chartCard">
73
          <div class="md-card-content">
74
            <app-treemap-highchart *ngIf="otherWithLicenceByFunderData" [chartTitle]="'OA Other research products with licence by funder'"
75
                                   [chartData]="otherWithLicenceByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
100
              <iframe *ngIf="otherWithLicenceGroupByView==='datasource' && otherWithLicenceByDatasourceChartURLMobile"
101
                      width="100%" height="550" [src]="otherWithLicenceByDatasourceChartURLMobile"></iframe>
102
              <iframe *ngIf="otherWithLicenceGroupByView==='organization' && otherWithLicenceByOrganizationChartURLMobile"
103
                      width="100%" height="550" [src]="otherWithLicenceByOrganizationChartURLMobile"></iframe>
104
              <app-treemap-highchart *ngIf="otherWithLicenceGroupByView==='funder' && otherWithLicenceByFunderData"
105
                                     [chartTitle]="'OA Other research products with licence by funder'"
106
                                     [chartData]="otherWithLicenceByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
107

  
108
            </div>
109

  
110
            <!--LAPTOP & PAD LANDSCAPE-->
111
            <div class="uk-visible@m">
112
              <ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
113
                  data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
114
                <li class="uk-active"><a (click)="getOtherWithLicenceGroupBy('datasource')">Datasource</a></li>
115
                <li><a (click)="getOtherWithLicenceGroupBy('organization')">Organization</a></li>
116
                <li><a (click)="getOtherWithLicenceGroupBy('funder')">Funder</a></li>
117
              </ul>
118

  
119
              <ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
120
                <li aria-hidden="false" style="animation-duration: 200ms;" class="uk-active">
121
                  <iframe *ngIf="otherWithLicenceByDatasourceChartURL"
122
                          width="100%" height="350" [src]="otherWithLicenceByDatasourceChartURL"></iframe>
123
                </li>
124
                <li aria-hidden="true" style="animation-duration: 200ms;" class="">
125
                  <iframe *ngIf="otherWithLicenceByOrganizationChartURL"
126
                          width="100%" height="350" [src]="otherWithLicenceByOrganizationChartURL"></iframe>
127
                </li>
128
                <li aria-hidden="true" style="animation-duration: 200ms;" class="">
129
                  <app-treemap-highchart *ngIf="otherWithLicenceByFunderData"
130
                                         [chartTitle]="'OA Other research products with licence by funder'"
131
                                         [chartData]="otherWithLicenceByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
132
                </li>
133
              </ul>
134
            </div>
135

  
76 136
          </div>
77 137
        </div>
78 138
      </div>

Also available in: Unified diff