]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/search/search.component.html
Improve client mobile version
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / search / search.component.html
CommitLineData
471bc22f 1<div class="input-group">
383bfc83 2
a01f107b 3 <span class="hidden-xs input-group-addon icon-addon">
383bfc83
C
4 <span class="glyphicon glyphicon-search"></span>
5 </span>
6
7 <input
8 type="text" id="search-video" name="search-video" class="form-control" placeholder="Search" class="form-control"
fd45e8f4 9 [(ngModel)]="searchCriteria.value" (keyup.enter)="doSearch()"
383bfc83
C
10 >
11
12 <div class="input-group-btn" dropdown placement="bottom right">
471bc22f 13 <button id="simple-btn-keyboard-nav" type="button" class="btn btn-default" dropdownToggle>
fd45e8f4 14 {{ getStringChoice(searchCriteria.field) }} <span class="caret"></span>
471bc22f 15 </button>
383bfc83 16 <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="simple-btn-keyboard-nav" *dropdownMenu>
2ac6c525 17 <li *ngFor="let choice of choiceKeys" class="dropdown-item" role="menu-item">
471bc22f
C
18 <a class="dropdown-item" href="#" (click)="choose($event, choice)">{{ getStringChoice(choice) }}</a>
19 </li>
20 </ul>
21 </div>
471bc22f 22</div>