mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-24 14:41:25 +08:00
ZIP Exports: Built out initial import view
Some checks are pending
analyse-php / build (push) Waiting to run
lint-php / build (push) Waiting to run
test-migrations / build (8.1) (push) Waiting to run
test-migrations / build (8.2) (push) Waiting to run
test-migrations / build (8.3) (push) Waiting to run
test-php / build (8.1) (push) Waiting to run
test-php / build (8.2) (push) Waiting to run
test-php / build (8.3) (push) Waiting to run
Some checks are pending
analyse-php / build (push) Waiting to run
lint-php / build (push) Waiting to run
test-migrations / build (8.1) (push) Waiting to run
test-migrations / build (8.2) (push) Waiting to run
test-migrations / build (8.3) (push) Waiting to run
test-php / build (8.1) (push) Waiting to run
test-php / build (8.2) (push) Waiting to run
test-php / build (8.3) (push) Waiting to run
Added syles for non-custom, non-image file inputs. Started planning out back-end handling.
This commit is contained in:
@ -14,11 +14,17 @@ class ImportController extends Controller
|
||||
|
||||
public function start(Request $request)
|
||||
{
|
||||
// TODO - Show existing imports for user (or for all users if admin-level user)
|
||||
|
||||
return view('exports.import');
|
||||
}
|
||||
|
||||
public function upload(Request $request)
|
||||
{
|
||||
// TODO
|
||||
// TODO - Read existing ZIP upload and send through validator
|
||||
// TODO - If invalid, return user with errors
|
||||
// TODO - Upload to storage
|
||||
// TODO - Store info/results from validator
|
||||
// TODO - Send user to next import stage
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user