Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
momijizukamori committed Aug 4, 2023
1 parent 0f83529 commit 5016ceb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions resources/views/components/filters.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,8 @@
<div class="pb-2">
<label class="control-label">Year</label>
<v-select style="width: 100%" v-model="state.years" :options="years" placeholder="Tap to filter" multiple></v-select>
<div class="match_type"> {{__('ui.search.match_type')}}
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-outline-secondary active btn-sm">
<input type="radio" name="year_matcher" value="OR" id="year_match_any" autocomplete="off" checked> {{__('ui.search.match_any')}}
</label>
<label class="btn btn-outline-secondary btn-sm">
<input type="radio" name="year_matcher" value="AND" id="year_match_all" autocomplete="off"> {{__('ui.search.match_all')}}
</label>
<label class="btn btn-outline-secondary btn-sm">
<input type="radio" name="year_matcher" value="NONE" id="year_match_none" autocomplete="off"> {{__('ui.search.match_none')}}
</label>
</div>
<div v-if="state.years.length > 0" class="match_type"> Match
<b-form-radio-group button-variant="outline-secondary" buttons size="sm" v-model="state.year_matcher" :options="options"></b-form-radio-group>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/search.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="row">
@forelse ($items as $item)
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 p-2">
@include('items.card', compact('item'))
@include('items.card', ['item' => $item, 'type' => 'small'])
</div>
@empty
<div style="height: 14rem">
Expand Down

0 comments on commit 5016ceb

Please sign in to comment.