mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 06:46:08 -06:00
#2224 [advs-module] Fix lising page style
This commit is contained in:
parent
b4941cf6ca
commit
e7e1c9e266
@ -113,7 +113,6 @@
|
|||||||
|
|
||||||
.result-text {
|
.result-text {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
margin: 0 -15px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.result-text span:first-child {
|
.result-text span:first-child {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<button onclick="changeViewType('{{ url_route('visiosoft.module.advs::view_type', ['map']) }}')"
|
<button onclick="changeViewType('{{ url_route('visiosoft.module.advs::view_type', ['map']) }}')"
|
||||||
class="mx-auto border-0 text-dark d-flex align-items-center justify-content-center">
|
class="mx-auto border-0 text-dark d-flex align-items-center justify-content-center">
|
||||||
<img src="{{ img('visiosoft.module.advs::images/map-icon.svg').url }}" alt="map icon" class="mr-1">
|
<img src="{{ img('visiosoft.module.advs::images/map-icon.svg').url }}" alt="map icon" class="mr-1">
|
||||||
<small>{{ trans("visiosoft.module.advs::field.show_display_mode.map") }}</small>
|
<small class="d-md-none d-lg-inline">{{ trans("visiosoft.module.advs::field.show_display_mode.map") }}</small>
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
@ -12,21 +12,21 @@
|
|||||||
<button onclick="changeViewType('{{ url_route('visiosoft.module.advs::view_type', ['list']) }}')"
|
<button onclick="changeViewType('{{ url_route('visiosoft.module.advs::view_type', ['list']) }}')"
|
||||||
class="mx-auto border-0 text-dark d-flex align-items-center justify-content-center">
|
class="mx-auto border-0 text-dark d-flex align-items-center justify-content-center">
|
||||||
<img src="{{ img('visiosoft.module.advs::images/list-icon.svg').url }}" alt="list icon" class="mr-1">
|
<img src="{{ img('visiosoft.module.advs::images/list-icon.svg').url }}" alt="list icon" class="mr-1">
|
||||||
<small>{{ trans('visiosoft.module.advs::field.show_list_view.name') }}</small>
|
<small class="d-md-none d-lg-inline">{{ trans('visiosoft.module.advs::field.show_list_view.name') }}</small>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-3 list-table-view d-none d-md-block">
|
<div class="col-3 list-table-view d-none d-md-block">
|
||||||
<button onclick="changeViewType('{{ url_route('visiosoft.module.advs::view_type', ['table']) }}')"
|
<button onclick="changeViewType('{{ url_route('visiosoft.module.advs::view_type', ['table']) }}')"
|
||||||
class="border-0 text-dark d-flex align-items-center justify-content-center">
|
class="border-0 text-dark d-flex align-items-center justify-content-center">
|
||||||
<img src="{{ img('visiosoft.module.advs::images/table-icon.svg').url }}" alt="table icon" class="mr-1">
|
<img src="{{ img('visiosoft.module.advs::images/table-icon.svg').url }}" alt="table icon" class="mr-1">
|
||||||
<small>{{ trans('visiosoft.module.advs::field.show_table_view.name') }}</small>
|
<small class="d-md-none d-lg-inline">{{ trans('visiosoft.module.advs::field.show_table_view.name') }}</small>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-4 col-md-3 pr-0">
|
<div class="col-4 col-md-3 pr-0">
|
||||||
<button onclick="changeViewType('{{ url_route('visiosoft.module.advs::view_type', ['gallery']) }}')"
|
<button onclick="changeViewType('{{ url_route('visiosoft.module.advs::view_type', ['gallery']) }}')"
|
||||||
class="mx-auto border-0 text-dark d-flex align-items-center justify-content-center">
|
class="mx-auto border-0 text-dark d-flex align-items-center justify-content-center">
|
||||||
<img src="{{ img('visiosoft.module.advs::images/gallery-icon.svg').url }}" alt="gallery icon" class="mr-1">
|
<img src="{{ img('visiosoft.module.advs::images/gallery-icon.svg').url }}" alt="gallery icon" class="mr-1">
|
||||||
<small> {{ trans('visiosoft.module.advs::field.gallery') }}</small>
|
<small class="d-md-none d-lg-inline"> {{ trans('visiosoft.module.advs::field.gallery') }}</small>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -16,11 +16,11 @@
|
|||||||
{% endset %}
|
{% endset %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ formHtml }}
|
{{ formHtml }}
|
||||||
<div class="row">
|
<div>
|
||||||
<input type="hidden" name="cat" value="{{ app.request.get('cat') }}">
|
<input type="hidden" name="cat" value="{{ app.request.get('cat') }}">
|
||||||
<input type="hidden" name="user" value="{{ app.request.get('user') }}">
|
<input type="hidden" name="user" value="{{ app.request.get('user') }}">
|
||||||
<div class="col-md-12 px-4">
|
<div>
|
||||||
<div class="row">
|
<div>
|
||||||
<div id="filter" class="w-100 mb-3">
|
<div id="filter" class="w-100 mb-3">
|
||||||
|
|
||||||
{{ addBlock('ads-list/partials/list-filter',{
|
{{ addBlock('ads-list/partials/list-filter',{
|
||||||
|
|||||||
@ -293,7 +293,7 @@ class AdvsController extends PublicController
|
|||||||
$viewType = $this->requestHttp->cookie('viewType');
|
$viewType = $this->requestHttp->cookie('viewType');
|
||||||
|
|
||||||
$catText = '';
|
$catText = '';
|
||||||
if (!isset($allCats)) {
|
if (!$allCats) {
|
||||||
if (count($mainCats) == 1 || count($mainCats) == 2) {
|
if (count($mainCats) == 1 || count($mainCats) == 2) {
|
||||||
$catText = end($mainCats)['val'];
|
$catText = end($mainCats)['val'];
|
||||||
} elseif (count($mainCats) > 2) {
|
} elseif (count($mainCats) > 2) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user