aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html
blob: d4501490f18746b737720529812777bfaa298f52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<div class="toggle-plugin-type">
  <p-selectButton [options]="pluginTypeOptions" [(ngModel)]="pluginType" (ngModelChange)="reloadPlugins()"></p-selectButton>
</div>

<div class="no-results" i18n *ngIf="pagination.totalItems === 0">
  {{ getNoResultMessage() }}
</div>

<div class="plugins" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true">
  <div class="card plugin" *ngFor="let plugin of plugins">
    <div class="card-body">
      <div class="first-row">
        <a class="plugin-name" [routerLink]="getShowRouterLink(plugin)" title="Show plugin settings">{{ plugin.name }}</a>

        <span class="plugin-version">{{ plugin.version }}</span>
      </div>

      <div class="second-row">
        <div class="description">{{ plugin.description }}</div>

        <div class="buttons">
          <a class="action-button action-button-edit grey-button" target="_blank" rel="noopener noreferrer"
             [href]="plugin.homepage" i18n-title title="Go to the plugin homepage"
          >
            <my-global-icon iconName="go"></my-global-icon>
            <span i18n class="button-label">Homepage</span>
          </a>


          <my-edit-button [routerLink]="getShowRouterLink(plugin)" label="Settings" i18n-label></my-edit-button>

          <my-delete-button (click)="uninstall(plugin)" label="Uninstall" i18n-label></my-delete-button>
        </div>
      </div>
    </div>
  </div>
</div>