diff --git a/resources/js_vue3/assets/app.scss b/resources/js_vue3/assets/app.scss index c53b80bc..aded7cda 100644 --- a/resources/js_vue3/assets/app.scss +++ b/resources/js_vue3/assets/app.scss @@ -1281,3 +1281,30 @@ footer.main .field.is-grouped { transform: translateY(-2rem); } } + +:root[data-theme="dark"] .table { + background-color: $black-ter; + color: $white-bis; +} +:root[data-theme="dark"] .table th, +:root[data-theme="dark"] .table thead th { + color: $grey; +} +:root[data-theme="dark"] .table td, +:root[data-theme="dark"] .table th { + border: 1px solid $grey-darker; + border-width: 0 0 1px; +} + +:root[data-theme="dark"] .card { + background-color: $black-ter; + border: 1px solid $grey-darker; +} + +:root[data-theme="dark"] .card-footer { + border-top: 1px solid $grey-darker; +} + +:root[data-theme="dark"] .card-footer-item:not(:last-child) { + border-right: 1px solid $grey-darker; +} \ No newline at end of file diff --git a/resources/js_vue3/icons.js b/resources/js_vue3/icons.js index 1a54e0b1..d1da8bcc 100644 --- a/resources/js_vue3/icons.js +++ b/resources/js_vue3/icons.js @@ -1,5 +1,3 @@ -// import Vue from 'vue' - import { library } from '@fortawesome/fontawesome-svg-core' import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' @@ -42,7 +40,10 @@ import { faSun, faMoon, faDesktop, - faCircleNotch + faCircleNotch, + faCircleCheck, + faTriangleExclamation, + faFileLines } from '@fortawesome/free-solid-svg-icons' import { @@ -89,9 +90,10 @@ library.add( faSun, faMoon, faDesktop, - faCircleNotch + faCircleNotch, + faCircleCheck, + faTriangleExclamation, + faFileLines ); -export default FontAwesomeIcon - -// Vue.component('font-awesome-icon', FontAwesomeIcon) \ No newline at end of file +export default FontAwesomeIcon \ No newline at end of file diff --git a/resources/js_vue3/views/twofaccounts/Import.vue b/resources/js_vue3/views/twofaccounts/Import.vue index 91023665..8c5a564f 100644 --- a/resources/js_vue3/views/twofaccounts/Import.vue +++ b/resources/js_vue3/views/twofaccounts/Import.vue @@ -2,6 +2,7 @@ import Form from '@/components/formElements/Form' import twofaccountService from '@/services/twofaccountService' import OtpDisplay from '@/components/OtpDisplay.vue' + import Spinner from '@/components/Spinner.vue' import { useNotifyStore } from '@/stores/notify' import { useUserStore } from '@/stores/user' import { useBusStore } from '@/stores/bus' @@ -15,9 +16,7 @@ const twofaccounts = useTwofaccounts() const otpDisplay = ref(null) const fileInput = ref(null) - const fileInputLabel = ref(null) const qrcodeInput = ref(null) - const qrcodeInputLabel = ref(null) const form = reactive(new Form({ service: '', account: '', @@ -234,53 +233,111 @@
{{ $t('twofaccounts.import.supported_formats_for_qrcode_upload') }}
-{{ $t('twofaccounts.import.supported_formats_for_file_upload') }}
-