This commit is contained in:
2023-07-28 16:31:31 +03:00
parent 33fc6b2063
commit eaca92106d
3 changed files with 25 additions and 9 deletions

View File

@@ -1,6 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');
/* Reset and base styles */ /* Reset and base styles */
* { * {
padding: 0px; padding: 0px;
@@ -82,6 +79,11 @@ button::-moz-focus-inner {
label { label {
cursor: pointer; cursor: pointer;
margin-bottom: 7px; margin-bottom: 7px;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 22px;
} }
legend { legend {
@@ -967,9 +969,6 @@ div.from_to_country>div>input:nth-child(3){
height: 60px; height: 60px;
} }
input[type="datetime-local"] {
width: 160px;
}
div.departure_arrival>div>input{ div.departure_arrival>div>input{
@@ -986,6 +985,8 @@ div.departure_arrival>div>input{
width: 392px; width: 392px;
height: 60px; height: 60px;
padding-left: 2px; padding-left: 2px;
/*background: white url("/static/img/svg/Calendar.svg") no-repeat calc(100% - 3px) center;*/
} }
@@ -1102,6 +1103,14 @@ input#id_extra_phone
appearance: none; appearance: none;
} }
/*.info_profile>label{*/
/* font-family: Inter;*/
/* font-size: 16px;*/
/* font-style: normal;*/
/* font-weight: 500;*/
/* line-height: 22px;*/
/*}*/
/*my routes*/ /*my routes*/

View File

@@ -27,7 +27,7 @@
<hr> <hr>
<div class="departure_arrival"> <div class="departure_arrival">
<div class="input_wrapper"> <div>
<label for="id_departure_DT">{{ form.fields.departure_DT.label }}</label> <label for="id_departure_DT">{{ form.fields.departure_DT.label }}</label>
<input <input
@@ -174,11 +174,15 @@
type="checkbox" type="checkbox"
name="cargo_type" name="cargo_type"
id="id_cargo_type" id="id_cargo_type"
{% if form.fields.cargo_type.required %} required{% endif %} {% if form.fields.cargo_type.required %} required{% endif %}
value="{{ item.0 }}" value="{{ item.0 }}"
{% if form.fields.cargo_type == item.0 %} {% if form.fields.cargo_type == item.0 %}
{% endif %}/>{{ item.1 }} {% endif %}/>{{ item.1 }}
{% endfor %} {% endfor %}
{# <lable for="">#}
{##}
{# </lable>#}
{% if form.errors and form.errors.cargo_type %} {% if form.errors and form.errors.cargo_type %}
<span>{{ form.errors.cargo_type }}</span> <span>{{ form.errors.cargo_type }}</span>
{% endif %} {% endif %}

View File

@@ -9,4 +9,7 @@
<script src='{% static "js/sendRoute.js" %}'></script> <script src='{% static "js/sendRoute.js" %}'></script>
<script src='{% static "js/ion.rangeSlider.min.js" %}'></script> <script src='{% static "js/ion.rangeSlider.min.js" %}'></script>
<link rel="stylesheet" href="{% static 'css/styles.css' %}"> <link rel="stylesheet" href="{% static 'css/styles.css' %}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet">