matrix-dimension/web/app/widget_wrappers/generic/generic.component.html
2017-10-09 21:24:12 -06:00

14 lines
657 B
HTML

<div class="wrapper">
<div class="control-page" *ngIf="isLoading || !canEmbed">
<div class="loading-badge" *ngIf="isLoading">
<i class="fa fa-circle-o-notch fa-spin"></i>
Loading...
</div>
<div class="embed-failed" *ngIf="!isLoading && !canEmbed">
<p class="ban"><i class="fa fa-ban"></i></p>
<h4>Sorry, this content cannot be embedded</h4>
</div>
</div>
<iframe [src]="embedUrl" *ngIf="!isLoading && canEmbed" frameborder="0" allowfullscreen></iframe>
<my-fullscreen-button *ngIf="!isLoading && canEmbed" class="toggleFullscreen"></my-fullscreen-button>
</div>