2017-05-27 23:21:08 -04:00
|
|
|
<div id="wrapper">
|
2017-05-28 02:53:12 -04:00
|
|
|
<my-scalar-close></my-scalar-close>
|
2017-09-08 22:53:52 -04:00
|
|
|
|
2017-12-14 23:25:15 -05:00
|
|
|
<my-page-header pageName="Dimension"></my-page-header>
|
2017-09-08 22:53:52 -04:00
|
|
|
|
2017-12-14 23:25:15 -05:00
|
|
|
<div class="page-content">
|
|
|
|
<div *ngIf="isError">
|
|
|
|
<div class="alert alert-danger">{{ errorMessage }}</div>
|
2017-09-08 22:53:52 -04:00
|
|
|
</div>
|
2017-12-14 23:25:15 -05:00
|
|
|
<div *ngIf="isLoading">
|
|
|
|
<my-spinner></my-spinner>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div *ngIf="!isLoading && !isError">
|
|
|
|
<!-- ------------------------ -->
|
|
|
|
<!-- EMPTY/ENCRYPTED STATES -->
|
|
|
|
<!-- ------------------------ -->
|
|
|
|
<div class="alert alert-warning" *ngIf="hasIntegrations() && isRoomEncrypted">
|
|
|
|
<h4>This room is encrypted</h4>
|
|
|
|
<strong>Integrations are not encrypted!</strong>
|
|
|
|
This means that some information about yourself and the
|
|
|
|
room may be leaked to the bot, bridge, or widget. This information includes the room ID, your display
|
|
|
|
name,
|
|
|
|
your username, your avatar, information about Riot, and other similar details. Add integrations with
|
|
|
|
caution.
|
|
|
|
</div>
|
|
|
|
<div class="alert alert-warning" *ngIf="!hasIntegrations() && isRoomEncrypted">
|
|
|
|
<h4>This room is encrypted</h4>
|
|
|
|
There are currently no integrations which support encrypted rooms. Sorry about that!
|
|
|
|
</div>
|
|
|
|
<div class="alert alert-warning" *ngIf="!hasIntegrations() && !isRoomEncrypted">
|
|
|
|
<h4>No integrations available</h4>
|
|
|
|
This room does not have any compatible integrations. Please contact the server owner if you're seeing
|
|
|
|
this
|
|
|
|
message.
|
|
|
|
</div>
|
2017-09-08 22:53:52 -04:00
|
|
|
|
2017-12-14 23:25:15 -05:00
|
|
|
<!-- ------------------------ -->
|
|
|
|
<!-- CATEGORIES -->
|
|
|
|
<!-- ------------------------ -->
|
|
|
|
<div *ngFor="let category of getCategories()">
|
|
|
|
<div class="ibox" *ngIf="getIntegrationsIn(category).length > 0">
|
|
|
|
<div class="ibox-title">
|
|
|
|
<h4>{{ category }}</h4>
|
|
|
|
</div>
|
|
|
|
<div class="ibox-content">
|
|
|
|
<div class="integration" *ngFor="let integration of getIntegrationsIn(category)">
|
|
|
|
<img class="integration-avatar" [src]="getSafeUrl(integration.avatar)"/>
|
|
|
|
<div class="integration-name">{{ integration.name }}</div>
|
|
|
|
<div class="integration-description">{{ integration.about }}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-27 23:21:08 -04:00
|
|
|
</div>
|
2017-05-27 03:27:36 -04:00
|
|
|
</div>
|
|
|
|
</div>
|