mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 14:56:13 -06:00
fix => Complaint button appearance
This commit is contained in:
parent
6ad1a5b3fd
commit
37b2c329cd
@ -1,7 +1,8 @@
|
|||||||
{% extends "theme::layouts/default" %}
|
{% extends "theme::layouts/default" %}
|
||||||
|
|
||||||
{% block ogdata %}
|
{% block ogdata %}
|
||||||
<meta property="og:site_name" content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}"/>
|
<meta property="og:site_name"
|
||||||
|
content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}"/>
|
||||||
<meta property="og:description" content="{{ template.get('og_description', trans(template.meta_description)) }}"/>
|
<meta property="og:description" content="{{ template.get('og_description', trans(template.meta_description)) }}"/>
|
||||||
<meta property="og:title" content="{{ adv.title }}"/>
|
<meta property="og:title" content="{{ adv.title }}"/>
|
||||||
<meta property="og:url" content="{{ template.get('og_url', url_current()) }}"/>
|
<meta property="og:url" content="{{ template.get('og_url', url_current()) }}"/>
|
||||||
@ -126,7 +127,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 add-cart-upgrade">
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 add-cart-upgrade">
|
||||||
<button type="button" class="btn btn-default btn-number"
|
<button type="button" class="btn btn-default btn-number"
|
||||||
data-type="plus" data-field="quant[1]" {% if adv.stock < "2" %} disabled="true" {% endif %}>
|
data-type="plus"
|
||||||
|
data-field="quant[1]" {% if adv.stock < "2" %} disabled="true" {% endif %}>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -166,11 +168,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if(profile.getObject().gsm_phone is not null or profile.office_phone is not null or entries('advs').isEnabled('messages')) %}
|
{% if(profile.getObject().gsm_phone is not null or profile.office_phone is not null or entries('advs').isEnabled('messages')) %}
|
||||||
<!-- contact-with -->
|
<!-- contact-with -->
|
||||||
<div class="contact-with">
|
<div class="contact-with">
|
||||||
<h4> {{ trans('visiosoft.module.advs::field.contact_with') }}</h4>
|
<h4> {{ trans('visiosoft.module.advs::field.contact_with') }}</h4>
|
||||||
{% if(profile.getObject().gsm_phone != null) %}
|
{% if(profile.getObject().gsm_phone != null) %}
|
||||||
<span class="btn btn-red show-number" data-id="{{ adv.id }}">
|
<span class="btn btn-red show-number" data-id="{{ adv.id }}">
|
||||||
<i class="fa fa-phone-square"></i>
|
<i class="fa fa-phone-square"></i>
|
||||||
<span class="hide-text">{{ trans('visiosoft.module.advs::field.click_phone') }} </span>
|
<span class="hide-text">{{ trans('visiosoft.module.advs::field.click_phone') }} </span>
|
||||||
<span class="hide-number">{{ trans("visiosoft.module.advs::field.phone_gsm") }}
|
<span class="hide-number">{{ trans("visiosoft.module.advs::field.phone_gsm") }}
|
||||||
@ -181,16 +183,16 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if entries('advs').isEnabled('messages') %}
|
{% if entries('advs').isEnabled('messages') %}
|
||||||
<a data-content="{{ app.auth.id }}" id="message" class="btn"><i
|
<a data-content="{{ app.auth.id }}" id="message" class="btn"><i
|
||||||
class="fa fa-envelope-square"></i>{{ trans("visiosoft.module.advs::field.send_message") }}
|
class="fa fa-envelope-square"></i>{{ trans("visiosoft.module.advs::field.send_message") }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if entries('advs').isEnabled('comparisons') %}
|
{% if entries('advs').isEnabled('comparisons') %}
|
||||||
{% include "visiosoft.module.comparisons::comparebtn" %}
|
{% include "visiosoft.module.comparisons::comparebtn" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div><!-- contact-with -->
|
</div><!-- contact-with -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if adv_detail_place_code %}
|
{% if adv_detail_place_code %}
|
||||||
<div>
|
<div>
|
||||||
@ -218,8 +220,12 @@
|
|||||||
</div><!-- slider-text -->
|
</div><!-- slider-text -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a class="complaints pull-right" id="complaints"
|
{% if entries('advs').isEnabled('complaints') %}
|
||||||
title="{{ trans('visiosoft.module.advs::field.report') }}"><i class="fa fa-exclamation-triangle"></i></a>
|
<a class="complaints pull-right" id="complaints"
|
||||||
|
title="{{ trans('visiosoft.module.advs::field.report') }}"><i
|
||||||
|
class="fa fa-exclamation-triangle"></i></a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
</div><!-- slider -->
|
</div><!-- slider -->
|
||||||
|
|
||||||
@ -408,40 +414,14 @@
|
|||||||
</div><!-- recommended-info -->
|
</div><!-- recommended-info -->
|
||||||
</div><!-- container -->
|
</div><!-- container -->
|
||||||
</section>
|
</section>
|
||||||
<div id="complaints_modal" class="modal fade" role="dialog">
|
|
||||||
<div class="modal-dialog">
|
|
||||||
<!-- Modal content-->
|
|
||||||
<div class="modal-content">
|
{% if entries('advs').isEnabled('complaints') %}
|
||||||
<form action="{{ url_route('save_complaint') }}" method="get">
|
{% include "visiosoft.module.complaints::modal" %}
|
||||||
<div class="modal-header">
|
{% endif %}
|
||||||
<h4 class="modal-title">{{ trans('visiosoft.module.advs::field.report') }}</h4>
|
|
||||||
</div>
|
|
||||||
<div class="modal-body">
|
|
||||||
<input type="hidden" data-content="{{ adv.created_by_id }}" value="{{ adv.id }}" name="adv_id"
|
|
||||||
id="adv_id">
|
|
||||||
{% for complaint in complaints %}
|
|
||||||
<li class="radio-element" style="list-style: none"><label><input type="radio"
|
|
||||||
name="reasonList"
|
|
||||||
value="{{ complaint.id }}"> {{ complaint.name }}
|
|
||||||
</label></li>
|
|
||||||
{% endfor %}
|
|
||||||
<li class="radio-element" style="list-style: none"><label><textarea id="txtDisputeDescription1"
|
|
||||||
name="complaint_description"
|
|
||||||
rows="6" cols="50"
|
|
||||||
maxlength="256"
|
|
||||||
class="disputeDescription"
|
|
||||||
placeholder="{{ trans('visiosoft.module.advs::field.complaint_placeholder') }}"> </textarea></label>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer">
|
|
||||||
<button type="submit"
|
|
||||||
class="btn btn-primary">{{ trans("visiosoft.module.advs::field.send_message") }}</button>
|
|
||||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="messages_modal" class="modal fade" role="dialog">
|
<div id="messages_modal" class="modal fade" role="dialog">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<form action="{{ url_route('visiosoft.module.messages::save_message', [adv.id]) }}" method="post">
|
<form action="{{ url_route('visiosoft.module.messages::save_message', [adv.id]) }}" method="post">
|
||||||
|
|||||||
@ -4500,7 +4500,7 @@ input, select, a, .transition,
|
|||||||
.complaints {
|
.complaints {
|
||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
color: #f7f7f7;
|
color: #bfbcbc;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user