matrix-dimension/web/app/widget-wrappers/reauth-example/reauth-example.component.html

15 lines
623 B
HTML
Raw Normal View History

<div *ngIf="!hasOpenId" class="reauth-container">
<button type="button" (click)="onReauthStart()" class="btn btn-primary" [disabled]="busy">
{{'Click to start OpenID auth' | translate}}
</button>
</div>
<div *ngIf="hasOpenId" class="reauth-container">
<p>{{'User ID:' | translate}} {{userId}}</p>
</div>
<div class="reauth-container">
<p>{{stateMessage}}</p>
<p *ngIf="blocked">{{'You have blocked this widget from receiving credentials.' | translate}}</p>
<p *ngIf="error">{{'An error has occurred - see logs for details' | translate}}</p>
<small>Widget ID: {{widgetId}}</small>
</div>