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.
 
 
 
 
 

43 lines
2.0 KiB

<sqx-title message="i18n:rules.ruleEvents.listPageTitle"></sqx-title>
<sqx-layout layout="main" titleText="i18n:common.events" titleIcon="events" [width]="50">
<ng-container menu>
<button type="button" class="btn btn-text-secondary" (click)="reload()" title="i18n:rules.refreshEventsTooltip" shortcut="CTRL + B">
<i class="icon-reset"></i> {{ 'common.refresh' | sqxTranslate }}
</button>
</ng-container>
<ng-container>
<sqx-list-view [table]="true">
<table class="table table-items table-fixed">
<thead>
<tr>
<th class="cell-label">
<span class="truncate">{{ 'common.status' | sqxTranslate }}</span>
</th>
<th class="cell-40">
<span class="truncate">{{ 'common.event' | sqxTranslate }}</span>
</th>
<th class="cell-60">
<span class="truncate">{{ 'common.description' | sqxTranslate }}</span>
</th>
<th class="cell-time">
<span class="truncate">{{ 'common.created' | sqxTranslate }}</span>
</th>
<th class="cell-actions">&nbsp;</th>
</tr>
</thead>
<tbody *ngFor="let event of ruleEventsState.ruleEvents | async; trackBy: trackByRuleEvent"
[sqxRuleEvent]="event"
(cancel)="cancel(event)"
(enqueue)="enqueue(event)"
[expanded]="event.id === selectedEventId"
(expandedChange)="selectEvent(event.id)">
</tbody>
</table>
<sqx-pager [autoHide]="true" [paging]="ruleEventsState.paging | async" (pagingChange)="ruleEventsState.page($event)"></sqx-pager>
</sqx-list-view>
</ng-container>
</sqx-layout>