diff options
Diffstat (limited to 'src/app/identity-list/identity-list.component.html')
-rw-r--r-- | src/app/identity-list/identity-list.component.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/app/identity-list/identity-list.component.html b/src/app/identity-list/identity-list.component.html index 572c7d4..0fac20f 100644 --- a/src/app/identity-list/identity-list.component.html +++ b/src/app/identity-list/identity-list.component.html | |||
@@ -7,25 +7,8 @@ | |||
7 | </div> | 7 | </div> |
8 | </oid-modal> | 8 | </oid-modal> |
9 | 9 | ||
10 | |||
11 | |||
12 | <!-- Buttons --> | ||
13 | <div *ngIf="canSearch()" style="margin-top: 1em; text-align: center;"> | ||
14 | <!-- Identity search --> | ||
15 | <div class="form-inline" style="display: table; margin: auto;"> | ||
16 | <div class="search-wrapper"> | ||
17 | <input class="form-control mr-sm-2" type="search" [(ngModel)]="searchTerm" name="searchTerm" | ||
18 | placeholder="{{ getMessage('identity_list_html@searchbarPlaceholder') }}" style="border-radius: 2em;"> | ||
19 | </div> | ||
20 | <button class="btn btn-primary" [routerLink]="['/new-identity']"> | ||
21 | <span class="fa fa-user-plus"></span> {{ getMessage("identity_list_html@newId") }} | ||
22 | </button> | ||
23 | </div> | ||
24 | <br /> | ||
25 | </div> | ||
26 | |||
27 | <!--Authorization Request--> | 10 | <!--Authorization Request--> |
28 | <div class="alert alert-warning alert-dismissible fade show mb-1" role="alert" *ngIf="authorizationRequest"> | 11 | <div class="alert alert-info alert-dismissible fade show mb-1" role="alert" *ngIf="inOpenIdFlow()"> |
29 | <div style="text-align: center;"> | 12 | <div style="text-align: center;"> |
30 | <i class="fa fa-2x fa-openid"></i> | 13 | <i class="fa fa-2x fa-openid"></i> |
31 | <b class="fa-2x"> {{getMessage("authorization_request_html@personalInfo")}} </b> | 14 | <b class="fa-2x"> {{getMessage("authorization_request_html@personalInfo")}} </b> |
@@ -57,6 +40,23 @@ | |||
57 | </div> | 40 | </div> |
58 | </div> | 41 | </div> |
59 | 42 | ||
43 | |||
44 | |||
45 | <!-- Buttons --> | ||
46 | <div *ngIf="canSearch()" style="margin-top: 1em; text-align: center;"> | ||
47 | <!-- Identity search --> | ||
48 | <div class="form-inline" style="display: table; margin: auto;"> | ||
49 | <div class="search-wrapper"> | ||
50 | <input class="form-control mr-sm-2" type="search" [(ngModel)]="searchTerm" name="searchTerm" | ||
51 | placeholder="{{ getMessage('identity_list_html@searchbarPlaceholder') }}" style="border-radius: 2em;"> | ||
52 | </div> | ||
53 | <button class="btn btn-primary" [routerLink]="['/new-identity']"> | ||
54 | <span class="fa fa-user-plus"></span> {{ getMessage("identity_list_html@newId") }} | ||
55 | </button> | ||
56 | </div> | ||
57 | <br /> | ||
58 | </div> | ||
59 | |||
60 | <!-- Cancel authorization --> | 60 | <!-- Cancel authorization --> |
61 | <div style="margin-bottom: 1em; text-align: center;" *ngIf="inOpenIdFlow()"> | 61 | <div style="margin-bottom: 1em; text-align: center;" *ngIf="inOpenIdFlow()"> |
62 | <button *ngIf="inOpenIdFlow() && isClientVerified() !== undefined && isClientVerified()" class="btn btn-danger mt-2" (click)="cancelRequest()"> | 62 | <button *ngIf="inOpenIdFlow() && isClientVerified() !== undefined && isClientVerified()" class="btn btn-danger mt-2" (click)="cancelRequest()"> |
@@ -209,4 +209,4 @@ | |||
209 | </div> | 209 | </div> |
210 | </div> | 210 | </div> |
211 | </div> | 211 | </div> |
212 | </div> \ No newline at end of file | 212 | </div> |