]> BookStack Code Mirror - bookstack/blob - resources/views/exports/import.blade.php
b7030f114782491c82e0c97b109cb25af2e42da3
[bookstack] / resources / views / exports / import.blade.php
1 @extends('layouts.simple')
2
3 @section('body')
4
5     <div class="container small">
6
7         <main class="card content-wrap auto-height mt-xxl">
8             <h1 class="list-heading">{{ trans('entities.import') }}</h1>
9             <form action="{{ url('/import') }}" method="POST">
10                 {{ csrf_field() }}
11                 <div class="flex-container-row justify-space-between wrap gap-x-xl gap-y-s">
12                     <p class="flex min-width-l text-muted mb-s">
13                         Import content using a portable zip export from the same, or a different, instance.
14                         Select a ZIP file to import then press "Validate Import" to proceed.
15                         After the file has been uploaded and validated you'll be able to configure & confirm the import in the next view.
16                     </p>
17                     <div class="flex-none min-width-l flex-container-row justify-flex-end">
18                         <div class="mb-m">
19                             <label for="file">Select ZIP file to upload</label>
20                             <input type="file"
21                                    accept=".zip,application/zip,application/x-zip-compressed"
22                                    name="file"
23                                    id="file"
24                                    class="custom-simple-file-input">
25                         </div>
26                     </div>
27                 </div>
28
29                 <div class="text-right">
30                     <a href="{{ url('/books') }}" class="button outline">{{ trans('common.cancel') }}</a>
31                     <button type="submit" class="button">{{ trans('entities.import_validate') }}</button>
32                 </div>
33             </form>
34         </main>
35     </div>
36
37 @stop