|
|
@ -14,24 +14,20 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
@if (hasPermissionToCreateUser) { |
|
|
@if (hasPermissionToCreateUser && hasPermissionForAuthToken) { |
|
|
<div class="button-container row"> |
|
|
<div class="button-container row"> |
|
|
<div class="align-items-center col d-flex justify-content-center"> |
|
|
<div class="align-items-center col d-flex justify-content-center"> |
|
|
<div class="py-5 text-center"> |
|
|
<div class="py-5 text-center"> |
|
|
@if (hasPermissionForAuthToken) { |
|
|
<button |
|
|
<button |
|
|
class="d-inline-block" |
|
|
class="d-inline-block" |
|
|
color="primary" |
|
|
color="primary" |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
(click)="openShowAccessTokenDialog()" |
|
|
(click)="openShowAccessTokenDialog()" |
|
|
> |
|
|
> |
|
|
<ng-container i18n>Create Account</ng-container> |
|
|
<ng-container i18n>Create Account</ng-container> |
|
|
</button> |
|
|
</button> |
|
|
|
|
|
} |
|
|
|
|
|
@if (hasPermissionForAuthGoogle && hasPermissionForAuthToken) { |
|
|
|
|
|
<div class="my-3 text-muted" i18n>or</div> |
|
|
|
|
|
} |
|
|
|
|
|
@if (hasPermissionForAuthGoogle) { |
|
|
@if (hasPermissionForAuthGoogle) { |
|
|
|
|
|
<div class="my-3 text-muted" i18n>or</div> |
|
|
<a |
|
|
<a |
|
|
class="px-4 rounded-pill w-100" |
|
|
class="px-4 rounded-pill w-100" |
|
|
href="../api/v1/auth/google" |
|
|
href="../api/v1/auth/google" |
|
|
|