aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular/videos/components/list/video-sort.component.html
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-23 11:07:42 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-23 11:07:42 +0200
commitcf20596c107eb0833259fa1098cc784267298a19 (patch)
tree094044145bdae9a840ff1fa5ceb56751528d3826 /client/angular/videos/components/list/video-sort.component.html
parent8140a704bbbecd149c68267545e4215579c9785c (diff)
downloadPeerTube-cf20596c107eb0833259fa1098cc784267298a19.tar.gz
PeerTube-cf20596c107eb0833259fa1098cc784267298a19.tar.zst
PeerTube-cf20596c107eb0833259fa1098cc784267298a19.zip
Add trivial sort for the client
Diffstat (limited to 'client/angular/videos/components/list/video-sort.component.html')
-rw-r--r--client/angular/videos/components/list/video-sort.component.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/angular/videos/components/list/video-sort.component.html b/client/angular/videos/components/list/video-sort.component.html
new file mode 100644
index 000000000..b1392ccca
--- /dev/null
+++ b/client/angular/videos/components/list/video-sort.component.html
@@ -0,0 +1,5 @@
1<select [(ngModel)]="currentSort" (ngModelChange)="onSortChange()">
2 <option *ngFor="let choice of choiceKeys" [value]="choice">
3 {{ getStringChoice(choice) }}
4 </option>
5</select>