From 0368c45a9649558d1a80ed9decd27142edd480fb Mon Sep 17 00:00:00 2001 From: mitri4 Date: Fri, 17 Mar 2017 00:23:34 +0300 Subject: [PATCH] refactor serch in DaData individual businessman --- project/static/css/style.css | 7 ++ project/templates/customer/profile/edit.html | 69 +++++++++++--------- 2 files changed, 44 insertions(+), 32 deletions(-) diff --git a/project/static/css/style.css b/project/static/css/style.css index eac444e..1697ba8 100644 --- a/project/static/css/style.css +++ b/project/static/css/style.css @@ -684,3 +684,10 @@ a.popup-unreg {background:url(../img/popup-trash.png) no-repeat 3px center;} .italic {font-style: italic;} .rm_profile {overflow:hidden;} .rm_profile .list-col2 {border-left:none;} + +/* profile */ + +.search-property { + padding: 15px; + background: rgba(128, 128, 128, 0.1); +} \ No newline at end of file diff --git a/project/templates/customer/profile/edit.html b/project/templates/customer/profile/edit.html index a4604a3..ff6b4e9 100644 --- a/project/templates/customer/profile/edit.html +++ b/project/templates/customer/profile/edit.html @@ -5,6 +5,22 @@ {% block content %}

Редактирование реквизитов{% if profile.is_ip %} ИП{% elif profile.is_org %} организации{% endif %}

+
+
+
+ Поиск реквизитов: +
+
+ +
+
+
+
+
@@ -33,17 +49,6 @@
{% if profile.is_ip %} -
-
- Индивидуальный предприниматель -
-
- - Остальные необходимые поля заполнятся по найденным данным -
-
-
-
Фамилия, Имя, Отчество @@ -543,8 +548,8 @@