aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/misc/simple-search-input.component.html
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-01-19 13:43:33 +0100
committerGitHub <noreply@github.com>2021-01-19 13:43:33 +0100
commit370240824e2fb28b314255f6c23f5ea7d6b08625 (patch)
tree6d4350fd93ea0b960bd278a948cecbdfbd2b67d7 /client/src/app/shared/shared-main/misc/simple-search-input.component.html
parent2264c1ceedcf27998108b8f8b706e51ed910d4fb (diff)
downloadPeerTube-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.html14
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>