0.0.3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
18
static/js/user_profile(boris).js
Normal file
18
static/js/user_profile(boris).js
Normal 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;
|
||||
|
||||
},
|
||||
});
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user