2017-12-28 20:22:50 -05:00
< div * ngIf = "isLoading" >
< my-spinner > < / my-spinner >
< / div >
< div * ngIf = "!isLoading" >
2019-04-13 18:29:53 -04:00
< my-ibox boxTitle = "go-neb configuration" >
2017-12-28 20:22:50 -05:00
< div class = "my-ibox-content" >
2020-10-23 07:30:20 -04:00
< p > {{'go-neb supports many different types of bots, each of which is listed below. Here you can configure which bots this go-neb instance should use.' | translate}}< / p >
2017-12-28 20:22:50 -05:00
< table class = "table table-striped table-condensed table-bordered" >
< thead >
< tr >
< th > Name< / th >
2020-10-23 07:30:20 -04:00
< th > {{'Description' | translate}}< / th >
< th class = "text-center" > {{'Actions' | translate}}< / th >
2017-12-28 20:22:50 -05:00
< / tr >
< / thead >
< tbody >
< tr * ngFor = "let bot of nebConfig.integrations trackById" >
< td > {{ bot.displayName }}< / td >
< td > {{ bot.description }}< / td >
< td class = "text-right" >
2018-03-24 23:17:44 -04:00
< span class = "editButton" ( click ) = " editBot ( bot ) "
2017-12-28 20:22:50 -05:00
*ngIf="bot.isEnabled & & hasConfig(bot) & & !isUpstream">
< i class = "fa fa-pencil-alt" > < / i >
< / span >
< ui-switch [ checked ] = " bot . isEnabled " size = "small" [ disabled ] = " isUpdating "
(change)="toggleBot(bot)" *ngIf="!isOverlapping(bot)">< / ui-switch >
< ui-switch [ checked ] = " false " size = "small" [ disabled ] = " true " * ngIf = "isOverlapping(bot)"
ngbTooltip="This bot is handled by another go-neb instance">< / ui-switch >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
< / my-ibox >
2020-10-23 07:30:20 -04:00
< / div >