mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #1050 from openclassify/dia
#3722 Search Keyword Filter For Ads List
This commit is contained in:
commit
c2401c2aa2
@ -166,7 +166,7 @@ ul {
|
||||
/* End Location */
|
||||
|
||||
/* Price */
|
||||
#price {
|
||||
#price, .range-filter {
|
||||
li {
|
||||
& + & {
|
||||
margin-left: 0.5em;
|
||||
@ -229,6 +229,14 @@ ul {
|
||||
}
|
||||
/* End Map */
|
||||
|
||||
/* Keyword */
|
||||
#keywordFilter {
|
||||
input {
|
||||
font-size: calc(14rem / 16);
|
||||
}
|
||||
}
|
||||
/* End Keyword */
|
||||
|
||||
/* Filter submit */
|
||||
#filterSubmit {
|
||||
button {
|
||||
|
||||
@ -343,6 +343,7 @@ return [
|
||||
'view' => 'View',
|
||||
'ads_with_map' => 'Ads With Map',
|
||||
'advanced_sorting' => 'Advanced Sorting',
|
||||
'filter_by_word' => 'Filter by word',
|
||||
|
||||
'free' => 'Free',
|
||||
'ad_date' => 'Ad Date',
|
||||
|
||||
@ -130,6 +130,22 @@
|
||||
<!-- Map Filter End -->
|
||||
{% endif %}
|
||||
|
||||
<!-- Keyword Filter Start -->
|
||||
<div id="keywordFilter" class="border rounded filter-box p-3 mb-3">
|
||||
<div class="d-flex align-items-center justify-content-between px-2 border-bottom mb-3 pb-1">
|
||||
<p>{{ trans("visiosoft.module.advs::field.filter_by_word") }}</p>
|
||||
{{ img('visiosoft.module.advs::images/listing/filter-arrow.svg').data|raw }}
|
||||
</div>
|
||||
|
||||
<div class="px-3 mb-1">
|
||||
<div class="d-flex justify-content-around mt-3 range-input-wrapper">
|
||||
<input type="text" class="border-0 shadow-sm rounded px-3 py-1" name="keyword"
|
||||
value="{{ app.request.get('keyword') }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Keyword Filter End -->
|
||||
|
||||
<div id="filterSubmit" class="px-3 text-right">
|
||||
<button type="submit" class="btn text-white btn-sm px-3">
|
||||
{{ trans("visiosoft.module.advs::field.search") }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user