2017-12-11 14:39:12 +00:00
|
|
|
{{toolbar/nav-bar}}
|
2017-11-29 11:09:54 +00:00
|
|
|
|
2017-12-15 13:41:20 +00:00
|
|
|
{{#toolbar/t-toolbar}}
|
|
|
|
{{#toolbar/t-links}}
|
|
|
|
{{/toolbar/t-links}}
|
|
|
|
{{#toolbar/t-actions}}
|
|
|
|
{{/toolbar/t-actions}}
|
|
|
|
{{/toolbar/t-toolbar}}
|
2017-11-29 11:09:54 +00:00
|
|
|
|
2017-12-15 13:41:20 +00:00
|
|
|
<div class="container">
|
2017-11-29 11:09:54 +00:00
|
|
|
<div class="view-search mt-5">
|
|
|
|
<div class="heading">Search</div>
|
2018-03-30 20:00:24 +01:00
|
|
|
<form onsubmit={{action 'onSearch'}}>
|
|
|
|
<div class="form-group mt-4">
|
|
|
|
{{focus-input type="text" value=filter class="form-control mb-4" placeholder='a OR b, x AND y, "phrase mat*"'}}
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
{{input type="checkbox" id="search-1" class="form-check-input" checked=matchDoc}}
|
|
|
|
<label class="form-check-label" for="search-1"> document title</label>
|
|
|
|
</div>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
{{input type="checkbox" id="search-2" class="form-check-input" checked=matchContent}}
|
|
|
|
<label class="form-check-label" for="search-2"> content</label>
|
|
|
|
</div>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
{{input type="checkbox" id="search-3" class="form-check-input" checked=matchTag}}
|
|
|
|
<label class="form-check-label" for="search-3"> tag name</label>
|
|
|
|
</div>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
{{input type="checkbox" id="search-4" class="form-check-input" checked=matchFile}}
|
|
|
|
<label class="form-check-label" for="search-4"> attachment name</label>
|
|
|
|
</div>
|
2017-11-29 11:09:54 +00:00
|
|
|
</div>
|
2018-03-30 20:00:24 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<button class="btn btn-success" {{action 'onSearch'}}>Search</button>
|
2017-11-29 11:09:54 +00:00
|
|
|
</div>
|
2018-03-30 20:00:24 +01:00
|
|
|
</form>
|
2017-11-29 11:09:54 +00:00
|
|
|
|
2018-04-05 14:24:58 +01:00
|
|
|
{{search/search-results results=results keywords=filter}}
|
2017-11-29 11:09:54 +00:00
|
|
|
</div>
|
2018-03-22 17:29:59 +00:00
|
|
|
</div>
|