diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-01-20 15:12:51 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-13 16:32:21 +0100 |
commit | f409f0c3b91d85c66b4841d72ea65b5fbe1483d8 (patch) | |
tree | 72c2ab403f6b0708921b64bafae5ef971dfbde3e /client/src/app/header/header.component.html | |
parent | 36f2981f7d586cea206e4c143c18cf866a4e3acd (diff) | |
download | PeerTube-f409f0c3b91d85c66b4841d72ea65b5fbe1483d8.tar.gz PeerTube-f409f0c3b91d85c66b4841d72ea65b5fbe1483d8.tar.zst PeerTube-f409f0c3b91d85c66b4841d72ea65b5fbe1483d8.zip |
Search typeahead initial design
Diffstat (limited to 'client/src/app/header/header.component.html')
-rw-r--r-- | client/src/app/header/header.component.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/client/src/app/header/header.component.html b/client/src/app/header/header.component.html index 4fd18f9bd..38c87c642 100644 --- a/client/src/app/header/header.component.html +++ b/client/src/app/header/header.component.html | |||
@@ -1,8 +1,10 @@ | |||
1 | <input | 1 | <my-search-typeahead> |
2 | type="text" id="search-video" name="search-video" [attr.aria-label]="ariaLabelTextForSearch" i18n-placeholder placeholder="Search videos, channels…" | 2 | <input |
3 | [(ngModel)]="searchValue" (keyup.enter)="doSearch()" | 3 | type="text" id="search-video" name="search-video" [attr.aria-label]="ariaLabelTextForSearch" i18n-placeholder placeholder="Search videos, channels…" |
4 | > | 4 | [(ngModel)]="searchValue" (keyup.enter)="doSearch()" |
5 | <span (click)="doSearch()" class="icon icon-search"></span> | 5 | > |
6 | <span (click)="doSearch()" class="icon icon-search"></span> | ||
7 | </my-search-typeahead> | ||
6 | 8 | ||
7 | <a class="upload-button" routerLink="/videos/upload"> | 9 | <a class="upload-button" routerLink="/videos/upload"> |
8 | <my-global-icon iconName="upload"></my-global-icon> | 10 | <my-global-icon iconName="upload"></my-global-icon> |