[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 66/459: overlay fix
From: |
gnunet |
Subject: |
[reclaim-ui] 66/459: overlay fix |
Date: |
Fri, 11 Jun 2021 23:22:38 +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 326862e672ade2a0d75b3dcf8b564558ba7c939f
Author: Alexia Pagkopoulou <a.pagkopoulou@tum.de>
AuthorDate: Mon May 27 11:19:44 2019 +0200
overlay fix
---
src/app/identity-list/identity-list.component.html | 4 ++--
src/app/identity-list/identity-list.component.ts | 20 ++++++++++++++------
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/src/app/identity-list/identity-list.component.html
b/src/app/identity-list/identity-list.component.html
index edaed48..a5a13f3 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -10,8 +10,8 @@
</div>
<div *ngIf="!isConnected(); else emptyIdList"
- style="text-align: center;" class="alert alert-danger
alert-dismissible fade show" role="alert">
-GNUnet is dead, rip.<br/><br/>
+ 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 cbaab32..496792f 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -2,7 +2,8 @@ import 'rxjs/add/observable/forkJoin';
import {Component, OnInit} from '@angular/core';
import {ActivatedRoute, Router} from '@angular/router';
-import {Observable} from 'rxjs/Rx'
+import {Observable} from 'rxjs/Rx';
+import {catchError} from 'rxjs/operators';
import {Attribute} from '../attribute';
import {GnsService} from '../gns.service';
@@ -33,7 +34,8 @@ export class IdentityListComponent implements OnInit {
identityInEditName: string;
identityNameMapper: any;
showTicketsIdentity: Identity;
- showConfirmDelete: any;
+ showConfirmDelete: any;
+ connected: any;
constructor(private route: ActivatedRoute, private router: Router,
private oidcService: OpenIdService,
@@ -53,7 +55,8 @@ export class IdentityListComponent implements OnInit {
this.newAttribute = new Attribute ('', '', '', 'STRING');
this.requestedAttributes = {};
this.missingAttributes = {};
- this.clientName = "-";
+ 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.
@@ -483,11 +486,16 @@ export class IdentityListComponent implements OnInit {
identities.forEach(identity => {
this.updateAttributes(identity);
this.updateTickets(identity);
- });
- });
+ });
+ this.connected = true;
+ },
+ error => {
+ console.log(error);
+ this.connected = false
+ });
}
isConnected() {
- //TODO
+ return this.connected;
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 58/459: use raw link, (continued)
- [reclaim-ui] 58/459: use raw link, gnunet, 2021/06/11
- [reclaim-ui] 50/459: update, gnunet, 2021/06/11
- [reclaim-ui] 62/459: v0.1.0, gnunet, 2021/06/11
- [reclaim-ui] 59/459: update, gnunet, 2021/06/11
- [reclaim-ui] 63/459: update to recent change regarding tld lookups, gnunet, 2021/06/11
- [reclaim-ui] 65/459: html template updated, gnunet, 2021/06/11
- [reclaim-ui] 53/459: merge w conflicts, gnunet, 2021/06/11
- [reclaim-ui] 69/459: fix reload of webpage, gnunet, 2021/06/11
- [reclaim-ui] 49/459: update, gnunet, 2021/06/11
- [reclaim-ui] 80/459: style update, gnunet, 2021/06/11
- [reclaim-ui] 66/459: overlay fix,
gnunet <=
- [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