Pop-ups are dark and dont require close button

Change style of block buttons
This commit is contained in:
Michał Gdula 2023-03-15 17:03:24 +00:00
parent f9aeb0955d
commit a6c06ae39c
8 changed files with 36 additions and 62 deletions

View file

@ -264,8 +264,9 @@
popUpShow(
'DESTRUCTION!!!!!!',
'This will delete the image and all of its data!!! This action is irreversible!!!!! Are you sure you want to do this?????',
'<button class="btn-block critical" onclick="deleteImage()">Dewww eeeet!</button>',
'<img src="/api/file/{{ image.file_name }}?w=1920&h=1080" />'
'<button class="btn-block" onclick="popupDissmiss()">Nooooooo</button>\
<button class="btn-block critical" onclick="deleteImage()">Dewww eeeet!</button>',
'<img src="/api/file/{{ image.file_name }}?w=1920&h=1080"/>'
);
});
function deleteImage() {