[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 126/459: change add identity button
From: |
gnunet |
Subject: |
[reclaim-ui] 126/459: change add identity button |
Date: |
Fri, 11 Jun 2021 23:23: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 34f1b3855f77e5556558a67f6f06f8b0e6b22528
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Jul 16 10:15:41 2019 +0200
change add identity button
---
src/app/identity-list/identity-list.component.html | 26 +++++++++++++++++-----
src/app/identity-list/identity-list.component.scss | 6 +++++
2 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/src/app/identity-list/identity-list.component.html
b/src/app/identity-list/identity-list.component.html
index 94d5644..f9a5e15 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -58,14 +58,9 @@
<!-- Cancel authorization -->
<div style="margin-bottom: 1em; text-align: center;">
- <button *ngIf="inOpenIdFlow() && !isAddIdentity() && (null ==
identityInEdit) && clientNameFound" class="btn btn-danger mr-2"
(click)="cancelRequest()">
+ <button *ngIf="inOpenIdFlow() && !isAddIdentity() && (null ==
identityInEdit) && clientNameFound" class="btn btn-danger mt-2"
(click)="cancelRequest()">
<span class="fa fa-ban"></span> Decline and return to website
</button>
-
- <!-- Add identity -->
- <button *ngIf="0 != identities.length && !isAddIdentity() && (null ==
identityInEdit)" class="btn btn-primary ml-2" (click)="addIdentity()">
- <span class="fa fa-plus"></span> Add identity
- </button>
</div>
<!-- No identities present -->
@@ -285,6 +280,25 @@
</div>
</div>
</div>
+
+ <!-- New identity card -->
+ <div class="card identity-new" (click)="addIdentity()" *ngIf="0 !=
identities.length && !isAddIdentity()">
+ <div class="card-avatar card-img-top">
+ <div class="card-avatar-character text-dark">
+ <!--<div class="icon m-1 text-uppercase"
[style.background-color]="intToRGB(identity.pubkey)">{{
identity.name[0]}}</div>-->
+ <i class="fa fa-user-circle"></i>
+ <span class="m-1" style="display: inline-block"><i> New
Identity</i></span>
+ </div>
+ </div>
+ <div class="card-body">
+ <div style="text-align:center" class="mb-4">
+ <i>Click to add a new identity.</i>
+ </div>
+ <div style="text-align:center">
+ <img src="assets/reclaim_icon.png" style="width: 5em;opacity: 0.3;">
+ </div>
+ </div>
+ </div>
</div>
<!-- Identity creation -->
diff --git a/src/app/identity-list/identity-list.component.scss
b/src/app/identity-list/identity-list.component.scss
index 602ca72..8626110 100644
--- a/src/app/identity-list/identity-list.component.scss
+++ b/src/app/identity-list/identity-list.component.scss
@@ -28,6 +28,12 @@ div.card-avatar-id {
color: #eee;
}
+.card.identity-new {
+ background: none;
+ border: 1px dashed #555;
+ box-shadow: none;
+}
+
.card-avatar-character {
padding-left: 0.5em;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 133/459: cancel authZ by removing parameters, (continued)
- [reclaim-ui] 133/459: cancel authZ by removing parameters, gnunet, 2021/06/11
- [reclaim-ui] 129/459: fix #13, gnunet, 2021/06/11
- [reclaim-ui] 122/459: remove cruft, gnunet, 2021/06/11
- [reclaim-ui] 119/459: added search pipe provider to fix build issue, change search logic, gnunet, 2021/06/11
- [reclaim-ui] 135/459: hard reset, gnunet, 2021/06/11
- [reclaim-ui] 116/459: authentication screen update - retry client verification, gnunet, 2021/06/11
- [reclaim-ui] 139/459: timeout, gnunet, 2021/06/11
- [reclaim-ui] 132/459: do not re-authorize, gnunet, 2021/06/11
- [reclaim-ui] 137/459: only retry once, gnunet, 2021/06/11
- [reclaim-ui] 138/459: we actually dont need the retry, gnunet, 2021/06/11
- [reclaim-ui] 126/459: change add identity button,
gnunet <=
- [reclaim-ui] 127/459: prettify search icon, gnunet, 2021/06/11
- [reclaim-ui] 106/459: changed authentication ui and gnunet offline information, added modals, gnunet, 2021/06/11
- [reclaim-ui] 141/459: Merge branch 'master' into 'master', gnunet, 2021/06/11
- [reclaim-ui] 142/459: fix forjoin bug, gnunet, 2021/06/11
- [reclaim-ui] 143/459: add error dialogs; fix bugs, gnunet, 2021/06/11
- [reclaim-ui] 140/459: fix for issue #16, gnunet, 2021/06/11
- [reclaim-ui] 136/459: softer reset, gnunet, 2021/06/11
- [reclaim-ui] 144/459: edited openid service to support PKCE, gnunet, 2021/06/11
- [reclaim-ui] 134/459: flush route on cancel, gnunet, 2021/06/11
- [reclaim-ui] 145/459: Merge branch 'master' into 'master', gnunet, 2021/06/11