]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/header/suggestion.component.html
First implem global search
[github/Chocobozzz/PeerTube.git] / client / src / app / header / suggestion.component.html
CommitLineData
8a979d73 1<a tabindex="-1" class="d-flex flex-auto flex-items-center p-2" [class.focus-visible]="active">
6af662a5 2 <div class="flex-shrink-0 mr-2 text-center">
5fb2e288 3 <my-global-icon iconName="search"></my-global-icon>
6af662a5
RK
4 </div>
5
6 <img class="avatar mr-2 flex-shrink-0 d-none" alt="" aria-label="Team" src="" width="28" height="28">
7
5fb2e288
C
8 <div
9 class="flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target"
10 [attr.aria-label]="result.text" [innerHTML]="result.text | highlight : highlight"
11 ></div>
6af662a5 12
5fb2e288 13 <div class="border rounded flex-shrink-0 px-1 bg-gray text-gray-light ml-1 f6">
9b8a7aa8 14 <span *ngIf="result.type === 'search-instance'" i18n>In this instance</span>
5fb2e288 15 <span *ngIf="result.type === 'search-index'" i18n>In the vidiverse</span>
6af662a5 16 </div>
5fb2e288 17</a>