[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 310/459: fix margins, checkboxes
From: |
gnunet |
Subject: |
[reclaim-ui] 310/459: fix margins, checkboxes |
Date: |
Fri, 11 Jun 2021 23:26: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 f155d50e3c320d9df0302a738104d10ece9ded62
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Wed Sep 2 13:57:00 2020 +0200
fix margins, checkboxes
---
src/app/edit-credentials/edit-credentials.component.html | 10 ++++++----
src/app/edit-credentials/edit-credentials.component.ts | 2 +-
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/app/edit-credentials/edit-credentials.component.html
b/src/app/edit-credentials/edit-credentials.component.html
index df2262a..0bf7189 100644
--- a/src/app/edit-credentials/edit-credentials.component.html
+++ b/src/app/edit-credentials/edit-credentials.component.html
@@ -29,7 +29,7 @@
</div>
<div *ngIf="!newIdProviderDiscovered()" class="my-2 col-lg-4">
<input placeholder="user@example.com" [(ngModel)]="webfingerEmail">
- <button *ngIf="!newIdProviderDiscovered()" class="btn btn-primary mb-4
fhg-link" (click)="discoverIdProvider()">
+ <button *ngIf="!newIdProviderDiscovered()" class="btn btn-primary
fhg-link" (click)="discoverIdProvider()">
<span class="fa fa-search"></span> Check compatibility
</button>
</div>
@@ -37,9 +37,11 @@
<!--Link account-->
<div *ngIf="newIdProviderDiscovered() && !loggedIn()" class="mb-3 px-2">
<div class="mx-n2">Available claims to request:</div>
- <div *ngFor="let scope of scopes" class="form-check mx-2">
- <input type="checkbox" class="form-check-input" id="scopes"
[disabled]="necessaryScope(scope.scope)" [(ngModel)]="scope.chosen">
- <label class="form-check-label"
for="scope.chosen">{{scope.scope}}</label>
+ <div *ngFor="let scope of scopes" class="mx-2">
+ <i class="fa text-primary" [class.fa-toggle-off]="!scope.chosen"
[class.fa-toggle-on]="scope.chosen"
[class.text-muted]="necessaryScope(scope.scope)"
(click)="!necessaryScope(scope.scope) && scope.chosen = !scope.chosen"></i>
+ <span class="ml-1"
[class.text-muted]="necessaryScope(scope.scope)">{{scope.scope}}</span>
+ <!--<input type="checkbox" class="form-check-input" id="scopes"
[disabled]="necessaryScope(scope.scope)" [(ngModel)]="scope.chosen">-->
+ <!--<label class="form-check-label"
for="scope.chosen">{{scope.scope}}</label>-->
</div>
<button class="btn btn-primary mb-1 mt-2 fhg-link"
(click)="loginFhgAccount()">
<span class="fa fa-link"></span> Link
diff --git a/src/app/edit-credentials/edit-credentials.component.ts
b/src/app/edit-credentials/edit-credentials.component.ts
index ff54397..f97b357 100644
--- a/src/app/edit-credentials/edit-credentials.component.ts
+++ b/src/app/edit-credentials/edit-credentials.component.ts
@@ -350,7 +350,7 @@ export class EditCredentialsComponent implements OnInit {
}
necessaryScope(scope){
- if(scope=="openid"||scope=="profile"){
+ if (scope=="openid" || scope=="profile") {
return true;
}
return false;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 331/459: more i18n, (continued)
- [reclaim-ui] 331/459: more i18n, gnunet, 2021/06/11
- [reclaim-ui] 311/459: fix experimental credential selection, gnunet, 2021/06/11
- [reclaim-ui] 341/459: remove template, gnunet, 2021/06/11
- [reclaim-ui] 301/459: more fixes, gnunet, 2021/06/11
- [reclaim-ui] 293/459: make tables responsive, gnunet, 2021/06/11
- [reclaim-ui] 332/459: copy locale, gnunet, 2021/06/11
- [reclaim-ui] 327/459: new localesService, gnunet, 2021/06/11
- [reclaim-ui] 303/459: fix booleans and function calls, gnunet, 2021/06/11
- [reclaim-ui] 304/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 309/459: fix button hover text, gnunet, 2021/06/11
- [reclaim-ui] 310/459: fix margins, checkboxes,
gnunet <=
- [reclaim-ui] 336/459: Translated using Weblate (English), gnunet, 2021/06/11
- [reclaim-ui] 334/459: update, gnunet, 2021/06/11
- [reclaim-ui] 340/459: Translated using Weblate (English), gnunet, 2021/06/11
- [reclaim-ui] 337/459: update en, gnunet, 2021/06/11
- [reclaim-ui] 326/459: fix compilation, gnunet, 2021/06/11
- [reclaim-ui] 316/459: add more i18n, gnunet, 2021/06/11
- [reclaim-ui] 345/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 313/459: open redirect removed, gnunet, 2021/06/11
- [reclaim-ui] 346/459: id token is credential, gnunet, 2021/06/11
- [reclaim-ui] 353/459: periodic running test, gnunet, 2021/06/11