aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/misc/simple-search-input.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-26 13:20:37 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-03-31 09:05:51 +0200
commit67264e060b6068399dae9a67abae035a73b84af1 (patch)
treedabb735a530c9389c941f7ff1d44fa4b5f6db03e /client/src/app/shared/shared-main/misc/simple-search-input.component.html
parent60c35932f6a14cfe83bb0e54407427cce70171ea (diff)
downloadPeerTube-67264e060b6068399dae9a67abae035a73b84af1.tar.gz
PeerTube-67264e060b6068399dae9a67abae035a73b84af1.tar.zst
PeerTube-67264e060b6068399dae9a67abae035a73b84af1.zip
Redesign account page
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.html13
1 files changed, 7 insertions, 6 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
index fb0d97122..c20c02e23 100644
--- 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
@@ -1,14 +1,15 @@
1<span> 1<div class="root">
2 <my-global-icon iconName="search" aria-label="Search" role="button" (click)="showInput()"></my-global-icon>
3
4 <input 2 <input
5 #ref 3 #ref
6 type="text" 4 type="text"
7 [(ngModel)]="value" 5 [(ngModel)]="value"
8 (focusout)="focusLost()"
9 (keyup.enter)="searchChange()" 6 (keyup.enter)="searchChange()"
10 [hidden]="!shown" 7 [hidden]="!inputShown"
11 [name]="name" 8 [name]="name"
12 [placeholder]="placeholder" 9 [placeholder]="placeholder"
13 > 10 >
14</span> 11
12 <my-global-icon iconName="search" aria-label="Search" role="button" (click)="onIconClick()" [title]="iconTitle"></my-global-icon>
13
14 <my-global-icon *ngIf="!alwaysShow && inputShown" i18n-title title="Close search" iconName="cross" (click)="hideInput()"></my-global-icon>
15</div>