matrix-dimension/web/app/configs/complex-bot/config-screen/config-screen.complex-bot.component.html
Travis Ralston 2c1366d9d7 Very early support for configuring complex bots
Using the RSS Bot as an example. Notably missing features:
* Configuration (feeds) not retrieved
* No actual configuration page
2018-03-25 21:02:32 -06:00

21 lines
760 B
HTML

<div *ngIf="botComponent.isLoading">
<my-spinner></my-spinner>
</div>
<div *ngIf="!botComponent.isLoading">
<my-ibox>
<h5 class="my-ibox-title">
{{ botComponent.bot.displayName }} configuration
</h5>
<div class="my-ibox-content">
<form (submit)="botComponent.save()" novalidate name="saveForm">
<ng-container *ngTemplateOutlet="botParamsTemplate"></ng-container>
<div style="margin-top: 25px">
<button type="submit" class="btn btn-sm btn-success" [disabled]="botComponent.isUpdating">
<i class="far fa-save"></i> Save
</button>
</div>
</form>
</div>
</my-ibox>
</div>