2018-10-21 15:22:55 -04:00
|
|
|
<div *ngIf="isLoading">
|
|
|
|
<my-spinner></my-spinner>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="!isLoading">
|
2019-04-13 18:29:53 -04:00
|
|
|
<my-ibox boxTitle="Gitter Bridge Configurations">
|
2018-10-21 15:22:55 -04:00
|
|
|
<div class="my-ibox-content">
|
|
|
|
<p>
|
|
|
|
<a href="https://github.com/matrix-org/matrix-appservice-gitter" target="_blank">matrix-appservice-gitter</a>
|
2019-07-11 00:17:16 -04:00
|
|
|
is a Gitter bridge that supports bridging Gitter rooms to Matrix. Users on Matrix are represented as a
|
|
|
|
single bot user in Gitter, however Gitter users are represented as real-looking Matrix users in the room.
|
2018-10-21 15:22:55 -04:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<table class="table table-striped table-condensed table-bordered">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th class="text-center" style="width: 120px;">Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr *ngIf="!configurations || configurations.length === 0">
|
|
|
|
<td colspan="2"><i>No bridge configurations.</i></td>
|
|
|
|
</tr>
|
|
|
|
<tr *ngFor="let bridge of configurations trackById">
|
|
|
|
<td>
|
|
|
|
{{ bridge.upstreamId ? "matrix.org's bridge" : "Self-hosted bridge" }}
|
2019-07-11 00:17:16 -04:00
|
|
|
<span class="text-muted" style="display: inline-block;"
|
|
|
|
*ngIf="!bridge.upstreamId">({{ bridge.provisionUrl }})</span>
|
2018-10-21 15:22:55 -04:00
|
|
|
</td>
|
|
|
|
<td class="text-center">
|
|
|
|
<span class="editButton" (click)="editBridge(bridge)" *ngIf="!bridge.upstreamId">
|
|
|
|
<i class="fa fa-pencil-alt"></i>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2019-07-11 00:17:16 -04:00
|
|
|
<button type="button" class="btn btn-success btn-sm" (click)="addModularHostedBridge()"
|
|
|
|
[disabled]="(configurations && configurations.length > 0) || isUpdating">
|
2018-10-21 15:22:55 -04:00
|
|
|
<i class="fa fa-plus"></i> Add matrix.org's bridge
|
|
|
|
</button>
|
2019-07-11 00:17:16 -04:00
|
|
|
<button type="button" class="btn btn-success btn-sm" (click)="addSelfHostedBridge()"
|
|
|
|
[disabled]="(configurations && configurations.length > 0) || isUpdating">
|
2018-10-21 15:22:55 -04:00
|
|
|
<i class="fa fa-plus"></i> Add self-hosted bridge
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</my-ibox>
|
|
|
|
</div>
|