[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 70/459: add spinner
From: |
gnunet |
Subject: |
[reclaim-ui] 70/459: add spinner |
Date: |
Fri, 11 Jun 2021 23:22:42 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.
commit 2d63b348af0829f0951187bcc0c66bbc2f9dff9f
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Jun 4 17:51:18 2019 +0200
add spinner
---
src/app/identity-list/identity-list.component.html | 9 ++++++---
src/app/identity-list/identity-list.component.ts | 13 +++++++++----
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/src/app/identity-list/identity-list.component.html
b/src/app/identity-list/identity-list.component.html
index a5a13f3..ca52c1b 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -1,6 +1,9 @@
<div *ngIf="inOpenIdFlow()" class="alert alert-primary alert-dismissible fade
show" role="alert">
- <span class="fa fa-openid"></span> <strong>"{{ clientName }}"</strong> asks
you to share personal information.<br/>
+ <i *ngIf="!clientNameFound"><i class="fa fa-circle-o-notch fa-spin
fa-fw"></i> Looking for client description.</i><br/>
+ <div *ngIf="clientNameFound"><span class="fa fa-openid"></span> <strong>"{{
clientName }}"</strong>
+ asks you to share personal information.<br/>
Choose an identity to let it access the following information:
+ </div>
<ul>
<li *ngFor="let attribute of getScopes()"><strong>{{attribute}}</strong>
</ul>
@@ -10,8 +13,8 @@
</div>
<div *ngIf="!isConnected(); else emptyIdList"
- style="text-align: center; font-size: 1.75em;" class="alert
alert-danger alert-dismissible fade show" role="alert">
- <strong>GNUnet is not running.</strong>
+ style="text-align: center; font-size: 1.75em;" class="alert alert-danger
alert-dismissible fade show" role="alert">
+ <strong>GNUnet is not running.</strong>
</div>
<ng-template #emptyIdList>
diff --git a/src/app/identity-list/identity-list.component.ts
b/src/app/identity-list/identity-list.component.ts
index 970af22..b7941be 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -33,8 +33,8 @@ export class IdentityListComponent implements OnInit {
identityInEditName: string;
identityNameMapper: any;
showTicketsIdentity: Identity;
- showConfirmDelete: any;
- connected: any;
+ showConfirmDelete: any;
+ connected: any;
constructor(private route: ActivatedRoute, private router: Router,
private oidcService: OpenIdService,
@@ -54,8 +54,8 @@ export class IdentityListComponent implements OnInit {
this.newAttribute = new Attribute ('', '', '', 'STRING');
this.requestedAttributes = {};
this.missingAttributes = {};
- this.clientName = "-";
- this.connected = false;
+ this.clientName = "-";
+ this.connected = false;
this.oidcService.parseRouteParams(this.route.snapshot.queryParams);
// On opening the options page, fetch stored settings and update the UI
with
// them.
@@ -131,6 +131,11 @@ export class IdentityListComponent implements OnInit {
});
}
+ clientNameFound()
+ {
+ return this.clientName != this.oidcService.getClientId();
+ }
+
intToRGB(i)
{
i = this.hashCode(i);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 57/459: update readme, (continued)
- [reclaim-ui] 57/459: update readme, gnunet, 2021/06/11
- [reclaim-ui] 74/459: entity name and revoke button fixed, gnunet, 2021/06/11
- [reclaim-ui] 77/459: identity list minor fix, gnunet, 2021/06/11
- [reclaim-ui] 82/459: fix missing div, gnunet, 2021/06/11
- [reclaim-ui] 73/459: add padding for header, gnunet, 2021/06/11
- [reclaim-ui] 86/459: fix client name check #3, gnunet, 2021/06/11
- [reclaim-ui] 76/459: openid logo properly placed, gnunet, 2021/06/11
- [reclaim-ui] 78/459: Merge branch 'ticket_list' into 'master', gnunet, 2021/06/11
- [reclaim-ui] 72/459: change wording, gnunet, 2021/06/11
- [reclaim-ui] 67/459: removal of unused import, gnunet, 2021/06/11
- [reclaim-ui] 70/459: add spinner,
gnunet <=
- [reclaim-ui] 68/459: Merge branch 'offline_overlay' into 'master', gnunet, 2021/06/11
- [reclaim-ui] 79/459: polish ui, gnunet, 2021/06/11
- [reclaim-ui] 83/459: prevent authorization on unverified clients, gnunet, 2021/06/11
- [reclaim-ui] 60/459: update dependencies, gnunet, 2021/06/11
- [reclaim-ui] 71/459: change authz request, gnunet, 2021/06/11
- [reclaim-ui] 85/459: fix client name check #2, gnunet, 2021/06/11
- [reclaim-ui] 87/459: fix client name check #4, gnunet, 2021/06/11
- [reclaim-ui] 64/459: update deps, gnunet, 2021/06/11
- [reclaim-ui] 90/459: clarify state, gnunet, 2021/06/11
- [reclaim-ui] 94/459: minor, gnunet, 2021/06/11