0.0.262 add switch on main page
This commit is contained in:
@@ -1925,6 +1925,7 @@
|
||||
width: 100%;
|
||||
color: #272424;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.method_transport{
|
||||
|
||||
@@ -895,7 +895,7 @@ section.register>form {
|
||||
background: #FFF;
|
||||
display: flex;
|
||||
height: 70px;
|
||||
margin-bottom: 40px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
@@ -2479,7 +2479,7 @@ button#send_feedback_form{
|
||||
/*tabs_on_main_page*/
|
||||
|
||||
.pre_bottom_block_static{
|
||||
width: 90%;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
}
|
||||
.pre_bottom_block_static>h2{
|
||||
|
||||
@@ -12,21 +12,7 @@
|
||||
<form name="registration_form" method="POST">
|
||||
{% csrf_token %}
|
||||
|
||||
{# <div class="switch">#}
|
||||
{# <div><a class="active" href="#">Перевозчик</a></div>#}
|
||||
{# <div><a class="deadctive" href="#">Отправитель</a></div>#}
|
||||
{# </div>#}
|
||||
{# <div class="switch">#}
|
||||
{# <div class="form_radio_btn">#}
|
||||
{##}
|
||||
{# <input class="{% if account_type == "mover" %}active {% else %} deactive{% endif %}" id="radio-1" type="radio" name="account_type" value="mover" >#}
|
||||
{# <label for="radio-1">Перевозчик</label>#}
|
||||
{# </div>#}
|
||||
{# <div class="form_radio_btn">#}
|
||||
{# <input class="{% if account_type == "sender" %}active {% else %} deactive{% endif %}" id="radio-2" type="radio" name="account_type" value="sender" checked>#}
|
||||
{# <label for="radio-2">Отправитель</label>#}
|
||||
{# </div>#}
|
||||
{# </div>#}
|
||||
{#
|
||||
|
||||
|
||||
<div class="inputs">
|
||||
|
||||
@@ -22,7 +22,27 @@
|
||||
</p>
|
||||
</span>
|
||||
|
||||
|
||||
{# <div class="switch">#}
|
||||
{# <div><a class="active" href="#">Перевозчик</a></div>#}
|
||||
{# <div><a class="deadctive" href="#">Отправитель</a></div>#}
|
||||
{# </div>#}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="switch">
|
||||
<div class="form_radio_btn">
|
||||
<input class="{% if route.owner_type == 'mover' %}active {% else %} deactive{% endif %}" id="radio-1" type="radio" name="account_type" value="mover" >
|
||||
<label for="radio-1">{% translate "Найти перевозчика" %}</label>
|
||||
</div>
|
||||
|
||||
<div class="form_radio_btn">
|
||||
<input class="{% if route.owner_type == 'customer' %}active {% else %} deactive{% endif %}" id="radio-2" type="radio" name="account_type" value="customer" checked>
|
||||
<label for="radio-2">{% translate "Найти отправителя" %}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="search_form_main">
|
||||
@@ -158,11 +178,11 @@
|
||||
<div class="card_title_1">{% translate "в 3 раза" %}</div>
|
||||
<div class="card_title_2">{% translate "быстрее других сервисов" %}</div>
|
||||
<div class="card_title_3">{% translate "Почтовые сервисы доставляет посылки в среднем за 10 дней. С нами - быстрее!" %}</div>
|
||||
|
||||
<div class="card_gradient"></div>
|
||||
|
||||
|
||||
{# <div class="cards_item_2_right">#}
|
||||
{# <div class="card_gradient"></div>#}
|
||||
{# #}
|
||||
{# </div>#}
|
||||
</div>
|
||||
<div class="cards_item_3">
|
||||
|
||||
Reference in New Issue
Block a user