aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorWolfboy248 <georgejvindkarlsen@gmail.com>2024-10-18 17:26:53 +0200
committerWolfboy248 <georgejvindkarlsen@gmail.com>2024-10-18 17:26:53 +0200
commit38b757fc98004e7665867de38169b56db19188e2 (patch)
treefbc920789d7a88e1673fb8cbc959bf65d44846ac /frontend
parentMerge branch 'typescript' of https://github.com/pektezol/LeastPortalsHub into... (diff)
downloadlphub-38b757fc98004e7665867de38169b56db19188e2.tar.gz
lphub-38b757fc98004e7665867de38169b56db19188e2.tar.bz2
lphub-38b757fc98004e7665867de38169b56db19188e2.zip
refactor: 21.png
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/components/MapDeleteConfirmDialog.tsx28
-rw-r--r--frontend/src/css/MapDeleteConfirmDialog.css6
-rw-r--r--frontend/src/images/png/21.pngbin0 -> 1962 bytes
3 files changed, 34 insertions, 0 deletions
diff --git a/frontend/src/components/MapDeleteConfirmDialog.tsx b/frontend/src/components/MapDeleteConfirmDialog.tsx
new file mode 100644
index 0000000..1518a14
--- /dev/null
+++ b/frontend/src/components/MapDeleteConfirmDialog.tsx
@@ -0,0 +1,28 @@
1import React from 'react';
2
3import "../css/MapDeleteConfirmDialog.css"
4
5interface MapDeleteConfirmDialogProps {
6 open: boolean;
7 onClose: () => void;
8 map_id: number;
9 record_id: number;
10};
11
12const MapDeleteConfirmDialog: React.FC<MapDeleteConfirmDialogProps> = ({ open, onClose, map_id, record_id }) => {
13 if (open) {
14 return (
15 <div className='dimmer'>
16 <div>
17
18 </div>
19 </div>
20 )
21 }
22
23 return (
24 <></>
25 )
26};
27
28export default MapDeleteConfirmDialog;
diff --git a/frontend/src/css/MapDeleteConfirmDialog.css b/frontend/src/css/MapDeleteConfirmDialog.css
new file mode 100644
index 0000000..1f7df1a
--- /dev/null
+++ b/frontend/src/css/MapDeleteConfirmDialog.css
@@ -0,0 +1,6 @@
1.dimmer {
2 position: absolute;
3 width: calc(100%);
4 height: 100%;
5 background-color: rgba(0, 0, 0, 0.5);
6} \ No newline at end of file
diff --git a/frontend/src/images/png/21.png b/frontend/src/images/png/21.png
new file mode 100644
index 0000000..9dd6574
--- /dev/null
+++ b/frontend/src/images/png/21.png
Binary files differ