mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-07 01:30:06 +00:00
ZIP Exports: Built out initial import view
Added syles for non-custom, non-image file inputs. Started planning out back-end handling.
This commit is contained in:
parent
4051d5b803
commit
a56a28fbb7
4 changed files with 62 additions and 15 deletions
app/Exports/Controllers
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue