]>
Commit | Line | Data |
---|---|---|
d00dc28d C |
1 | <div class="toggle-plugin-type"> |
2 | <p-selectButton [options]="pluginTypeOptions" [(ngModel)]="pluginType" (ngModelChange)="reloadPlugins()"></p-selectButton> | |
3 | </div> | |
4 | ||
6702a1b2 | 5 | <div class="no-results" *ngIf="pagination.totalItems === 0"> |
d00dc28d C |
6 | {{ getNoResultMessage() }} |
7 | </div> | |
8 | ||
ad453580 | 9 | <div class="plugins" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" [dataObservable]="onDataSubject.asObservable()"> |
dba85a1e C |
10 | <div class="card plugin" *ngFor="let plugin of plugins"> |
11 | <div class="card-body"> | |
12 | <div class="first-row"> | |
97eae838 | 13 | <a class="plugin-name" [routerLink]="getShowRouterLink(plugin)" i18n-title title="Show plugin settings">{{ plugin.name }}</a> |
dba85a1e C |
14 | |
15 | <span class="plugin-version">{{ plugin.version }}</span> | |
16 | </div> | |
17 | ||
18 | <div class="second-row"> | |
19 | <div class="description">{{ plugin.description }}</div> | |
20 | ||
21 | <div class="buttons"> | |
22 | <a class="action-button action-button-edit grey-button" target="_blank" rel="noopener noreferrer" | |
23 | [href]="plugin.homepage" i18n-title title="Go to the plugin homepage" | |
24 | > | |
25 | <my-global-icon iconName="go"></my-global-icon> | |
26 | <span i18n class="button-label">Homepage</span> | |
27 | </a> | |
28 | ||
b5f919ac | 29 | <my-edit-button *ngIf="pluginType !== PluginType.THEME" [routerLink]="getShowRouterLink(plugin)" label="Settings" i18n-label></my-edit-button> |
dba85a1e | 30 | |
6702a1b2 | 31 | <my-button class="update-button" *ngIf="isUpdateAvailable(plugin)" (click)="update(plugin)" [loading]="isUpdating(plugin)" |
b5f919ac C |
32 | [label]="getUpdateLabel(plugin)" icon="refresh" [attr.disabled]="isUpdating(plugin)" |
33 | ></my-button> | |
dba85a1e C |
34 | |
35 | <my-delete-button (click)="uninstall(plugin)" label="Uninstall" i18n-label></my-delete-button> | |
36 | </div> | |
37 | </div> | |
38 | </div> | |
d00dc28d C |
39 | </div> |
40 | </div> |