Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -61,8 +61,8 @@ class Admin_Airport(Admin_Trans_BaseModel):
|
|||||||
'order', 'modifiedDT', 'createDT']
|
'order', 'modifiedDT', 'createDT']
|
||||||
search_fields = ['id', 'name_en', 'name_ru', 'city__name', 'city__country__name', 'iata_code', 'icao_code', 'international_name']
|
search_fields = ['id', 'name_en', 'name_ru', 'city__name', 'city__country__name', 'iata_code', 'icao_code', 'international_name']
|
||||||
list_filter = ['city__country']
|
list_filter = ['city__country']
|
||||||
# raw_id_fields = [
|
raw_id_fields = [
|
||||||
# 'city'
|
'city'
|
||||||
# ]
|
]
|
||||||
|
|
||||||
admin.site.register(Airport, Admin_Airport)
|
admin.site.register(Airport, Admin_Airport)
|
||||||
@@ -2242,6 +2242,10 @@
|
|||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input_f_profile.grey{
|
||||||
|
background: #F8F8F8;
|
||||||
|
}
|
||||||
|
|
||||||
.status_f_profile{
|
.status_f_profile{
|
||||||
width: calc(100% - 120px);
|
width: calc(100% - 120px);
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="container_el_form_profile">
|
<div class="container_el_form_profile">
|
||||||
<label class="label_f_profile" for="id_email">{% if profileForm.fields.email.required %}<span class="orange-text">*</span>{% endif %} E-mail</label>
|
<label class="label_f_profile" for="id_email">{% if profileForm.fields.email.required %}<span class="orange-text">*</span>{% endif %} E-mail</label>
|
||||||
<input class="input_f_profile" type="text" id="id_email" name="email" readonly {% if profileForm.initial.email %}value="{{ profileForm.initial.email }}" {% endif %} {% if profileForm.initial.email %}data-initial-value="{{ profileForm.initial.email }}"{% else %}data-initial-value=""{% endif %}>
|
<input class="input_f_profile grey" type="text" id="id_email" name="email" readonly {% if profileForm.initial.email %}value="{{ profileForm.initial.email }}" {% endif %} {% if profileForm.initial.email %}data-initial-value="{{ profileForm.initial.email }}"{% else %}data-initial-value=""{% endif %}>
|
||||||
{% if profileForm.errors.email %}<div class="error_form_profile">{{ profileForm.errors.email }}</div>{% endif %}
|
{% if profileForm.errors.email %}<div class="error_form_profile">{{ profileForm.errors.email }}</div>{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="container_el_form_profile">
|
<div class="container_el_form_profile">
|
||||||
|
|||||||
Reference in New Issue
Block a user