#602 change class name ad or ads => classified for base theme

This commit is contained in:
vedatakd 2019-12-25 10:38:55 +03:00
parent 6026cd15f0
commit 0644384c8a
4 changed files with 12 additions and 9 deletions

View File

@ -6,16 +6,16 @@
height: 500px;
}
.table-ads .img-thumbnail {
.table-classified .img-thumbnail {
max-height: 70px;
}
.table-ads .td-image {
.table-classified .td-image {
max-width: 200px;
max-height: 100px;
}
.list-ads .bg-light {
.list-classified .bg-light {
height: 100px;
}

View File

@ -1,6 +1,6 @@
{{ addBlock('ad-list/partials/ads',{'featured_advs':featured_advs})|raw }}
{% for adv in advs %}
<div class="col-md-12 mb-2 list-ads">
<div class="col-md-12 mb-2 list-classified">
<a href="{{ adv.detail_url }}" class="text-dark">
<div class="row bg-light">
<div class="col-md-2 justify-content-center align-self-center border-right border-white">

View File

@ -9,9 +9,12 @@
<div class="row">
<div class="col-md-3 col-xs-3">
<div class="card m-4">
<img src="{{ img('visiosoft.module.advs::images/sample-logo.jpg').url }}"
class="card-img-top">
{# <img src="{{ user.file.url }}" class="card-img-top">#}
{% if user.file is null %}
<img src="{{ img('visiosoft.module.advs::images/sample-logo.jpg').url }}"
class="card-img-top">
{% else %}
<img src="{{ user.file.url }}" class="card-img-top">
{% endif %}
<div class="card-body">
<h5 class="card-title">{{ user.first_name }} {{ user.last_name }}</h5>
</div>

View File

@ -1,8 +1,8 @@
{% extends "visiosoft.module.advs::list/list" %}
{% block listContent %}
<div class="table-responsive table-ads">
<div class="table-responsive table-classified">
<table class="table ads-list-table">
<table class="table classified-list-table">
<thead>
<tr>
<th scope="col" colspan="2"