]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/search/search.component.html
Client: avoid loading javascript ressource over the network
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / search / search.component.html
CommitLineData
471bc22f
C
1<div class="input-group">
2 <div class="input-group-btn" dropdown>
3 <button id="simple-btn-keyboard-nav" type="button" class="btn btn-default" dropdownToggle>
4 {{ getStringChoice(searchCriterias.field) }} <span class="caret"></span>
5 </button>
ad42bea3 6 <ul class="dropdown-menu" role="menu" aria-labelledby="simple-btn-keyboard-nav" *dropdownMenu>
2ac6c525 7 <li *ngFor="let choice of choiceKeys" class="dropdown-item" role="menu-item">
471bc22f
C
8 <a class="dropdown-item" href="#" (click)="choose($event, choice)">{{ getStringChoice(choice) }}</a>
9 </li>
10 </ul>
11 </div>
12
13 <input
14 type="text" id="search-video" name="search-video" class="form-control" placeholder="Search a video..." class="form-control"
15 [(ngModel)]="searchCriterias.value" (keyup.enter)="doSearch()"
16 >
17</div>