2018-03-30 21:22:15 -04:00
|
|
|
<div *ngIf="isLoading">
|
|
|
|
<my-spinner></my-spinner>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="!isLoading">
|
|
|
|
<my-ibox title="IRC Bridge Configurations">
|
|
|
|
<div class="my-ibox-content">
|
|
|
|
<p>
|
|
|
|
<a href="https://github.com/matrix-org/matrix-appservice-irc" target="_blank">matrix-appservice-irc</a>
|
|
|
|
is an IRC bridge that supports multiple IRC networks. Dimension is capable of using multiple IRC
|
|
|
|
bridges to better distribute the load across multiple networks in large deployments.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<table class="table table-striped table-condensed table-bordered">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Enabled Networks</th>
|
|
|
|
<th class="text-center" style="width: 120px;">Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr *ngIf="!configurations || configurations.length === 0">
|
2018-09-16 04:26:10 -04:00
|
|
|
<td colspan="3"><i>No bridge configurations.</i></td>
|
2018-03-30 21:22:15 -04:00
|
|
|
</tr>
|
|
|
|
<tr *ngFor="let bridge of configurations trackById">
|
|
|
|
<td>
|
|
|
|
{{ bridge.upstreamId ? "matrix.org's bridge" : "Self-hosted bridge" }}
|
2018-03-31 13:45:19 -04:00
|
|
|
<span class="text-muted" style="display: inline-block;" *ngIf="!bridge.upstreamId">({{ bridge.provisionUrl }})</span>
|
2018-03-30 21:22:15 -04:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ getEnabledNetworksString(bridge) }}
|
|
|
|
</td>
|
|
|
|
<td class="text-center">
|
2018-03-31 01:12:31 -04:00
|
|
|
<span class="editButton" (click)="editNetworks(bridge)">
|
2018-03-30 21:22:15 -04:00
|
|
|
<i class="fa fa-pencil-alt"></i>
|
2018-03-31 01:12:31 -04:00
|
|
|
</span>
|
2018-03-30 21:22:15 -04:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<button type="button" class="btn btn-success btn-sm" (click)="addModularHostedBridge()" *ngIf="!hasModularBridge">
|
|
|
|
<i class="fa fa-plus"></i> Add matrix.org's bridge
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-success btn-sm" (click)="addSelfHostedBridge()">
|
|
|
|
<i class="fa fa-plus"></i> Add self-hosted bridge
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</my-ibox>
|
|
|
|
</div>
|