Import Your Flights
-
- Import a CSV export from MyFlightRadar24. You will then be guided to reconcile any data mismatches.
+
+ Import a CSV export from MyFlightRadar24. You will then be guided
+ to reconcile any data mismatches.
-
+
+ Successfully imported {{ importedCount }} flight{{ importedCount !== 1 ? 's' : '' }}. You will just need to reconcile some mismatched airlines and airports.
+
+
+
+
+
+
+ Importing your flights…
+
+
+
+
+
+ {{ err }}
+
+
+
Reconcile Your Data
+
-
diff --git a/resources/js/app.ts b/resources/js/app.ts
index 74d167a..6f7ddcc 100644
--- a/resources/js/app.ts
+++ b/resources/js/app.ts
@@ -6,6 +6,7 @@ import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';
import { ZiggyVue } from '../../vendor/tightenco/ziggy';
import { createApp, h, DefineComponent } from 'vue';
import vuetify from './plugins/vuetify';
+import '@mdi/font/css/materialdesignicons.css'
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
diff --git a/resources/js/plugins/vuetify.ts b/resources/js/plugins/vuetify.ts
index 7b52b3d..4fab586 100644
--- a/resources/js/plugins/vuetify.ts
+++ b/resources/js/plugins/vuetify.ts
@@ -1,8 +1,12 @@
import 'vuetify/styles'
import { createVuetify } from 'vuetify'
+
export default createVuetify({
theme: {
defaultTheme: 'dark',
},
+ icons: {
+ defaultSet: 'mdi',
+ },
})
diff --git a/resources/js/utils/helpers.ts b/resources/js/utils/helpers.ts
new file mode 100644
index 0000000..c2ff395
--- /dev/null
+++ b/resources/js/utils/helpers.ts
@@ -0,0 +1,3 @@
+export function getCsrfToken(): string {
+ return (document.querySelector('meta[name="csrf-token"]') as HTMLMetaElement)?.content ?? '';
+}
diff --git a/resources/views/app.blade.php b/resources/views/app.blade.php
index 5ed39e2..9703d04 100644
--- a/resources/views/app.blade.php
+++ b/resources/views/app.blade.php
@@ -3,7 +3,7 @@