1 |
45951
|
argiro.kok
|
|
2 |
47131
|
argiro.kok
|
<form class="">
|
3 |
45951
|
argiro.kok
|
|
4 |
|
|
|
5 |
47131
|
argiro.kok
|
<div class="-row">
|
6 |
45951
|
argiro.kok
|
<span class="uk-text-bold">Filter By:</span>
|
7 |
47131
|
argiro.kok
|
<input type="text" class=" uk-input form-control" placeholder="Type keywords..." aria-describedby="sizing-addon2" [(ngModel)]="inputkeyword" (keyup)="changekeyword()" name="claims-keyword" ></div>
|
8 |
|
|
<div class="-row">
|
9 |
45951
|
argiro.kok
|
<label> <input [(ngModel)]="projectCB" type="checkbox" (ngModelChange)="changeType()" name="project" /> Project </label>
|
10 |
|
|
<label> <input [(ngModel)]="publicationCB" type="checkbox" (ngModelChange)="changeType()" name="publication" /> Publication </label>
|
11 |
|
|
<label> <input [(ngModel)]="datasetCB" type="checkbox" (ngModelChange)="changeType()" name="dataset" /> Dataset </label>
|
12 |
|
|
<label> <input [(ngModel)]="contextCB" type="checkbox" (ngModelChange)="changeType()" name="context" /> Context </label>
|
13 |
|
|
</div>
|
14 |
|
|
|
15 |
|
|
</form>
|
16 |
|
|
<div class="searchPaging uk-panel uk-margin-top" data-uk-grid-margin="">
|
17 |
|
|
|
18 |
|
|
<div *ngIf="resultsNum" class="uk-float-right">
|
19 |
47343
|
argiro.kok
|
<paging-no-load [currentPage]="page" [totalResults]="resultsNum" [size]="size" (pageChange)="pageChange($event)"> </paging-no-load>
|
20 |
45951
|
argiro.kok
|
</div>
|
21 |
|
|
|
22 |
47131
|
argiro.kok
|
<div *ngIf="resultsNum>0" class="uk-width-1-2">
|
23 |
45951
|
argiro.kok
|
<span > Show
|
24 |
47131
|
argiro.kok
|
<select *ngIf="resultsNum>10" class="uk-width-1-2 uk-select" [(ngModel)]="size" name="select_size" (ngModelChange)="changeSize(size)" >
|
25 |
45951
|
argiro.kok
|
<option *ngFor="let size of sizes" [value]="size">{{size}}</option>
|
26 |
|
|
</select>
|
27 |
|
|
</span>
|
28 |
|
|
<span >Showing {{(size*page - size +1)}} to {{(size*page>resultsNum)?resultsNum:(size*page)}} of {{resultsNum}} claims </span>
|
29 |
|
|
|
30 |
|
|
</div>
|
31 |
|
|
</div>
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
<div *ngIf="showErrorMessage " class = "uk-alert uk-alert-danger " >
|
35 |
|
|
An Error occured.
|
36 |
|
|
</div>
|
37 |
46951
|
argiro.kok
|
<div *ngIf="userValidMessage.length > 0 " class = "uk-alert uk-alert-danger " >
|
38 |
|
|
User session is not valid. Please login again.
|
39 |
|
|
</div>
|
40 |
45951
|
argiro.kok
|
|
41 |
|
|
|
42 |
|
|
<!-- Buttons for selecting and Delete Claims -->
|
43 |
|
|
<div *ngIf="enableDelete">
|
44 |
|
|
<div *ngIf="selected.length>0 && resultsNum > 0 ">
|
45 |
47131
|
argiro.kok
|
<div class = "uk-alert uk-alert-primary " >
|
46 |
45951
|
argiro.kok
|
You have selected {{selected.length}} claim(s)
|
47 |
|
|
</div>
|
48 |
|
|
</div>
|
49 |
47537
|
argiro.kok
|
<div *ngIf="deleteMessage.length>0 " [innerHTML]="deleteMessage">
|
50 |
45951
|
argiro.kok
|
|
51 |
|
|
</div>
|
52 |
47261
|
argiro.kok
|
<button class=" uk-button uk-button-default" (click)="confirmOpen()"> <span uk-icon="icon: trash"></span> Delete</button>
|
53 |
45951
|
argiro.kok
|
</div>
|
54 |
|
|
<br>
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
<div *ngIf=" claims && claims.length == 0" >
|
58 |
47131
|
argiro.kok
|
<div class = "uk-alert uk-alert-primary " >No entries found.</div>
|
59 |
45951
|
argiro.kok
|
</div>
|
60 |
|
|
|
61 |
|
|
<div class="">
|
62 |
|
|
<table *ngIf="claims && claims.length > 0" class="uk-table uk-table-striped">
|
63 |
|
|
<thead>
|
64 |
|
|
<tr>
|
65 |
47261
|
argiro.kok
|
<th *ngIf="enableDelete"><input id="checkAll" type="checkbox" (click)="selectAll($event)" [ngModel]="selected.length==claims.length" /></th>
|
66 |
45951
|
argiro.kok
|
<!--<th>Id</th>
|
67 |
|
|
<!-- <th>Target Type</th> -->
|
68 |
|
|
<th><a (click)="changeOrderby('target')" >Research Result</a> </th>
|
69 |
|
|
<!--<th>Source type</th> -->
|
70 |
|
|
<th><a (click)="changeOrderby('source')" >Link to</a> </th>
|
71 |
|
|
|
72 |
47261
|
argiro.kok
|
<th *ngIf="showUserEmail"><a (click)="changeOrderby('user')" >Claimed by</a> </th>
|
73 |
45951
|
argiro.kok
|
<th><a (click)="changeOrderby('date')"> Claimed Date</a></th>
|
74 |
|
|
</tr>
|
75 |
|
|
</thead>
|
76 |
|
|
<tbody>
|
77 |
|
|
<tr *ngFor="let claim of claims " >
|
78 |
|
|
<td *ngIf="enableDelete"><input [id]="claim.id" type="checkbox" (click)="select(claim,$event)" [ngModel]="isSelected(claim.id)"/></td>
|
79 |
|
|
|
80 |
|
|
<td><claim-entity [entity]="claim.target" [type]="claim.targetType" > </claim-entity></td>
|
81 |
|
|
<td><claim-entity [entity]="claim.source" [type]="claim.sourceType" > </claim-entity></td>
|
82 |
47261
|
argiro.kok
|
<td *ngIf="showUserEmail">{{claim.userMail}}</td>
|
83 |
45951
|
argiro.kok
|
<td>{{claim.date}}</td>
|
84 |
|
|
</tr>
|
85 |
|
|
</tbody>
|
86 |
47131
|
argiro.kok
|
</table>
|
87 |
45951
|
argiro.kok
|
<modal-alert (alertOutput)="confirmClose($event)">
|
88 |
|
|
</modal-alert>
|
89 |
|
|
<modal-loading [message]= "'Please wait...'"></modal-loading>
|