mock up import export

This commit is contained in:
hackerESQ
2024-08-07 18:29:23 -05:00
parent b090908d09
commit 991d484152
19 changed files with 1085 additions and 2 deletions
@@ -38,7 +38,7 @@
</x-slot:trigger>
<x-menu-item title="{{ __('Manage Profile') }}" icon="o-user" link="{{ @route('profile.show') }}" />
<x-menu-item title="{{ __('Import / Export Data') }}" icon="o-cloud-arrow-down" link="{{ @route('profile.show') }}" />
<x-menu-item title="{{ __('Import / Export Data') }}" icon="o-cloud-arrow-down" link="{{ @route('import-export') }}" />
<x-menu-separator />
+61
View File
@@ -0,0 +1,61 @@
<x-app-layout>
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<x-forms.form-section submit="updateProfileInformation">
<x-slot name="title">
{{ __('Import') }}
</x-slot>
<x-slot name="description">
{{ __('Upload or recover your Investbrain portfolio and holdings.') }}
</x-slot>
<x-slot name="form">
<!-- Name -->
<div class="col-span-6 sm:col-span-4">
{{-- <x-file wire:model="file" label="Receipt" hint="Only PDF" accept="application/pdf" /> --}}
<input type="file" />
</div>
</x-slot>
<x-slot name="actions">
<x-button type="submit">
{{ __('Save') }}
</x-button>
</x-slot>
</x-forms.form-section>
<x-section-border />
</div>
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<x-forms.action-section submit="updateProfileInformation">
<x-slot name="title">
{{ __('Export') }}
</x-slot>
<x-slot name="description">
{{ __('Download all of your portfolios and transactions.') }}
</x-slot>
<x-slot name="content">
<!-- Name -->
<div class="col-span-6 sm:col-span-4">
<x-button type="submit">
{{ __('Download Export') }}
</x-button>
</div>
</x-slot>
</x-forms.form-section>
</div>
</x-app-layout>