Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

49 lines
1.6 KiB

<sqx-title message="Event Consumers"></sqx-title>
<sqx-panel theme="light" desiredWidth="50rem">
<ng-container title>
Consumers
</ng-container>
<ng-container menu>
<button type="button" class="btn btn-text-secondary" (click)="reload()" title="Refresh event consumers (CTRL + SHIFT + R)">
<i class="icon-reset"></i> Refresh
</button>
<sqx-shortcut keys="ctrl+shift+r" (trigger)="reload()"></sqx-shortcut>
</ng-container>
<ng-container content>
<table class="table table-items table-fixed">
<thead>
<tr>
<th class="cell-auto">
Name
</th>
<th class="cell-auto-right">
Position
</th>
<th class="cell-actions-lg">
Actions
</th>
</tr>
</thead>
<tbody *ngFor="let eventConsumer of eventConsumersState.eventConsumers | async; trackBy: trackByEventConsumer"
[sqxEventConsumer]="eventConsumer" (error)="showError(eventConsumer)">
</tbody>
</table>
</ng-container>
</sqx-panel>
<ng-container *sqxModal="eventConsumerErrorDialog">
<sqx-modal-dialog (close)="eventConsumerErrorDialog.hide()">
<ng-container title>
Error
</ng-container>
<ng-container content>
<textarea readonly class="form-control error-message">{{eventConsumerError}}</textarea>
</ng-container>
</sqx-modal-dialog>
</ng-container>