Update SearchResults component

This commit is contained in:
Daniel Supernault 2019-04-17 20:15:29 -06:00
parent ab980aee89
commit 3810d213d6
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -12,19 +12,19 @@
<div v-if="!loading && !networkError" class="mt-5 row"> <div v-if="!loading && !networkError" class="mt-5 row">
<div class="col-12 col-md-3 mb-4"> <div class="col-12 col-md-3 mb-4">
<div> <div v-if="results.hashtags || results.profiles || results.statuses">
<p class="font-weight-bold">Filters</p> <p class="font-weight-bold">Filters</p>
<div class="custom-control custom-checkbox"> <div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="filter1" v-model="filters.hashtags"> <input type="checkbox" class="custom-control-input" id="filter1" v-model="filters.hashtags">
<label class="custom-control-label text-muted" for="filter1">Show Hashtags</label> <label class="custom-control-label text-muted font-weight-light" for="filter1">Show Hashtags</label>
</div> </div>
<div class="custom-control custom-checkbox"> <div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="filter2" v-model="filters.profiles"> <input type="checkbox" class="custom-control-input" id="filter2" v-model="filters.profiles">
<label class="custom-control-label text-muted" for="filter2">Show Profiles</label> <label class="custom-control-label text-muted font-weight-light" for="filter2">Show Profiles</label>
</div> </div>
<div class="custom-control custom-checkbox"> <div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="filter3" v-model="filters.statuses"> <input type="checkbox" class="custom-control-input" id="filter3" v-model="filters.statuses">
<label class="custom-control-label text-muted" for="filter3">Show Statuses</label> <label class="custom-control-label text-muted font-weight-light" for="filter3">Show Statuses</label>
</div> </div>
</div> </div>
</div> </div>