diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-01-19 13:43:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 13:43:33 +0100 |
commit | 370240824e2fb28b314255f6c23f5ea7d6b08625 (patch) | |
tree | 6d4350fd93ea0b960bd278a948cecbdfbd2b67d7 /client/src/app/shared/shared-main/misc/simple-search-input.component.html | |
parent | 2264c1ceedcf27998108b8f8b706e51ed910d4fb (diff) | |
download | PeerTube-370240824e2fb28b314255f6c23f5ea7d6b08625.tar.gz PeerTube-370240824e2fb28b314255f6c23f5ea7d6b08625.tar.zst PeerTube-370240824e2fb28b314255f6c23f5ea7d6b08625.zip |
Allow users/visitors to search through an account's videos (#3589)
* WIP: account search
* add search to account view
* add tests for account search
Diffstat (limited to 'client/src/app/shared/shared-main/misc/simple-search-input.component.html')
-rw-r--r-- | client/src/app/shared/shared-main/misc/simple-search-input.component.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-main/misc/simple-search-input.component.html b/client/src/app/shared/shared-main/misc/simple-search-input.component.html new file mode 100644 index 000000000..fb0d97122 --- /dev/null +++ b/client/src/app/shared/shared-main/misc/simple-search-input.component.html | |||
@@ -0,0 +1,14 @@ | |||
1 | <span> | ||
2 | <my-global-icon iconName="search" aria-label="Search" role="button" (click)="showInput()"></my-global-icon> | ||
3 | |||
4 | <input | ||
5 | #ref | ||
6 | type="text" | ||
7 | [(ngModel)]="value" | ||
8 | (focusout)="focusLost()" | ||
9 | (keyup.enter)="searchChange()" | ||
10 | [hidden]="!shown" | ||
11 | [name]="name" | ||
12 | [placeholder]="placeholder" | ||
13 | > | ||
14 | </span> | ||