diff --git a/frontend/package.json b/frontend/package.json index 222061847..a7f59eaa1 100755 --- a/frontend/package.json +++ b/frontend/package.json @@ -69,6 +69,7 @@ "vue-good-table": "^2.21.3", "vue-i18n": "^8.22.4", "vue-jest": "^3.0.7", + "vue-loading-overlay": "^3.4.2", "vue-moment": "^4.1.0", "vue-qrcode": "^0.3.5", "vue-qrcode-reader": "^2.3.16", diff --git a/frontend/src/plugins/dashboard-plugin.js b/frontend/src/plugins/dashboard-plugin.js index 9b6e350dc..881fecf7d 100755 --- a/frontend/src/plugins/dashboard-plugin.js +++ b/frontend/src/plugins/dashboard-plugin.js @@ -37,6 +37,10 @@ import 'vue-good-table/dist/vue-good-table.css' import VueMoment from 'vue-moment' +import Loading from 'vue-loading-overlay' +// import the styles +import 'vue-loading-overlay/dist/vue-loading.css' + Object.keys(rules).forEach((rule) => { extend(rule, { ...rules[rule], // copies rule configuration @@ -56,6 +60,7 @@ export default { Vue.use(VueQrcodeReader) Vue.use(VueQrcode) Vue.use(VueFlatPickr) + Vue.use(Loading) configure({ classes: { valid: 'is-valid', diff --git a/frontend/src/views/Pages/Login.vue b/frontend/src/views/Pages/Login.vue index f7c002d2a..8504915c0 100755 --- a/frontend/src/views/Pages/Login.vue +++ b/frontend/src/views/Pages/Login.vue @@ -67,7 +67,7 @@ -