0.0.18 upd styles.css

This commit is contained in:
2023-07-16 20:18:54 +03:00
parent 663e7ac4be
commit a7b014da20
3 changed files with 62 additions and 11 deletions

View File

@@ -758,6 +758,7 @@ section.profile {
font-weight: 500;
line-height: 22px;
text-decoration: none;
text-decoration: none;
display: block;
width: 100%;
text-align: center;
@@ -879,4 +880,41 @@ select {
.errorlist>li{
color:red;
}
}
/*create new route*/
select#id_type_transport{
display: block;
height: 60px;
width: 394px;
border-radius: 15px;
border: 2px solid #E6E6E6;
padding: 10px;
color: #272424;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22px;
appearance: none;
/*background: url("/static/img/png/icon-arrow.png") no-repeat calc(100% - 15px) center;*/
}
hr {
border: none; /* Убираем границу */
background-color: #E6E6E6; /* Цвет линии */
color: #E6E6E6; /* Цвет линии для IE6-7 */
height: 2px; /* Толщина линии */
}
form.new_route>div{
margin-bottom: 30px;
margin-top: 30px;
display: flex;
}
form.new_route{
width:100%;
}
/*end create new route*/

View File

@@ -9,19 +9,20 @@
</select>
</div>
<hr>
<div>
<label for="id_departure_DT">{{ form.fields.departure_DT.label }}</label>
<input type="datetime-local" name="departure_DT"{% if form.fields.departure_DT.required %} required{% endif %} id="id_departure_DT">
</div>
<div>
<label for="id_arrival_DT">{{ form.fields.arrival_DT.label }}</label>
<input type="datetime-local" name="arrival_DT"{% if form.fields.arrival_DT.required %} required{% endif %} id="id_arrival_DT">
<label for="id_departure_DT">{{ form.fields.departure_DT.label }}</label>
<input type="datetime-local" name="departure_DT"{% if form.fields.departure_DT.required %} required{% endif %} id="id_departure_DT">
<label for="id_arrival_DT">{{ form.fields.arrival_DT.label }}</label>
<input type="datetime-local" name="arrival_DT"{% if form.fields.arrival_DT.required %} required{% endif %} id="id_arrival_DT">
</div>
<hr>
<div>
<label for="id_from_country">{{ form.fields.from_country.label }}</label>
<input type="text" name="from_country"{% if form.fields.from_country.required %} required{% endif %} id="id_from_country">
</div>
<div>
<label for="id_to_country">{{ form.fields.to_country.label }}</label>
<input type="text" name="to_country"{% if form.fields.to_country.required %} required{% endif %} id="id_to_country">
</div>
@@ -40,8 +41,7 @@
<option value="{{ item.0 }}"{% if form.fields.type_transport.initial == item.0 %} selected="selected"{% endif %}>{{ item.1 }}</option>
{% endfor %}
</select>
</div>
<div>
<label for="id_to_place">{{ form.fields.to_place.label }}</label>
<select name="to_place" id="id_to_place" {% if form.fields.to_place.required %} required{% endif %}>
{% for item in form.fields.to_place.choices %}
@@ -49,6 +49,9 @@
{% endfor %}
</select>
</div>
<hr>
<div>
<label for="id_cargo_type">{{ form.fields.cargo_type.label }}</label>
<select name="cargo_type" id="id_cargo_type" {% if form.fields.cargo_type.required %} required{% endif %}>
@@ -57,10 +60,16 @@
{% endfor %}
</select>
</div>
<hr>
<div>
<label for="id_weight">{{ form.fields.weight.label }}</label>
<input type="number" name="weight"{% if form.fields.weight.required %} required{% endif %} id="id_weight">
</div>
<hr>
<div>
<label for="id_phone">{{ form.fields.phone.label }}</label>
<input type="text" name="phone"{% if form.fields.phone.required %} required{% endif %} id="id_phone">
@@ -69,6 +78,9 @@
<label for="id_extra_phone">{{ form.fields.extra_phone.label }}</label>
<input type="text" name="extra_phone" id="id_extra_phone">
</div>
<hr>
<div>
<label for="id_receive_msg_by_email">{{ form.fields.receive_msg_by_email.label }}</label>
<input type="checkbox" name="receive_msg_by_email" id="id_receive_msg_by_email">

View File

@@ -3,4 +3,5 @@
<script src='{% static "js/registration.js" %}'></script>
<script src='{% static "js/authorization.js" %}'></script>
<script src='{% static "js/newRoute.js" %}'></script>
<script src='{% static "js/sendNewRoute.js" %}'></script>
<link rel="stylesheet" href="{% static 'css/styles.css' %}">