Use normal button for grid filters
since that's more portable (for oruga) than "checkbox button"
This commit is contained in:
parent
9f984241c4
commit
0ca3b31b2e
|
@ -151,7 +151,8 @@
|
||||||
${h.stylesheet_link(request.static_url('tailbone:static/css/codehilite.css') + '?ver={}'.format(tailbone.__version__))}
|
${h.stylesheet_link(request.static_url('tailbone:static/css/codehilite.css') + '?ver={}'.format(tailbone.__version__))}
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.filters .filter-fieldname {
|
.filters .filter-fieldname,
|
||||||
|
.filters .filter-fieldname .button {
|
||||||
min-width: ${filter_fieldname_width};
|
min-width: ${filter_fieldname_width};
|
||||||
justify-content: left;
|
justify-content: left;
|
||||||
}
|
}
|
||||||
|
|
|
@ -181,10 +181,11 @@
|
||||||
<div class="level-item filter-fieldname">
|
<div class="level-item filter-fieldname">
|
||||||
|
|
||||||
<b-field>
|
<b-field>
|
||||||
<b-checkbox-button v-model="filter.active" native-value="IGNORED">
|
<b-button @click="filter.active = !filter.active"
|
||||||
<b-icon pack="fas" icon="check" v-show="filter.active"></b-icon>
|
icon-pack="fas"
|
||||||
<span>{{ filter.label }}</span>
|
:icon-left="filter.active ? 'check' : null">
|
||||||
</b-checkbox-button>
|
{{ filter.label }}
|
||||||
|
</b-button>
|
||||||
</b-field>
|
</b-field>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue