2017-05-28 16:37:09 -04:00
|
|
|
<div class="integration">
|
2017-05-28 02:35:40 -04:00
|
|
|
<img [src]="integration.avatar" class="avatar">
|
2017-05-27 03:27:36 -04:00
|
|
|
<div class="title">
|
2017-05-28 02:35:40 -04:00
|
|
|
<b>{{ integration.name }}</b>
|
2017-05-27 03:27:36 -04:00
|
|
|
<div style="display: flex;">
|
2017-08-29 00:08:32 -04:00
|
|
|
<div class="switch" *ngIf="integration.type !== 'bridge' && integration.type !== 'widget'">
|
2017-12-09 18:34:59 -05:00
|
|
|
<ui-switch [checked]="integration.isEnabled" size="small" [disabled]="integration.isBroken"
|
|
|
|
(change)="update()"></ui-switch>
|
2017-05-27 03:27:36 -04:00
|
|
|
</div>
|
2017-06-04 23:31:31 -04:00
|
|
|
<div class="switch" *ngIf="integration.type == 'bridge' && !integration.isEnabled">
|
2017-06-10 16:56:29 -04:00
|
|
|
<i class="fa fa-warning text-warning" ngbTooltip="{{ integration.bridgeError }}"></i>
|
2017-06-04 23:31:31 -04:00
|
|
|
</div>
|
2017-05-27 03:27:36 -04:00
|
|
|
<div class="toolbar">
|
2017-12-09 18:34:59 -05:00
|
|
|
<i class="fa fa-question-circle text-info" ngbTooltip="{{integration.about}}"
|
|
|
|
*ngIf="integration.about"></i>
|
|
|
|
<i class="fa fa-cog text-info config-icon" (click)="configureIntegration()"
|
|
|
|
*ngIf="integration.isEnabled && integration.hasConfig"></i>
|
2017-05-27 03:27:36 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="clear: both;"></div>
|
|
|
|
</div>
|