From 3472fb7e0420f073b632bb8213c45ee4ee38452a Mon Sep 17 00:00:00 2001 From: Adam Kroon Date: Mon, 21 Jan 2019 15:19:36 -0800 Subject: [PATCH] Update Exams - Move from Div to B-Modal During the development of the update/return/bookings actions on the exams invetory table, early development used nested divs to create modals for actions instead of using bootstrap modals. As final clean-up of this sprint task, the actions had to move towards using b-modal, as well as using b-alert to tell the user whether or not the PUT methods taken on exam objects were successful or erroneous. --- frontend/src/App.vue | 17 +- frontend/src/assets/css/q.css | 92 --------- frontend/src/booking/calendar.vue | 5 +- frontend/src/exams/edit-exam-form-modal.vue | 179 ++++++++---------- frontend/src/exams/exam-inventory-table.vue | 19 +- frontend/src/exams/failure-exam-alert.vue | 41 ++++ frontend/src/exams/return-exam-form-modal.vue | 156 +++++++-------- frontend/src/exams/success-exam-alert.vue | 45 +++++ frontend/src/store/index.js | 17 ++ 9 files changed, 284 insertions(+), 287 deletions(-) create mode 100644 frontend/src/exams/failure-exam-alert.vue create mode 100644 frontend/src/exams/success-exam-alert.vue diff --git a/frontend/src/App.vue b/frontend/src/App.vue index eb24340ba..d3bf0ebf0 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -18,6 +18,8 @@ limitations under the License.*/
+ +