This commit is contained in:
2023-07-31 15:45:33 +03:00
parent 968f9e5ab2
commit 7e4e1a3563
7 changed files with 43 additions and 15 deletions

View File

@@ -90,7 +90,6 @@
.el-form-create-ticket{
width: 100%;
height: 60px;
background: #FFFFFF;
filter: drop-shadow(-1px 4px 10px rgba(198, 199, 203, 0.20)) drop-shadow(0px -1px 10px rgba(198, 199, 203, 0.20));
border-radius: 3px;
}

View File

@@ -216,6 +216,10 @@ section.register>h1 {
line-height: 22px;
}
@font-face {
font-family: "mr_NorwesterG";
src: url("/static/fonts/mr_NorwesterG.ttf");
}
.first-column>div:nth-child(2)>div:first-child {
color: #FFF;

View File

@@ -0,0 +1,18 @@
function createTicketShow () {
$.ajax({
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
url: '/ru/user_account/support_create_ticket_ajax/',
type: "POST",
// async: true,
cache: false,
processData: false,
contentType: false,
// enctype: 'json',
// data: formData,
success: function(data){
document.querySelector(".insert-tech-place").innerHTML = data.html;
},
});
}

View File

@@ -100,14 +100,17 @@ function confirmRemove(el) {
// if(!new_button){
// }
if(!el.classList.contains('confirm_remove')){
el.classList.add('confirm_remove')
el.innerText = 'Подтвердить удаление'
el.setAttribute("id", "select-remove");
let btn = document.querySelector("#select-remove");
if(!btn.classList.contains('confirm_remove')){
btn.classList.add('confirm_remove')
btn.innerText = 'Подтвердить удаление'
let place = document.querySelector('.button_remove_route')
let cancel_button = document.createElement('button')
cancel_button.className = "cancel_remove";
cancel_button.innerText = "Отменить удаление";
place.appendChild(cancel_button);
btn.appendChild(cancel_button);
}
}