wah.moe/resources/views/admin/import.blade.php
Frankie B 0f52d80ca6
Merge MVC rewrite into master (#21)
* Just commit it all

* Require auth

* crap

* Update homepage

* Block AI scrapers

* Update cache update script

* Add dummy file

* Remove unnecessary lastfm config var

* Use withQueryParameters for LastFM API

* Fix embeds

* Update example env

* Smard
2024-06-11 18:02:01 +01:00

19 lines
961 B
PHP

<x-layout>
<x-slot:title>Admin | Import</x-slot:title>
<form class="import" action="{{ route('admin.import.submit') }}" method="post" enctype="multipart/form-data">
@csrf
<label for="data_file"><strong>File:</strong></label>
<input class="file" type="file" name="data_file" accept=".json"><br>
<h2>What to import:</h2>
<input type="checkbox" name="guestbook__entries" checked>
<label for="guestbook__entries">Guestbook Entries</label><br>
<input type="checkbox" name="guestbook__bans" checked>
<label for="guestbook__bans">Guestbook Bans</label><br>
<input type="checkbox" name="guestbook__entries" checked>
<label for="bookmark__categories">Bookmark Categories</label><br>
<input type="checkbox" name="guestbook__entries" checked>
<label for="bookmark_sites">Bookmark Sites</label><br>
<button type="submit">Import</button>
</form>
</x-layout>