matrix-dimension/web/app/admin/neb/appservice-config/appservice-config.component.html
Travis Ralston 62d81ed842 Show the appservice configuration after saving; Make the show config button work
Includes the ability to 'test' the appservice. This doesn't bother checking if the URL is set up correctly because we don't actually care about the transactions.
2018-03-24 12:18:38 -06:00

22 lines
No EOL
907 B
HTML

<div class="dialog">
<div class="dialog-header">
<h4>go-neb appservice configuration</h4>
</div>
<div class="dialog-content" *ngIf="isLoading">
<my-spinner></my-spinner>
</div>
<div class="dialog-content" *ngIf="!isLoading">
Copy and paste this configuration to <code>appservice-{{appservice.id}}.yaml</code> on your homeserver and
register it as an application service.
<br/>
<pre>{{appserviceConfig}}</pre>
</div>
<div class="dialog-footer" *ngIf="!isLoading">
<button type="button" (click)="dialog.close()" title="save" class="btn btn-primary btn-sm">
<i class="far fa-times-circle"></i> Close
</button>
<button type="button" (click)="test()" title="close" class="btn btn-secondary btn-sm">
<i class="fa fa-exchange-alt"></i> Test Configuration
</button>
</div>
</div>