diff --git a/frontend/src/assets/main.css b/frontend/src/assets/main.css index 3219db32..c2eb69c1 100644 --- a/frontend/src/assets/main.css +++ b/frontend/src/assets/main.css @@ -45,3 +45,63 @@ button:active { background-color: var(--green); } +.popup-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); + display: flex; + justify-content: center; + align-items: center; + text-align: center; + z-index: 1; +} + +.list { + margin-top: 30px; + margin-left: 30px; + margin-right: 30px; +} + +.listItem { + position: relative; + background-color: #FFFFFF; + border: 1px solid rgb(209, 213, 219); + display: flex; + align-items: center; + text-align: left; + margin-top: -1px; +} + +.listItemButton { + position: relative; + background-color: #FFFFFF; + border: none; + display: flex; + align-items: center; + font-size: 1.25rem; + padding: .75rem 1rem; + padding-left: 0; + text-align: left; + height: 50px; + width: 100%; +} + +.listItemAddButton { + text-align: center; + position: relative; + background-color: #FFFFFF; + border: 1px solid rgb(209, 213, 219); + box-sizing: border-box; + width: 100%; + font-size: 1.25rem; + line-height: 1.25rem; + padding: .75rem 1rem; + margin-top: -1px; +} + +.listItemId, .listItemName { + padding: .75rem 1rem; +} \ No newline at end of file diff --git a/frontend/src/components/screensTrainer/ScreenExerciseCreation.vue b/frontend/src/components/screensTrainer/ScreenExerciseCreation.vue index 9fbe19f8..5e4ae8f8 100644 --- a/frontend/src/components/screensTrainer/ScreenExerciseCreation.vue +++ b/frontend/src/components/screensTrainer/ScreenExerciseCreation.vue @@ -6,7 +6,7 @@ import TopBarTrainer from "@/components/widgets/TopBarTrainer.vue" import {svg} from "@/assets/Svg" import {setArea} from "@/components/screensTrainer/ScreenResourceCreation.vue" - import AreaPopup from '../widgets/AreaPopup.vue' + import DeleteItemPopup from '../widgets/DeleteItemPopup.vue' const exerciseStore = useExerciseStore() @@ -32,21 +32,27 @@ socketTrainer.areaAdd() } + function deleteArea(){ + socketTrainer.areaDelete(currentArea.value) + } + const showPopup = ref(false) \ No newline at end of file diff --git a/frontend/src/components/screensTrainer/pagesResourceCreation/PageMaterial.vue b/frontend/src/components/screensTrainer/pagesResourceCreation/PageMaterial.vue index cdcaac3c..2aa99527 100644 --- a/frontend/src/components/screensTrainer/pagesResourceCreation/PageMaterial.vue +++ b/frontend/src/components/screensTrainer/pagesResourceCreation/PageMaterial.vue @@ -1,6 +1,10 @@ - - \ No newline at end of file + + +
+
+ + +
+ +
+
+
+ + +
+ +
+ \ No newline at end of file diff --git a/frontend/src/components/screensTrainer/pagesResourceCreation/PagePatients.vue b/frontend/src/components/screensTrainer/pagesResourceCreation/PagePatients.vue index 96bf9826..1ef6cb6a 100644 --- a/frontend/src/components/screensTrainer/pagesResourceCreation/PagePatients.vue +++ b/frontend/src/components/screensTrainer/pagesResourceCreation/PagePatients.vue @@ -47,74 +47,25 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/frontend/src/components/screensTrainer/pagesResourceCreation/PagePersonnel.vue b/frontend/src/components/screensTrainer/pagesResourceCreation/PagePersonnel.vue index 5703321b..26ef2a72 100644 --- a/frontend/src/components/screensTrainer/pagesResourceCreation/PagePersonnel.vue +++ b/frontend/src/components/screensTrainer/pagesResourceCreation/PagePersonnel.vue @@ -1,8 +1,11 @@ - - \ No newline at end of file + +
+
+ + +
+ +
+ \ No newline at end of file diff --git a/frontend/src/components/widgets/AddMaterialPopup.vue b/frontend/src/components/widgets/AddMaterialPopup.vue new file mode 100644 index 00000000..30c512ce --- /dev/null +++ b/frontend/src/components/widgets/AddMaterialPopup.vue @@ -0,0 +1,69 @@ + + + + \ No newline at end of file diff --git a/frontend/src/components/widgets/AddPatientPopup.vue b/frontend/src/components/widgets/AddPatientPopup.vue index dcc7d45e..2b265e82 100644 --- a/frontend/src/components/widgets/AddPatientPopup.vue +++ b/frontend/src/components/widgets/AddPatientPopup.vue @@ -82,20 +82,6 @@ \ No newline at end of file diff --git a/frontend/src/components/widgets/DeleteItemPopup.vue b/frontend/src/components/widgets/DeleteItemPopup.vue new file mode 100644 index 00000000..af4e3c71 --- /dev/null +++ b/frontend/src/components/widgets/DeleteItemPopup.vue @@ -0,0 +1,46 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/components/widgets/EditPatientPopup.vue b/frontend/src/components/widgets/EditPatientPopup.vue index 15a4db03..ff966d00 100644 --- a/frontend/src/components/widgets/EditPatientPopup.vue +++ b/frontend/src/components/widgets/EditPatientPopup.vue @@ -83,20 +83,6 @@ \ No newline at end of file diff --git a/frontend/src/components/widgets/TriagePopup.vue b/frontend/src/components/widgets/TriagePopup.vue index 6a5b44a0..692ec024 100644 --- a/frontend/src/components/widgets/TriagePopup.vue +++ b/frontend/src/components/widgets/TriagePopup.vue @@ -45,20 +45,6 @@