forked from bcgov/queue-management
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bcgov#1026 from midhunmanoj2024/SBCQ-60
SBCQ-60 Exam module changes
- Loading branch information
Showing
12 changed files
with
1,526 additions
and
3,235 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
frontend/src/components/exams/edit-exam-confirmation-modal.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<template> | ||
<div v-if="visible" class="confirmation-modal"> | ||
<div class="modal-content"> | ||
<p>Room booking for the exam will be deleted. Are you sure you want to proceed?</p> | ||
<div class="button-container"> | ||
<b-btn class="btn-primary mr-2" @click="$emit('cancel')">Cancel</b-btn> | ||
<b-btn class="btn-danger ml-2" @click="$emit('confirm')">Confirm</b-btn> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: { | ||
visible: { | ||
type: Boolean, | ||
default: false | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.confirmation-modal { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
z-index: 1000; /* Ensure it's above the parent component */ | ||
} | ||
.modal-content { | ||
background-color: #fff; | ||
padding: 20px; | ||
border-radius: 8px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); | ||
max-width: 25%; | ||
text-align: center; | ||
} | ||
.modal-content p { | ||
margin-bottom: 20px; | ||
} | ||
.button-container { | ||
display: flex; | ||
justify-content: center; | ||
margin-top: 20px; | ||
gap: 20 px | ||
} | ||
</style> |
Oops, something went wrong.