diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
commit | d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d (patch) | |
tree | fa29fcfd704cbc56c7bc3e3e1c15d84ea0f4dc61 /client/src/app/header | |
parent | 25ea1d85e155382367d11036617848fe69a1e6a4 (diff) | |
download | PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.gz PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.zst PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.zip |
Fix lint
Diffstat (limited to 'client/src/app/header')
-rw-r--r-- | client/src/app/header/search-typeahead.component.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/src/app/header/search-typeahead.component.html b/client/src/app/header/search-typeahead.component.html index 783b4b53b..c5ca4b9b9 100644 --- a/client/src/app/header/search-typeahead.component.html +++ b/client/src/app/header/search-typeahead.component.html | |||
@@ -14,7 +14,8 @@ | |||
14 | <ul [hidden]="!search || !areSuggestionsOpened" role="listbox" class="p-0 m-0"> | 14 | <ul [hidden]="!search || !areSuggestionsOpened" role="listbox" class="p-0 m-0"> |
15 | <li | 15 | <li |
16 | *ngFor="let result of results; let i = index" class="suggestion d-flex flex-justify-start flex-items-center p-0 f5" | 16 | *ngFor="let result of results; let i = index" class="suggestion d-flex flex-justify-start flex-items-center p-0 f5" |
17 | role="option" aria-selected="true" (mouseenter)="onSuggestionHover(i)" (click)="onSuggestionClicked(result)" | 17 | role="option" aria-selected="true" tabindex="0" |
18 | (mouseenter)="onSuggestionHover(i)" (click)="onSuggestionClicked(result)" (keyup.enter)="onSuggestionClicked(result)" | ||
18 | > | 19 | > |
19 | <my-suggestion [result]="result" [highlight]="search"></my-suggestion> | 20 | <my-suggestion [result]="result" [highlight]="search"></my-suggestion> |
20 | </li> | 21 | </li> |
@@ -23,7 +24,7 @@ | |||
23 | <!-- suggestion help, not shown until one of the suggestions is selected and specific to that suggestion --> | 24 | <!-- suggestion help, not shown until one of the suggestions is selected and specific to that suggestion --> |
24 | <div *ngIf="showSearchGlobalHelp()" id="typeahead-help" class="overflow-hidden"> | 25 | <div *ngIf="showSearchGlobalHelp()" id="typeahead-help" class="overflow-hidden"> |
25 | <div class="d-flex justify-content-between"> | 26 | <div class="d-flex justify-content-between"> |
26 | <label class="small-title" i18n>GLOBAL SEARCH</label> | 27 | <div class="small-title" i18n>GLOBAL SEARCH</div> |
27 | <div class="advanced-search-status muted"> | 28 | <div class="advanced-search-status muted"> |
28 | <span *ngIf="serverConfig" class="me-1" i18n>using {{ serverConfig.search.searchIndex.url }}</span> | 29 | <span *ngIf="serverConfig" class="me-1" i18n>using {{ serverConfig.search.searchIndex.url }}</span> |
29 | </div> | 30 | </div> |
@@ -35,7 +36,7 @@ | |||
35 | <div *ngIf="areInstructionsDisplayed()" id="typeahead-instructions" class="overflow-hidden"> | 36 | <div *ngIf="areInstructionsDisplayed()" id="typeahead-instructions" class="overflow-hidden"> |
36 | <span class="muted" i18n>Your query will be matched against video names or descriptions, channel names.</span> | 37 | <span class="muted" i18n>Your query will be matched against video names or descriptions, channel names.</span> |
37 | <div class="d-flex justify-content-between mt-3"> | 38 | <div class="d-flex justify-content-between mt-3"> |
38 | <label class="small-title" i18n>ADVANCED SEARCH</label> | 39 | <div class="small-title" i18n>ADVANCED SEARCH</div> |
39 | <div class="advanced-search-status c-help"> | 40 | <div class="advanced-search-status c-help"> |
40 | <span [ngClass]="canSearchAnyURI ? 'text-success' : 'muted'" i18n-title title="Determines whether you can resolve any distant content, or if this instance only allows doing so for instances it follows."> | 41 | <span [ngClass]="canSearchAnyURI ? 'text-success' : 'muted'" i18n-title title="Determines whether you can resolve any distant content, or if this instance only allows doing so for instances it follows."> |
41 | <span *ngIf="canSearchAnyURI()" class="me-1" i18n>any instance</span> | 42 | <span *ngIf="canSearchAnyURI()" class="me-1" i18n>any instance</span> |