mirror of https://github.com/Squidex/squidex.git
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.
47 lines
1.8 KiB
47 lines
1.8 KiB
<sqx-title message="Patterns"></sqx-title>
|
|
|
|
<sqx-panel desiredWidth="63rem" showSidebar="true" grid="true">
|
|
<ng-container title>
|
|
Patterns
|
|
</ng-container>
|
|
|
|
<ng-container menu>
|
|
<button type="button" class="btn btn-text-secondary" (click)="reload()" title="Refresh patterns (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>
|
|
<sqx-list-view [isLoading]="patternsState.isLoading | async">
|
|
<div content>
|
|
<ng-container *ngIf="(patternsState.isLoaded | async) && (patternsState.patterns | async); let patterns">
|
|
<div class="table-items-row table-items-row-empty" *ngIf="patterns.length === 0">
|
|
No pattern created yet.
|
|
</div>
|
|
|
|
<sqx-pattern *ngFor="let pattern of patterns; trackBy: trackByPattern"
|
|
[pattern]="pattern">
|
|
</sqx-pattern>
|
|
|
|
<sqx-pattern *ngIf="patternsState.canCreate | async"></sqx-pattern>
|
|
</ng-container>
|
|
</div>
|
|
</sqx-list-view>
|
|
</ng-container>
|
|
|
|
<ng-container sidebar>
|
|
<div class="panel-nav">
|
|
<a class="panel-link" routerLink="history" routerLinkActive="active" title="History" titlePosition="left">
|
|
<i class="icon-time"></i>
|
|
</a>
|
|
|
|
<a class="panel-link" routerLink="help" routerLinkActive="active" title="Help" titlePosition="left">
|
|
<i class="icon-help2"></i>
|
|
</a>
|
|
</div>
|
|
</ng-container>
|
|
</sqx-panel>
|
|
|
|
<router-outlet></router-outlet>
|