matrix-dimension/web/app/widget-wrappers/reauth-example/reauth-example.component.html
2019-03-15 20:36:52 -06:00

14 lines
550 B
HTML

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