diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-29 12:14:06 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-29 12:17:11 +0100 |
commit | 2accfdd8ecd092de7e8c71fbd1235e139ad29832 (patch) | |
tree | 24b5bb7da7192fa11054a48ac0e4384b8ec8fb72 /client/src/app/+admin/plugins/shared/plugin-navigation.component.html | |
parent | 9744bb2ae8284c4589b66055c1d99997abf18748 (diff) | |
download | PeerTube-2accfdd8ecd092de7e8c71fbd1235e139ad29832.tar.gz PeerTube-2accfdd8ecd092de7e8c71fbd1235e139ad29832.tar.zst PeerTube-2accfdd8ecd092de7e8c71fbd1235e139ad29832.zip |
Refactor admin plugins
Diffstat (limited to 'client/src/app/+admin/plugins/shared/plugin-navigation.component.html')
-rw-r--r-- | client/src/app/+admin/plugins/shared/plugin-navigation.component.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/client/src/app/+admin/plugins/shared/plugin-navigation.component.html b/client/src/app/+admin/plugins/shared/plugin-navigation.component.html new file mode 100644 index 000000000..fd298d145 --- /dev/null +++ b/client/src/app/+admin/plugins/shared/plugin-navigation.component.html | |||
@@ -0,0 +1,11 @@ | |||
1 | <div class="root"> | ||
2 | <div class="btn-group" role="group" i18n-aria-label aria-label="Navigate between installed plugins and themes or find new ones"> | ||
3 | <a i18n routerLink="/admin/plugins/list-installed" [queryParams]="{ pluginType: pluginType }" routerLinkActive="active">Installed</a> | ||
4 | <a i18n routerLink="/admin/plugins/search" [queryParams]="{ pluginType: pluginType }" routerLinkActive="active">Search</a> | ||
5 | </div> | ||
6 | |||
7 | <div class="btn-group" role="group" i18n-aria-label aria-label="Navigate between plugins and themes"> | ||
8 | <a [ngClass]="{ active: pluginType === 1 }" routerLink="." [queryParams]="{ pluginType: 1 }" queryParamsHandling="merge" class="">Plugins</a> | ||
9 | <a [ngClass]="{ active: pluginType === 2 }" routerLink="." [queryParams]="{ pluginType: 2 }" queryParamsHandling="merge" class="">Themes</a> | ||
10 | </div> | ||
11 | </div> | ||