Skip to content

Commit

Permalink
Add backgroud for succes page content. Remove excess content
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemijRodionov committed Nov 24, 2018
1 parent 1ff5a75 commit c1137d2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
6 changes: 5 additions & 1 deletion front/less/pages/order.less
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,11 @@ div.info {
}

.page-info-message {
.white-plate;

font-size: @f-size-base + 10;
padding: 15px 15px 15px;
margin: 0 0 20px;

a {
color: @c-text-red;
Expand Down Expand Up @@ -202,7 +206,7 @@ div.info {
clear: both;
position: relative;
}

&-row:nth-child(odd) .div-table-cell {
background: @c-white;
}
Expand Down
14 changes: 9 additions & 5 deletions templates/ecommerce/order/success.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

{% load se_extras %}
{% load pages_extras %}
{% load static %}

{% block stylesheets %}
{{ block.super }}
<link rel="stylesheet" href="{% static 'css/pages.min.css' %}">
{% endblock %}

{% block title %}Спасибо за Ваш заказ{% endblock %}

Expand All @@ -17,24 +23,22 @@ <h1>Заказ принят</h1>
data-positions="{{ positions_json }}"
data-total-revenue="{{ total_revenue }}">
<p>Номер вашего заказа {{ order.fake_order_number }}</p>
<p>{% time_to_call %}</p>
<p>Телефон магазина: <a href="tel:{{ shop.cps_phone }}">8 (812) {{ shop.cps_formatted_phone }}</a></p>

{% if order.email %}
<p>Электронная почта: {{ order.email }}</p>
{% endif %}

{% if order.city %}
<p>Город: {{ order.city }}</p>
{% endif %}
<br>
<p>Телефон магазина: <a href="tel:{{ shop.cps_phone }}">8 (812) {{ shop.cps_formatted_phone }}</a></p>
<p>Режим работы:</p>
<ul class="working-hours">
<li>ПН-ПТ 10:00-18:00</li>
<li>ПТ 10:00-17:00</li>
<li>СБ-ВС - выходной</li>
</ul>

<a class="btn btn-pink" href="/">Вернуться на главную</a>
</div>
<a class="btn btn-pink" href="/">Вернуться на главную</a>
</div>
{% endblock %}

0 comments on commit c1137d2

Please sign in to comment.