# 61 Filter frontend
* finished filter frontend
This commit is contained in:
@@ -71,7 +71,8 @@ class GeoReferencedTableFilterMixin(django_filters.FilterSet):
|
||||
widget=forms.TextInput(
|
||||
attrs={
|
||||
"placeholder": _("District"),
|
||||
"title": _("Search for district")
|
||||
"title": _("Search for district"),
|
||||
"class": "form-control",
|
||||
}
|
||||
),
|
||||
)
|
||||
@@ -83,7 +84,8 @@ class GeoReferencedTableFilterMixin(django_filters.FilterSet):
|
||||
widget=forms.TextInput(
|
||||
attrs={
|
||||
"placeholder": _("Parcel gmrkng"),
|
||||
"title": _("Search for parcel gmrkng")
|
||||
"title": _("Search for parcel gmrkng"),
|
||||
"class": "form-control",
|
||||
}
|
||||
),
|
||||
)
|
||||
@@ -95,7 +97,8 @@ class GeoReferencedTableFilterMixin(django_filters.FilterSet):
|
||||
widget=forms.TextInput(
|
||||
attrs={
|
||||
"placeholder": _("Parcel"),
|
||||
"title": _("Search for parcel")
|
||||
"title": _("Search for parcel"),
|
||||
"class": "form-control",
|
||||
}
|
||||
),
|
||||
)
|
||||
@@ -107,7 +110,8 @@ class GeoReferencedTableFilterMixin(django_filters.FilterSet):
|
||||
widget=forms.TextInput(
|
||||
attrs={
|
||||
"placeholder": _("Parcel counter"),
|
||||
"title": _("Search for parcel counter")
|
||||
"title": _("Search for parcel counter"),
|
||||
"class": "form-control",
|
||||
}
|
||||
),
|
||||
)
|
||||
@@ -120,7 +124,8 @@ class GeoReferencedTableFilterMixin(django_filters.FilterSet):
|
||||
widget=forms.TextInput(
|
||||
attrs={
|
||||
"placeholder": _("Parcel number"),
|
||||
"title": _("Search for parcel number")
|
||||
"title": _("Search for parcel number"),
|
||||
"class": "form-control",
|
||||
}
|
||||
),
|
||||
)
|
||||
@@ -251,7 +256,11 @@ class ShareableTableFilterMixin(django_filters.FilterSet):
|
||||
method='filter_show_all',
|
||||
label=_("Show unshared"),
|
||||
label_suffix=_(""),
|
||||
widget=forms.CheckboxInput()
|
||||
widget=forms.CheckboxInput(
|
||||
attrs={
|
||||
"class": "form-check-input",
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
class Meta:
|
||||
@@ -291,7 +300,11 @@ class RecordableTableFilterMixin(django_filters.FilterSet):
|
||||
method='filter_show_recorded',
|
||||
label=_("Show recorded"),
|
||||
label_suffix=_(""),
|
||||
widget=forms.CheckboxInput()
|
||||
widget=forms.CheckboxInput(
|
||||
attrs={
|
||||
"class": "form-check-input",
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
class Meta:
|
||||
|
||||
Reference in New Issue
Block a user