1
|
<div class="uk-section-default uk-section uk-section-small uk-padding-remove-bottom" style="min-height: 325px">
|
2
|
|
3
|
<!-- MARGIN-TOP -->
|
4
|
<div class="uk-sticky-placeholder" style="height: 84px; margin: 0px;" aria-hidden="true"></div>
|
5
|
<div class="uk-container">
|
6
|
|
7
|
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid="">
|
8
|
<div class="uk-width-1-1@m uk-first-column">
|
9
|
|
10
|
<h1 class="uk-h2">{{ title }}</h1>
|
11
|
|
12
|
<!-- TOP HELP CONTENT -->
|
13
|
<help-content #topHelperContent [position]="'top'"
|
14
|
[ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
15
|
</help-content>
|
16
|
|
17
|
<div class="uk-container uk-margin-medium-top uk-margin-medium-bottom">
|
18
|
<div class="uk-grid">
|
19
|
|
20
|
<!-- LEFT HELP CONTENT -->
|
21
|
<aside-help-content #leftHelperContent [position]="'left'"
|
22
|
[ngClass]="leftHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
23
|
</aside-help-content>
|
24
|
|
25
|
<!-- MIDDLE -->
|
26
|
<div class=" uk-width-expand@m" style="min-height:500px;">
|
27
|
|
28
|
<div *ngIf="errorMessage" class="uk-alert uk-alert-warning">{{errorMessage}}</div>
|
29
|
<div *ngIf="loadingMessage" class="loading-big">
|
30
|
<div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
|
31
|
{{ loadingMessage }}
|
32
|
</div>
|
33
|
<div class="whiteFilm"></div>
|
34
|
</div>
|
35
|
<div *ngIf="repo && chosen_report" class="uk-margin-top">
|
36
|
|
37
|
<div class="uk-forml uk-width-1-1@s uk-width-2-3@m uk-container">
|
38
|
<h3>Report Request</h3>
|
39
|
<div class="uk-grid">
|
40
|
<div class=" uk-width-1-3 uk-text-right">
|
41
|
Report Name:
|
42
|
</div>
|
43
|
<div class="uk-width-2-3">
|
44
|
{{ chosen_report }}
|
45
|
</div>
|
46
|
</div>
|
47
|
<div class="uk-grid">
|
48
|
<div class=" uk-width-1-3 uk-text-right">
|
49
|
Release:
|
50
|
</div>
|
51
|
<div class="uk-width-2-3">
|
52
|
4
|
53
|
</div>
|
54
|
</div>
|
55
|
<div class="uk-grid">
|
56
|
<div class=" uk-width-1-3 uk-text-right">
|
57
|
Requestor:
|
58
|
</div>
|
59
|
<div class="uk-width-2-3">
|
60
|
{{ userEmail }}
|
61
|
</div>
|
62
|
</div>
|
63
|
<h3>Report Filters</h3>
|
64
|
<h5>Date range</h5>
|
65
|
<p>Valid date formats are yyyy-mm-dd or yyyy-mm. Default range is the last available month.
|
66
|
</p>
|
67
|
<div class="uk-grid">
|
68
|
<div class=" uk-width-1-3 uk-text-right">
|
69
|
Begin Date:
|
70
|
</div>
|
71
|
<div class="uk-width-2-3">
|
72
|
<input name="BeginDate" placeholder="2016-03" type="text" (blur)="updateBeginDate($event)">
|
73
|
</div>
|
74
|
</div>
|
75
|
<div class="uk-grid">
|
76
|
<div class=" uk-width-1-3 uk-text-right">
|
77
|
End Date:
|
78
|
</div>
|
79
|
<div class="uk-width-2-3">
|
80
|
<input name="EndDate" placeholder="2016-06" type="text" (blur)="updateEndDate($event)">
|
81
|
</div>
|
82
|
</div>
|
83
|
<h5><span *ngIf="chosen_report == 'RR1' || chosen_report == 'JR1'">Optional </span>Filters</h5>
|
84
|
<p *ngIf="chosen_report != 'RR1' && chosen_report != 'JR1'">
|
85
|
For more specific results, provide an Item Identifier.<br>
|
86
|
Identifier format: <b>namespace:value</b><br>
|
87
|
Valid namespace for Item Identifier: <b>openaire</b>, <b>doi</b> or <b>oid</b>(for OAI-PMH).
|
88
|
</p>
|
89
|
<p *ngIf="chosen_report =='RR1'">
|
90
|
By default results are returned for all repositories.<br>
|
91
|
To get just the results for the current repository, check the box.</p>
|
92
|
<div *ngIf="chosen_report != 'JR1'" class="uk-grid">
|
93
|
<div class=" uk-width-1-3 uk-text-right">
|
94
|
Repository Identifier:
|
95
|
</div>
|
96
|
<div class="uk-width-2-3">
|
97
|
{{ shownRepoId }}
|
98
|
</div>
|
99
|
<div *ngIf="chosen_report =='RR1'" class=" uk-width-1-3 uk-text-right">
|
100
|
Select current repository
|
101
|
</div>
|
102
|
<div *ngIf="chosen_report =='RR1'" class="uk-width-2-3 checkbox">
|
103
|
<input type="checkbox" value="useCurrentRepo"
|
104
|
(change)="updateUseCurrentRepo($event)">
|
105
|
</div>
|
106
|
</div>
|
107
|
<div *ngIf="repo.issn && chosen_report == 'JR1'" class="uk-grid">
|
108
|
<div class=" uk-width-1-3 uk-text-right">
|
109
|
Journal Identifier:
|
110
|
</div>
|
111
|
<div class="uk-width-2-3">
|
112
|
{{ shownRepoId }}
|
113
|
</div>
|
114
|
</div>
|
115
|
<div *ngIf="chosen_report != 'JR1' && chosen_report != 'RR1'" class="uk-grid">
|
116
|
<div class=" uk-width-1-3 uk-text-right">
|
117
|
Item Identifier:
|
118
|
</div>
|
119
|
<div class="uk-width-2-3">
|
120
|
<input name="ItemIdentifier" placeholder="e.g. openaire:od_________::fb90de6f20d79783d05749d8f60417d5"
|
121
|
type="text" (blur)="updateItemIdentifier($event)">
|
122
|
</div>
|
123
|
</div>
|
124
|
|
125
|
<div *ngIf="chosen_report == 'IR1' || chosen_report == 'RR1' || chosen_report == 'JR1'">
|
126
|
<p>Optional filter to only show results for a single item type, e.g. article, book, etc.</p>
|
127
|
<div class="uk-grid">
|
128
|
<div class=" uk-width-1-3 uk-text-right">
|
129
|
Item Data Type:
|
130
|
</div>
|
131
|
<div class="uk-width-2-3">
|
132
|
<select name="ItemDataType" (change)="updateItemDataType($event)">
|
133
|
<option value="">--- Select Item Data Type ---</option>
|
134
|
<option value="Annotation">Annotation</option>
|
135
|
<option value="Article">Article</option>
|
136
|
<option value="Bachelor thesis">Bachelor thesis</option>
|
137
|
<option value="Book">Book</option>
|
138
|
<option value="clinical trial">clinical trial</option>
|
139
|
<option value="Collection">Collection</option>
|
140
|
<option value="Conference object">Conference object</option>
|
141
|
<option value="Contribution for newspaper or weekly magazine">Contribution for newspaper or weekly magazine</option>
|
142
|
<option value="Dataset">Dataset</option>
|
143
|
<option value="Doctoral thesis">Doctoral thesis</option>
|
144
|
<option value="Event">Event</option>
|
145
|
<option value="External research report">External research report</option>
|
146
|
<option value="Film">Film</option>
|
147
|
<option value="Image">Image</option>
|
148
|
<option value="InteractiveResource">InteractiveResource</option>
|
149
|
<option value="Internal report">Internal report</option>
|
150
|
<option value="Lecture">Lecture</option>
|
151
|
<option value="Master thesis">Master thesis</option>
|
152
|
<option value="Newsletter">Newsletter</option>
|
153
|
<option value="Other">Other</option>
|
154
|
<option value="Part of book or chapter of book">Part of book or chapter of book</option>
|
155
|
<option value="Patent">Patent</option>
|
156
|
<option value="PhysicalObject">PhysicalObject</option>
|
157
|
<option value="Preprint">Preprint</option>
|
158
|
<option value="Report">Report</option>
|
159
|
<option value="Research">Research</option>
|
160
|
<option value="Review">Review</option>
|
161
|
<option value="Software">Software</option>
|
162
|
<option value="Sound">Sound</option>
|
163
|
<option value="Unknown">Unknown</option>
|
164
|
</select>
|
165
|
</div>
|
166
|
</div>
|
167
|
</div>
|
168
|
<h3>Report Attributes</h3>
|
169
|
<p>Valid Granularity values: Monthly or Totals</p>
|
170
|
<div class="uk-grid">
|
171
|
<div class=" uk-width-1-3 uk-text-right">
|
172
|
Granularity:
|
173
|
</div>
|
174
|
<div class="uk-width-2-3">
|
175
|
<select name="Granularity" (change)="updateGranularity($event)">
|
176
|
<option value="Monthly">Monthly</option>
|
177
|
<option value="Totals">Totals</option>
|
178
|
</select>
|
179
|
</div>
|
180
|
</div>
|
181
|
<!--<p>The Pretty attribute is just for humans playing with the API and looking at results in a browser.</p>
|
182
|
<p><input name="Pretty" value="Pretty" checked="checked" type="checkbox" (change)="updatePretty($event)">Pretty print json(p) for humans</p>-->
|
183
|
<a class="uk-button uk-button-primary uk-margin-top" (click)="goToReport()">Get Report</a>
|
184
|
</div>
|
185
|
|
186
|
</div>
|
187
|
|
188
|
</div>
|
189
|
|
190
|
<!-- RIGHT HELP CONTENT -->
|
191
|
<aside-help-content #rightHelperContent [position]="'right'"
|
192
|
[ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
193
|
</aside-help-content>
|
194
|
|
195
|
</div>
|
196
|
</div>
|
197
|
|
198
|
|
199
|
<!-- BOTTOM HELP CONTENT -->
|
200
|
<help-content #bottomHelperContent [position]="'bottom'"
|
201
|
[ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
202
|
</help-content>
|
203
|
|
204
|
|
205
|
</div>
|
206
|
</div>
|
207
|
</div>
|
208
|
</div>
|
209
|
|