diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-10 23:42:52 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-10 23:48:12 +0100 |
commit | 03efb1419d33627939ee9593633fc703b957199d (patch) | |
tree | 99836915c70594e9aabe0d8dd28cea3d45826cac /client/src/app/+admin/plugins/plugin-list-installed | |
parent | 9b3078581f2767c7aa2ed5766e1a588ebc0cb875 (diff) | |
download | PeerTube-03efb1419d33627939ee9593633fc703b957199d.tar.gz PeerTube-03efb1419d33627939ee9593633fc703b957199d.tar.zst PeerTube-03efb1419d33627939ee9593633fc703b957199d.zip |
Better use of space and icons in plugins administration interface
Diffstat (limited to 'client/src/app/+admin/plugins/plugin-list-installed')
-rw-r--r-- | client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html index 1a177de72..a2d0fde08 100644 --- a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html +++ b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html | |||
@@ -10,22 +10,19 @@ | |||
10 | <div class="card plugin" *ngFor="let plugin of plugins"> | 10 | <div class="card plugin" *ngFor="let plugin of plugins"> |
11 | <div class="card-body"> | 11 | <div class="card-body"> |
12 | <div class="first-row"> | 12 | <div class="first-row"> |
13 | <a class="plugin-name" [routerLink]="getShowRouterLink(plugin)" i18n-title title="Show plugin settings">{{ plugin.name }}</a> | 13 | <span class="plugin-name">{{ plugin.name }}</span> |
14 | 14 | ||
15 | <span class="plugin-version">{{ plugin.version }}</span> | 15 | <span class="plugin-version">{{ plugin.version }}</span> |
16 | </div> | ||
17 | 16 | ||
18 | <div class="second-row"> | 17 | <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="plugin.homepage" i18n-title title="Go to the plugin homepage"> |
19 | <div class="description">{{ plugin.description }}</div> | 18 | <my-global-icon iconName="home"></my-global-icon> |
19 | </a> | ||
20 | 20 | ||
21 | <div class="buttons"> | 21 | <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="'https://www.npmjs.com/package/peertube-plugin-' + plugin.name" i18n-title title="Go to the plugin homepage"> |
22 | <a class="action-button action-button-edit grey-button" target="_blank" rel="noopener noreferrer" | 22 | <my-global-icon iconName="npm"></my-global-icon> |
23 | [href]="plugin.homepage" i18n-title title="Go to the plugin homepage" | 23 | </a> |
24 | > | ||
25 | <my-global-icon iconName="go"></my-global-icon> | ||
26 | <span i18n class="button-label">Homepage</span> | ||
27 | </a> | ||
28 | 24 | ||
25 | <div class="buttons"> | ||
29 | <my-edit-button *ngIf="pluginType !== PluginType.THEME" [routerLink]="getShowRouterLink(plugin)" label="Settings" i18n-label></my-edit-button> | 26 | <my-edit-button *ngIf="pluginType !== PluginType.THEME" [routerLink]="getShowRouterLink(plugin)" label="Settings" i18n-label></my-edit-button> |
30 | 27 | ||
31 | <my-button class="update-button" *ngIf="isUpdateAvailable(plugin)" (click)="update(plugin)" [loading]="isUpdating(plugin)" | 28 | <my-button class="update-button" *ngIf="isUpdateAvailable(plugin)" (click)="update(plugin)" [loading]="isUpdating(plugin)" |
@@ -35,6 +32,10 @@ | |||
35 | <my-delete-button (click)="uninstall(plugin)" label="Uninstall" i18n-label></my-delete-button> | 32 | <my-delete-button (click)="uninstall(plugin)" label="Uninstall" i18n-label></my-delete-button> |
36 | </div> | 33 | </div> |
37 | </div> | 34 | </div> |
35 | |||
36 | <div class="second-row"> | ||
37 | <div class="description">{{ plugin.description }}</div> | ||
38 | </div> | ||
38 | </div> | 39 | </div> |
39 | </div> | 40 | </div> |
40 | </div> | 41 | </div> |