Browse Source

Various style improvements

pull/6780/head
Thomas Kaul 1 month ago
parent
commit
32e52e931d
  1. 2
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html
  2. 2
      apps/client/src/app/components/admin-platform/create-or-update-platform-dialog/create-or-update-platform-dialog.html
  3. 8
      apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.html
  4. 4
      apps/client/src/app/components/user-account-access/user-account-access.html
  5. 4
      apps/client/src/app/components/user-account-settings/user-account-settings.html
  6. 4
      apps/client/src/app/pages/register/register-page.html

2
apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html

@ -421,7 +421,7 @@
<input formControlName="url" matInput type="text" />
@if (assetProfileForm.controls.url.value) {
<gf-entity-logo
class="mr-3"
class="mat-icon"
matSuffix
[url]="assetProfileForm.controls.url.value"
/>

2
apps/client/src/app/components/admin-platform/create-or-update-platform-dialog/create-or-update-platform-dialog.html

@ -30,7 +30,7 @@
/>
@if (platformForm.get('url')?.value) {
<gf-entity-logo
class="mr-3"
class="mat-icon"
matSuffix
[url]="platformForm.get('url').value"
/>

8
apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.html

@ -13,12 +13,14 @@
(keydown.enter)="onLoginWithAccessToken(); $event.preventDefault()"
/>
<button
mat-button
class="mx-2"
mat-icon-button
matSuffix
type="button"
(click)="isAccessTokenHidden = !isAccessTokenHidden"
>
<ion-icon
class="mat-icon"
[name]="isAccessTokenHidden ? 'eye-outline' : 'eye-off-outline'"
/>
</button>
@ -34,7 +36,7 @@
@if (data.hasPermissionToUseAuthGoogle) {
<div class="d-flex flex-column">
<a
class="px-4 rounded-pill"
class="px-4 py-3 rounded-pill"
href="../api/v1/auth/google"
mat-stroked-button
><img
@ -49,7 +51,7 @@
@if (data.hasPermissionToUseAuthOidc) {
<div class="d-flex flex-column mt-2">
<a
class="px-4 rounded-pill"
class="px-4 py-3 rounded-pill"
href="../api/auth/oidc"
mat-stroked-button
><ng-container i18n>Sign in with OpenID Connect</ng-container></a

4
apps/client/src/app/components/user-account-access/user-account-access.html

@ -19,12 +19,14 @@
[type]="isAccessTokenHidden ? 'password' : 'text'"
/>
<button
mat-button
class="mx-2"
mat-icon-button
matSuffix
type="button"
(click)="isAccessTokenHidden = !isAccessTokenHidden"
>
<ion-icon
class="mat-icon"
[name]="isAccessTokenHidden ? 'eye-outline' : 'eye-off-outline'"
/>
</button>

4
apps/client/src/app/components/user-account-settings/user-account-settings.html

@ -292,12 +292,14 @@
[type]="isAccessTokenHidden ? 'password' : 'text'"
/>
<button
mat-button
class="mx-2"
mat-icon-button
matSuffix
type="button"
(click)="isAccessTokenHidden = !isAccessTokenHidden"
>
<ion-icon
class="mat-icon"
[name]="
isAccessTokenHidden ? 'eye-outline' : 'eye-off-outline'
"

4
apps/client/src/app/pages/register/register-page.html

@ -20,7 +20,7 @@
<div class="py-5 text-center">
@if (hasPermissionForAuthToken) {
<button
class="d-inline-block"
class="py-3"
color="primary"
mat-flat-button
(click)="openShowAccessTokenDialog()"
@ -33,7 +33,7 @@
}
@if (hasPermissionForAuthGoogle) {
<a
class="px-4 rounded-pill w-100"
class="px-4 py-3 rounded-pill w-100"
href="../api/v1/auth/google"
mat-stroked-button
><img

Loading…
Cancel
Save