diff --git a/static/css/styles.css b/static/css/styles.css
index 4ab2723..1ac6f8a 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -1067,4 +1067,14 @@ select#id_cargo_type{
div.from_to_place>div>select{
width: 392px;
-}
\ No newline at end of file
+}
+
+
+/*my routes*/
+
+.my_route{
+ display: block ruby;
+ margin: 15px 5px;
+}
+
+/*my routes*/
diff --git a/static/js/user_profile.js b/static/js/user_profile.js
new file mode 100644
index 0000000..cd7e60a
--- /dev/null
+++ b/static/js/user_profile.js
@@ -0,0 +1,95 @@
+function writeMessage(){
+ $.ajax({
+ headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
+ url: '/ru/user_account/new_msg_to_user/',
+ type: "POST",
+ // async: true,
+ cache: false,
+ processData: false,
+ contentType: false,
+ // enctype: 'json',
+ // data: formData,
+ success: function(data){
+ // location.href = '/profile'
+ document.querySelector(".info_profile").innerHTML = data.html;
+
+
+ },
+ error: function (data, exception){
+ console.log(400)
+
+ }
+ });
+}
+function technicalSupport(){
+ $.ajax({
+ headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
+ url: '/ru/user_account/new_msg_to_support/',
+ type: "POST",
+ // async: true,
+ cache: false,
+ processData: false,
+ contentType: false,
+ // enctype: 'json',
+ // data: formData,
+ success: function(data){
+ console.log('data received')
+ // location.href = '/profile'
+ document.querySelector(".info_profile").innerHTML = data.html;
+
+
+ },
+ error: function (data, exception){
+ console.log(400)
+
+ }
+ });
+}
+function mySubscription(){
+ $.ajax({
+ headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
+ url: '/ru/user_account/subscribe/',
+ type: "POST",
+ // async: true,
+ cache: false,
+ processData: false,
+ contentType: false,
+ // enctype: 'json',
+ // data: formData,
+ success: function(data){
+ console.log('data received')
+ // location.href = '/profile'
+ document.querySelector(".info_profile").innerHTML = data.html;
+
+
+ },
+ error: function (data, exception){
+ console.log(400)
+
+ }
+ });
+}
+function myProfile(){
+ $.ajax({
+ headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
+ url: '/ru/user_account/change_profile/',
+ type: "POST",
+ // async: true,
+ cache: false,
+ processData: false,
+ contentType: false,
+ // enctype: 'json',
+ // data: formData,
+ success: function(data){
+ console.log('data received')
+ // location.href = '/profile'
+ document.querySelector(".info_profile").innerHTML = data.html;
+
+
+ },
+ error: function (data, exception){
+ console.log(400)
+
+ }
+ });
+}
\ No newline at end of file
diff --git a/templates/blocks/b_user_profile.html b/templates/blocks/b_user_profile.html
index 69d9e94..8e39b96 100644
--- a/templates/blocks/b_user_profile.html
+++ b/templates/blocks/b_user_profile.html
@@ -13,19 +13,19 @@
Мои объявления
-