1 |
56750
|
argiro.kok
|
<div [id]="(mainComponent)?'tm-main':''" [class]="(mainComponent)?'uk-section uk-padding-remove-top tm-middle':''">
|
2 |
50169
|
argiro.kok
|
<div uk-grid uk-grid>
|
3 |
56056
|
argiro.kok
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
4 |
50169
|
argiro.kok
|
|
5 |
56056
|
argiro.kok
|
<div *ngIf="!server" class="uk-container uk-container-small uk-position-relative">
|
6 |
50169
|
argiro.kok
|
|
7 |
56199
|
argiro.kok
|
<div *ngIf="loggedIn && !errorCode" class="">
|
8 |
56056
|
argiro.kok
|
<div class="uk-h2 uk-text-center">User Information</div>
|
9 |
|
|
<div>
|
10 |
|
|
<span class="uk-text-muted"> Full name </span> <span> {{user.fullname}} </span>
|
11 |
|
|
</div>
|
12 |
|
|
<div>
|
13 |
|
|
<span class="uk-text-muted"> E-mail </span> <span> {{user.email}} </span>
|
14 |
|
|
</div>
|
15 |
|
|
<div *ngIf="user.role.length > 1">
|
16 |
|
|
<span class="uk-text-muted"> Roles </span> <span> {{getTheRolesFormatted(user.role)}} </span>
|
17 |
|
|
</div>
|
18 |
|
|
<div class="uk-margin-top " *ngIf="user.role.length > 1">
|
19 |
|
|
<a class="uk-button uk-button-primary" href="https://aai.openaire.eu/roles/index.php"
|
20 |
|
|
target="_blank">Manage your roles</a> {{" "}}
|
21 |
57058
|
k.triantaf
|
<a *ngIf="user && isUserManager()" class="uk-button uk-button-primary"
|
22 |
56056
|
argiro.kok
|
href="https://aai.openaire.eu/roles/admin.php"
|
23 |
|
|
target="_blank">Manage role requests</a>{{" "}}
|
24 |
59303
|
konstantin
|
<a *ngIf="user && isUserManager()" class="uk-button uk-button-primary"
|
25 |
|
|
href="https://aai.openaire.eu/registry"
|
26 |
56056
|
argiro.kok
|
target="_blank">Manage users</a>
|
27 |
|
|
</div>
|
28 |
50169
|
argiro.kok
|
|
29 |
|
|
|
30 |
56056
|
argiro.kok
|
<!-- <button (click)="logout()" class=" uk-button uk-button-default">Log out</button> -->
|
31 |
|
|
</div>
|
32 |
|
|
<!--form *ngIf="!loggedIn" class=" ">
|
33 |
50169
|
argiro.kok
|
|
34 |
56056
|
argiro.kok
|
<h3>Welcome to OpenAIRE's Discover Portal</h3>
|
35 |
50169
|
argiro.kok
|
|
36 |
56056
|
argiro.kok
|
<p>This service uses the same ldap sign-in as the OpenAIRE services so you can use the same
|
37 |
|
|
credentials.</p>
|
38 |
|
|
|
39 |
|
|
<p>Login in. To see it in action.</p>
|
40 |
|
|
<div class="uk-margin">
|
41 |
|
|
<input class="uk-input uk-form-width-medium" placeholder="Username" type="text" name="username" [(ngModel)]="username">
|
42 |
|
|
</div>
|
43 |
|
|
|
44 |
|
|
<div class="uk-margin">
|
45 |
|
|
<input placeholder="Password" class="uk-input uk-form-width-medium" type="password" name="password" [(ngModel)]="password">
|
46 |
|
|
</div>
|
47 |
|
|
<div class="uk-margin">
|
48 |
|
|
<button (click)="login()" class=" uk-button uk-button-primary">Login</button>
|
49 |
|
|
</div>
|
50 |
|
|
</form-->
|
51 |
|
|
<div *ngIf="errorCode == '1'" class="uk-alert uk-alert-warning">
|
52 |
|
|
The requested page requires authentication.
|
53 |
|
|
<span *ngIf="!loggedIn">
|
54 |
|
|
Please <a class="" (click)="logIn()"> sign in</a> to continue.
|
55 |
50169
|
argiro.kok
|
</span>
|
56 |
56056
|
argiro.kok
|
</div>
|
57 |
59303
|
konstantin
|
<div *ngIf="errorCode == '2' || errorCode == '4' || errorCode == '8'" class="uk-alert uk-alert-warning">
|
58 |
56056
|
argiro.kok
|
You are not authorized to use the requested page.
|
59 |
|
|
</div>
|
60 |
|
|
<div *ngIf="errorCode == '3'" class="uk-alert uk-alert-warning">
|
61 |
|
|
The session has expired. Please <a class="" (click)="logIn()">sign in</a> again or continue <a class=""
|
62 |
59303
|
konstantin
|
(click)="redirect();">browsing
|
63 |
|
|
as a guest</a>.
|
64 |
56056
|
argiro.kok
|
</div>
|
65 |
|
|
<div *ngIf="errorCode == '5'" class="uk-alert uk-alert-warning">
|
66 |
|
|
There is no research community selected.
|
67 |
|
|
</div>
|
68 |
55365
|
argiro.kok
|
|
69 |
56056
|
argiro.kok
|
<div *ngIf="!loggedIn && errorMessage.length > 0" class="uk-alert uk-alert-danger">{{errorMessage}}</div>
|
70 |
50169
|
argiro.kok
|
|
71 |
50771
|
argiro.kok
|
|
72 |
56056
|
argiro.kok
|
</div>
|
73 |
|
|
</div>
|
74 |
|
|
</div>
|
75 |
50169
|
argiro.kok
|
</div>
|