Export checkin to CSV
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
href="{{ route('setting') }}"><span class="oi oi-person mr-1"></span> プロフィール</a>
|
||||
<a class="list-group-item list-group-item-action {{ Route::currentRouteName() === 'setting.privacy' ? 'active' : '' }}"
|
||||
href="{{ route('setting.privacy') }}"><span class="oi oi-shield mr-1"></span> プライバシー</a>
|
||||
<a class="list-group-item list-group-item-action {{ Route::currentRouteName() === 'setting.export' ? 'active' : '' }}"
|
||||
href="{{ route('setting.export') }}"><span class="oi oi-data-transfer-download mr-1"></span> データのエクスポート</a>
|
||||
<a class="list-group-item list-group-item-action {{ Route::currentRouteName() === 'setting.deactivate' ? 'active' : '' }}"
|
||||
href="{{ route('setting.deactivate') }}"><span class="oi oi-trash mr-1"></span> アカウントの削除</a>
|
||||
{{--<a class="list-group-item list-group-item-action {{ Route::currentRouteName() === 'setting.password' ? 'active' : '' }}"
|
||||
|
23
resources/views/setting/export.blade.php
Normal file
23
resources/views/setting/export.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
@extends('setting.base')
|
||||
|
||||
@section('title', 'データのエクスポート')
|
||||
|
||||
@section('tab-content')
|
||||
<h3>データのエクスポート</h3>
|
||||
<hr>
|
||||
<p>チェックインデータをCSVファイルとしてダウンロードすることができます。</p>
|
||||
<form class="mt-4" action="{{ route('setting.export.csv') }}" method="get">
|
||||
{{ csrf_field() }}
|
||||
<div class="mb-2"><strong>文字コード</strong></div>
|
||||
<div class="form-check">
|
||||
<label><input class="form-check-input" type="radio" name="charset" value="utf8" checked>UTF-8</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<label><input class="form-check-input" type="radio" name="charset" value="sjis">Shift_JIS</label>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary mt-3">ダウンロード</button>
|
||||
</form>
|
||||
@endsection
|
||||
|
||||
@push('script')
|
||||
@endpush
|
Reference in New Issue
Block a user