mirror of
https://github.com/documize/community.git
synced 2025-07-25 08:09:43 +02:00
Removed previous page layout framework
This commit is contained in:
parent
c7cc36b307
commit
f20a1d1d5f
16 changed files with 106 additions and 416 deletions
|
@ -1,4 +1,4 @@
|
|||
<div class="view-search my-5">
|
||||
<div class="view-search">
|
||||
<div class="heading">{{resultPhrase}}</div>
|
||||
<ul class="documents">
|
||||
{{#each documents key="id" as |result index|}}
|
||||
|
|
|
@ -1,31 +1,30 @@
|
|||
<div class="container">
|
||||
<div class="view-search mt-5">
|
||||
<div class="heading">Search</div>
|
||||
<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>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-success" {{action 'onSearch'}}>Search</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{{search/search-results results=results keywords=filter}}
|
||||
<div class="view-search">
|
||||
<form onsubmit={{action 'onSearch'}} class="form-inline">
|
||||
<div class="form-group">
|
||||
{{focus-input type="text" value=filter class="form-control mr-3 search-box" placeholder='keywords, tags'}}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-success" {{action 'onSearch'}}>Search</button>
|
||||
</div>
|
||||
</form>
|
||||
<div class="form-group mt-2">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{search/search-results results=results keywords=filter}}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue