|
|
|
@ -1,9 +1,11 @@ |
|
|
|
{% extends 'partials/base.html' %} |
|
|
|
{% extends 'partials/_base.html' %} |
|
|
|
{% load staticfiles %} |
|
|
|
{% load staticfiles %} |
|
|
|
{% load thumbnail %} |
|
|
|
{% load thumbnail %} |
|
|
|
{% load sass_tags %} |
|
|
|
{% load sass_tags %} |
|
|
|
{% block head_css %} |
|
|
|
{#{% block old_css %}{% endblock %}#} |
|
|
|
|
|
|
|
{% block personal_css %} |
|
|
|
<link rel='stylesheet' href='{% sass_src "lib/proekton-components/sass/components.sass" %}'> |
|
|
|
<link rel='stylesheet' href='{% sass_src "lib/proekton-components/sass/components.sass" %}'> |
|
|
|
|
|
|
|
<link rel='stylesheet' href='{% sass_src "sass/old_main.sass" %}'> |
|
|
|
<link rel='stylesheet' href='{% static "css/project_filter.css" %}'>{# other #} |
|
|
|
<link rel='stylesheet' href='{% static "css/project_filter.css" %}'>{# other #} |
|
|
|
<link rel='stylesheet' href='{% static "css/font-awesome.min.css" %}'> |
|
|
|
<link rel='stylesheet' href='{% static "css/font-awesome.min.css" %}'> |
|
|
|
<link rel='stylesheet' href='{% static "css/user_profile_edit.css" %}'> |
|
|
|
<link rel='stylesheet' href='{% static "css/user_profile_edit.css" %}'> |
|
|
|
@ -11,9 +13,9 @@ |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
|
|
|
{% block content %} |
|
|
|
{% block content %} |
|
|
|
{% include 'partials/header.html' %} |
|
|
|
<div class="container main-scope"> |
|
|
|
<div class="container mainScore"> |
|
|
|
<div class="row main-content"> |
|
|
|
<div class="row mainContent"> |
|
|
|
{# <div class="old-main">#} |
|
|
|
<form method="POST" enctype="multipart/form-data" novalidate> |
|
|
|
<form method="POST" enctype="multipart/form-data" novalidate> |
|
|
|
{% csrf_token %} |
|
|
|
{% csrf_token %} |
|
|
|
{% if request.user.is_customer %} |
|
|
|
{% if request.user.is_customer %} |
|
|
|
@ -31,7 +33,7 @@ |
|
|
|
style="display: none">×</a> |
|
|
|
style="display: none">×</a> |
|
|
|
|
|
|
|
|
|
|
|
{% if request.user.avatar %} |
|
|
|
{% if request.user.avatar %} |
|
|
|
{% thumbnail request.user.avatar "235x224" crop="center" as avatar %} |
|
|
|
{% thumbnail request.user.avatar "208x208" crop="center" as avatar %} |
|
|
|
<img src="{{ avatar.url }}" alt="profile-image" class="-avatar-image"> |
|
|
|
<img src="{{ avatar.url }}" alt="profile-image" class="-avatar-image"> |
|
|
|
{% endthumbnail %} |
|
|
|
{% endthumbnail %} |
|
|
|
{% else %} |
|
|
|
{% else %} |
|
|
|
@ -88,7 +90,8 @@ |
|
|
|
class="simple-input" placeholder="Фамилия"> |
|
|
|
class="simple-input" placeholder="Фамилия"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-lg-4"> |
|
|
|
<div class="col-lg-4"> |
|
|
|
<input value="{{ form.first_name.value }}" name="{{ form.first_name.html_name }}" |
|
|
|
<input value="{{ form.first_name.value }}" |
|
|
|
|
|
|
|
name="{{ form.first_name.html_name }}" |
|
|
|
class="simple-input" placeholder="Имя"> |
|
|
|
class="simple-input" placeholder="Имя"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-lg-4"> |
|
|
|
<div class="col-lg-4"> |
|
|
|
@ -158,7 +161,8 @@ |
|
|
|
<div class="row"> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-lg-12"> |
|
|
|
<div class="col-lg-12"> |
|
|
|
<div class="selected-container horizontal" id="selected-spec"> |
|
|
|
<div class="selected-container horizontal" id="selected-spec"> |
|
|
|
<input type="hidden" name="{{ form.contractor_specializations.html_name }}" |
|
|
|
<input type="hidden" |
|
|
|
|
|
|
|
name="{{ form.contractor_specializations.html_name }}" |
|
|
|
value="{{ form.contractor_specializations.value }}"> |
|
|
|
value="{{ form.contractor_specializations.value }}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -270,7 +274,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-lg-3"> |
|
|
|
<div class="col-lg-3"> |
|
|
|
<div class="header">Skype</div> |
|
|
|
<div class="header">Skype</div> |
|
|
|
<input name="{{ form.skype.html_name }}" class="simple-input" placeholder="skype id" |
|
|
|
<input name="{{ form.skype.html_name }}" class="simple-input" |
|
|
|
|
|
|
|
placeholder="skype id" |
|
|
|
value="{{ form.skype.value }}"> |
|
|
|
value="{{ form.skype.value }}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="clearfix visible-lg"></div> |
|
|
|
<div class="clearfix visible-lg"></div> |
|
|
|
@ -304,15 +309,12 @@ |
|
|
|
</div> <!-- bottom --> |
|
|
|
</div> <!-- bottom --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
|
|
|
|
{# </div>#} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="row"> |
|
|
|
|
|
|
|
{% include 'partials/footer.html' %} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
{% block js_block %} |
|
|
|
{% block personal_js %} |
|
|
|
{{ block.super }} |
|
|
|
{{ block.super }} |
|
|
|
<script src='{% static "lib/proekton-components/js/build/init_user_profile.js" %}'></script> |
|
|
|
<script src='{% static "lib/proekton-components/js/build/init_user_profile.js" %}'></script> |
|
|
|
<script src='{% static "projects-filter.js" %}'></script> |
|
|
|
<script src='{% static "projects-filter.js" %}'></script> |
|
|
|
|