0.0.252 add type_transport icons for finded routes
This commit is contained in:
@@ -1420,7 +1420,7 @@
|
||||
}
|
||||
|
||||
.inf_carrier_icon{
|
||||
width: 10%;
|
||||
width: 25px;
|
||||
}
|
||||
|
||||
.phones_carrier_span.active{
|
||||
|
||||
@@ -1460,6 +1460,13 @@ form.new_route>div{
|
||||
/*display: block ruby;*/
|
||||
|
||||
}
|
||||
|
||||
.type_transportation_carrier>.inf_carrier_icon{
|
||||
width: 14px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
|
||||
form.new_route>div.range-slider{
|
||||
margin-bottom: 30px;
|
||||
margin-top: 30px;
|
||||
|
||||
@@ -6,7 +6,13 @@
|
||||
<div class="carrier-title">
|
||||
{% translate "Перевозчик:" %}
|
||||
</div>
|
||||
|
||||
<div class="type_transportation_carrier">
|
||||
{% if route.type_transport == 'road' %}
|
||||
<img class="inf_carrier_icon" src="{% static "/img/svg/Car.svg" %}"/>
|
||||
{% elif route.type_transport == 'avia'%}
|
||||
<img class="inf_carrier_icon" src="{% static "/img/svg/Airplane.svg" %}"/>
|
||||
{% endif %}
|
||||
{{ route.get_type_transport_display }}
|
||||
</div>
|
||||
<div class="clear_both"></div>
|
||||
|
||||
Reference in New Issue
Block a user