aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2022-02-01 14:47:36 +0100
committerGitHub <noreply@github.com>2022-02-01 14:47:36 +0100
commit038e1f3de57ccabd495f6137e73b7e8fc73d30e7 (patch)
tree511ab4b74ce818d45e32a2ecbdb0edf66f7ee972 /client/src/app
parenta2caee9f5162232234de2e8aae6957cc7f38c853 (diff)
downloadPeerTube-038e1f3de57ccabd495f6137e73b7e8fc73d30e7.tar.gz
PeerTube-038e1f3de57ccabd495f6137e73b7e8fc73d30e7.tar.zst
PeerTube-038e1f3de57ccabd495f6137e73b7e8fc73d30e7.zip
Add refresh button to admin > video list (#4753)
* feat(client/video-list): add refresh btn * CSS styling Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+admin/overview/videos/video-list.component.html6
-rw-r--r--client/src/app/+admin/overview/videos/video-list.component.scss9
2 files changed, 14 insertions, 1 deletions
diff --git a/client/src/app/+admin/overview/videos/video-list.component.html b/client/src/app/+admin/overview/videos/video-list.component.html
index 7fc796751..974912b32 100644
--- a/client/src/app/+admin/overview/videos/video-list.component.html
+++ b/client/src/app/+admin/overview/videos/video-list.component.html
@@ -21,8 +21,12 @@
21 </my-action-dropdown> 21 </my-action-dropdown>
22 </div> 22 </div>
23 23
24 <div class="ml-auto"> 24 <div class="ml-auto right-form">
25 <my-advanced-input-filter [filters]="inputFilters" (search)="onSearch($event)"></my-advanced-input-filter> 25 <my-advanced-input-filter [filters]="inputFilters" (search)="onSearch($event)"></my-advanced-input-filter>
26
27 <div class="button-filter-block">
28 <my-button i18n-label label="Refresh" icon="refresh" (click)="reloadData()"></my-button>
29 </div>
26 </div> 30 </div>
27 31
28 </div> 32 </div>
diff --git a/client/src/app/+admin/overview/videos/video-list.component.scss b/client/src/app/+admin/overview/videos/video-list.component.scss
index d249f12f6..543cb433c 100644
--- a/client/src/app/+admin/overview/videos/video-list.component.scss
+++ b/client/src/app/+admin/overview/videos/video-list.component.scss
@@ -19,3 +19,12 @@ my-embed {
19.loading { 19.loading {
20 opacity: 0.5; 20 opacity: 0.5;
21} 21}
22
23.right-form {
24 display: flex;
25
26 > *:not(:last-child) {
27 @include margin-right(10px);
28 }
29}
30