1
0
Fork 0
peertube/client/src/app/header/suggestion.component.html

18 lines
773 B
HTML
Raw Normal View History

2020-02-12 10:20:49 -05:00
<a tabindex="-1" class="d-flex flex-auto flex-items-center p-2" [class.focus-visible]="active">
<div class="flex-shrink-0 mr-2 text-center">
2020-05-29 10:16:24 -04:00
<my-global-icon iconName="search"></my-global-icon>
</div>
<img class="avatar mr-2 flex-shrink-0 d-none" alt="" aria-label="Team" src="" width="28" height="28">
2020-05-29 10:16:24 -04:00
<div
class="flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target"
[attr.aria-label]="result.text" [innerHTML]="result.text | highlight : highlight"
></div>
2020-05-29 10:16:24 -04:00
<div class="border rounded flex-shrink-0 px-1 bg-gray text-gray-light ml-1 f6">
<span *ngIf="result.type === 'search-instance'" i18n>In this instance's network</span>
2020-05-29 10:16:24 -04:00
<span *ngIf="result.type === 'search-index'" i18n>In the vidiverse</span>
</div>
2020-05-29 10:16:24 -04:00
</a>