diff --git a/src/components/material/Cards.vue b/src/components/material/Cards.vue index fa59e8b..65fbb7b 100644 --- a/src/components/material/Cards.vue +++ b/src/components/material/Cards.vue @@ -71,6 +71,7 @@ export default { font-size: 22px !important; text-transform: uppercase !important; font-family: 'Montserrat-Regular' !important; + line-height: 23px !important; } .subheading { diff --git a/src/styles/css/Assets/Main.scss b/src/styles/css/Assets/Main.scss index e68d0bd..5ebe30a 100644 --- a/src/styles/css/Assets/Main.scss +++ b/src/styles/css/Assets/Main.scss @@ -18,6 +18,7 @@ font-weight: bold; src: url('../../fonts/Montserrat-Bold.ttf') format('truetype'); } + @font-face { font-family: 'Montserrat-light'; font-style: normal; @@ -109,6 +110,7 @@ h3.CSSD-font { .WM-LightGray-BG { background-color: #eee !important; } + .WM-OrangeGradient-BG { background: linear-gradient(-245.99599235188236deg, rgba(252, 184, 162, 1) -0.3020833333333286%, rgba(255, 236, 210, 1) 93.03125%); } @@ -153,6 +155,23 @@ h3.CSSD-font { background: linear-gradient(to right, #ee9ca7, #ffdde1); } +.WM-CyanGradient-BG { + background: linear-gradient(90deg, #32CAD5 0%, #17949D 100%); + +} + +.WM-DeepBlueGradient-BG { + background: linear-gradient(90deg, #4D8BE8 0%, #2358A6 100%); +} + +.WM-PurpleGradient-BG { + background: linear-gradient(90deg, #AC3773 0%, #7D144A 100%); +} + +.WM-RedGradient-BG { + background: linear-gradient(90deg, #EE3552 0%, #B30E28 100%); +} + .WM-LightGray-color { color: rgba(33, 33, 33, .7) } @@ -183,7 +202,7 @@ h3.CSSD-font { position: absolute; } -.inputfile+label { +.inputfile + label { font-size: 16px; display: inline-block; font-weight: 400; @@ -196,8 +215,8 @@ h3.CSSD-font { border-radius: 5px; } -.inputfile:focus+label, -.inputfile+label:hover { +.inputfile:focus + label, +.inputfile + label:hover { border: 1px solid #000; color: #000; @@ -208,7 +227,8 @@ h3.CSSD-font { color: #000 !important; } -.v-pagination>li:focus {} +.v-pagination > li:focus { +} .theme--light.v-pagination .v-pagination__item:focus { outline: 0 !important; @@ -249,8 +269,7 @@ td.FlexBtn a.LinkBtn .theme--light.v-btn { } .ResultMsg.Accept { - background: #1DE6B8; - ; + background: #1DE6B8;; } .theme--light.v-icon.Verified { @@ -312,13 +331,13 @@ td.FlexBtn .theme--light.v-icon { margin-right: 0 !important; } -@media screen and (min-width : 1900px) { +@media screen and (min-width: 1900px) { .WM-XL-Align-L { text-align: left !important; } -} +} -@media screen and (max-width : 1536px) { +@media screen and (max-width: 1536px) { // table.v-table tbody td.FlexBtn:not(:first-child) { // padding: 12px 8px; // } @@ -331,9 +350,6 @@ td.FlexBtn .theme--light.v-icon { // } - - - table.v-table tbody td.Height-SM-48 { height: 48px; } @@ -370,7 +386,7 @@ td.FlexBtn .theme--light.v-icon { } -@media screen and (max-width : 1366px) { +@media screen and (max-width: 1366px) { .FlexBtn { // padding: 10px 8px !important; padding: 20px 8px !important; @@ -381,7 +397,7 @@ td.FlexBtn .theme--light.v-icon { } } -@media screen and (max-width : 1024px) { +@media screen and (max-width: 1024px) { .WM-WidthScreen-XS { flex-basis: 60% !important; max-width: 60% !important; diff --git a/src/views/Cycle/AddEdit.vue b/src/views/Cycle/AddEdit.vue index b4013d2..6fe50da 100644 --- a/src/views/Cycle/AddEdit.vue +++ b/src/views/Cycle/AddEdit.vue @@ -3,114 +3,90 @@ - - + + name="sterilizer_id" + label="Sterilizer ID" + color="black" + v-model="formData.sterilizer_id" + class="py-3 pr-3"/> - + + name="cycle_number" + label="Cycle Number" + color="black" + v-model="formData.cycle_number" + class="py-3 pr-3"/> - - - - - - - - - -
- - - - - - fas fa-plusADD - - - fas fa-removeREMOVE - -
+ + + + +
- + + +
+ + + + + + fas fa-plus + ADD + + + fas fa-remove + REMOVE + +
+
+
- - - - - + + + + +
- + fas fa-check SAVE @@ -130,9 +106,10 @@ diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index e3d9556..093b218 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -13,7 +13,6 @@ -
@@ -31,7 +30,6 @@ - @@ -47,7 +45,6 @@ - @@ -144,6 +141,7 @@ export default { { title: `Add A
Test Result`, icon: 'fas fa-plus', + // image:'https://cdn.willaspace.com/cssd/static/image/svg/Plus-white.svg', color: 'black text-white', route: {name: 'SubmitTestResult'}, aligntext: 'text-md-left', @@ -176,7 +174,8 @@ export default { { title: `Add new
item`, icon: 'fas fa-plus', - color: 'blue text-white', + // image:'https://cdn.willaspace.com/cssd/static/image/svg/Plus-white.svg', + color: 'WM-CyanGradient-BG text-white', route: {name: 'AddItem'}, aligntext: 'text-md-left', alignimg: 'text-md-left', @@ -208,7 +207,8 @@ export default { { title: `Add new
Package`, icon: 'fas fa-plus', - color: 'cyan text-white', + // image:'https://cdn.willaspace.com/cssd/static/image/svg/Plus-white.svg', + color: 'WM-DeepBlueGradient-BG text-white', route: {name: 'AddPackage'}, aligntext: 'text-md-left', alignimg: 'text-md-left', @@ -230,7 +230,8 @@ export default { { title: `Add new
label`, icon: 'fas fa-plus', - color: 'purple text-white', + // image:'https://cdn.willaspace.com/cssd/static/image/svg/Plus-white.svg', + color: 'WM-PurpleGradient-BG text-white', route: {name: 'AddLabel'}, aligntext: 'text-md-left', alignimg: 'text-md-left', @@ -252,7 +253,8 @@ export default { { title: `Add new
cycle`, icon: 'fas fa-plus', - color: 'red text-white', + // image:'https://cdn.willaspace.com/cssd/static/image/svg/Plus-white.svg', + color: 'WM-RedGradient-BG text-white', route: {name: 'AddCycle'}, aligntext: 'text-md-left', alignimg: 'text-md-left', diff --git a/src/views/Item/List.vue b/src/views/Item/List.vue index 11054f8..508c0d6 100644 --- a/src/views/Item/List.vue +++ b/src/views/Item/List.vue @@ -155,52 +155,15 @@ import toast from "@/services/global/toast.service"; export default { data: () => ({ headers: [ - // { - // sortable: true, - // text: "ID", - // value: "id" - // }, - { - sortable: true, - text: "Item ID", - value: "id" - }, - { - sortable: false, - text: "Name", - value: "name" - }, - { - sortable: true, - text: "Owner", - value: "User" - }, - { - sortable: true, - text: "Hospital", - value: "Hospital" - }, - { - sortable: false, - text: "UDI", - value: "udi" - }, - { - sortable: false, - text: "Size", - value: "size" - }, - { - sortable: false, - text: "Status", - value: "status" - }, - { - sortable: false, - text: "Action", - value: "action", - align: "left" - } + // {sortable: true,text: "ID",value: "id"}, + {sortable: false, text: "Item ID", value: "id"}, + {sortable: false, text: "Name", value: "name"}, + {sortable: false, text: "Owner", value: "User"}, + {sortable: false, text: "Hospital", value: "Hospital"}, + {sortable: false, text: "UDI", value: "udi"}, + {sortable: false, text: "Size", value: "size"}, + {sortable: false, text: "Status", value: "status"}, + {sortable: false, text: "Action", value: "action", align: "left"} ], filter: { name: '', @@ -296,7 +259,6 @@ export default { } } }, - async loadMedicalCenters() { const result = await ApiService.get(urls.listFilterItemsTestResult); if (result && result.status == 200) { diff --git a/src/views/Label/AddEdit.vue b/src/views/Label/AddEdit.vue index 374c3d7..c871801 100644 --- a/src/views/Label/AddEdit.vue +++ b/src/views/Label/AddEdit.vue @@ -129,13 +129,13 @@ export default { }, async load(id) { const result = await ApiService.get(urls.editLabel(id)); - if (result.status == 200) { + if (result && result.status == 200) { this.formData = result.data.data; } }, async loadItems() { const result = await ApiService.get(urls.listAllPackage()); - if (result.status == 200) { + if (result && result.status == 200) { this.items = result.data.data; } }, @@ -143,15 +143,9 @@ export default { let result; this.formData['lot_number'] = this.lotNumber; if (this.$route.params.label) { - result = await ApiService.put( - urls.updateLabel(this.$route.params.label), - this.formData - ); + result = await ApiService.put(urls.updateLabel(this.$route.params.label), this.formData); } else { - result = await ApiService.post( - urls.storeLabel, - this.formData - ); + result = await ApiService.post(urls.storeLabel, this.formData); } if (result && result.status == 200) {