0.0.18 upd styles.css
This commit is contained in:
@@ -758,6 +758,7 @@ section.profile {
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
text-decoration: none;
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -880,3 +881,40 @@ select {
|
|||||||
.errorlist>li{
|
.errorlist>li{
|
||||||
color:red;
|
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*/
|
||||||
@@ -9,19 +9,20 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="id_departure_DT">{{ form.fields.departure_DT.label }}</label>
|
<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">
|
<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>
|
||||||
<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">
|
||||||
<input type="datetime-local" name="arrival_DT"{% if form.fields.arrival_DT.required %} required{% endif %} id="id_arrival_DT">
|
|
||||||
</div>
|
</div>
|
||||||
|
<hr>
|
||||||
<div>
|
<div>
|
||||||
<label for="id_from_country">{{ form.fields.from_country.label }}</label>
|
<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">
|
<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>
|
<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">
|
<input type="text" name="to_country"{% if form.fields.to_country.required %} required{% endif %} id="id_to_country">
|
||||||
</div>
|
</div>
|
||||||
@@ -40,8 +41,7 @@
|
|||||||
<option value="{{ item.0 }}"{% if form.fields.type_transport.initial == item.0 %} selected="selected"{% endif %}>{{ item.1 }}</option>
|
<option value="{{ item.0 }}"{% if form.fields.type_transport.initial == item.0 %} selected="selected"{% endif %}>{{ item.1 }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<label for="id_to_place">{{ form.fields.to_place.label }}</label>
|
<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 %}>
|
<select name="to_place" id="id_to_place" {% if form.fields.to_place.required %} required{% endif %}>
|
||||||
{% for item in form.fields.to_place.choices %}
|
{% for item in form.fields.to_place.choices %}
|
||||||
@@ -49,6 +49,9 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="id_cargo_type">{{ form.fields.cargo_type.label }}</label>
|
<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 %}>
|
<select name="cargo_type" id="id_cargo_type" {% if form.fields.cargo_type.required %} required{% endif %}>
|
||||||
@@ -57,10 +60,16 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="id_weight">{{ form.fields.weight.label }}</label>
|
<label for="id_weight">{{ form.fields.weight.label }}</label>
|
||||||
<input type="number" name="weight"{% if form.fields.weight.required %} required{% endif %} id="id_weight">
|
<input type="number" name="weight"{% if form.fields.weight.required %} required{% endif %} id="id_weight">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="id_phone">{{ form.fields.phone.label }}</label>
|
<label for="id_phone">{{ form.fields.phone.label }}</label>
|
||||||
<input type="text" name="phone"{% if form.fields.phone.required %} required{% endif %} id="id_phone">
|
<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>
|
<label for="id_extra_phone">{{ form.fields.extra_phone.label }}</label>
|
||||||
<input type="text" name="extra_phone" id="id_extra_phone">
|
<input type="text" name="extra_phone" id="id_extra_phone">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="id_receive_msg_by_email">{{ form.fields.receive_msg_by_email.label }}</label>
|
<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">
|
<input type="checkbox" name="receive_msg_by_email" id="id_receive_msg_by_email">
|
||||||
|
|||||||
@@ -3,4 +3,5 @@
|
|||||||
<script src='{% static "js/registration.js" %}'></script>
|
<script src='{% static "js/registration.js" %}'></script>
|
||||||
<script src='{% static "js/authorization.js" %}'></script>
|
<script src='{% static "js/authorization.js" %}'></script>
|
||||||
<script src='{% static "js/newRoute.js" %}'></script>
|
<script src='{% static "js/newRoute.js" %}'></script>
|
||||||
|
<script src='{% static "js/sendNewRoute.js" %}'></script>
|
||||||
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
||||||
Reference in New Issue
Block a user