pixelfed/resources/views/settings/dataexport.blade.php
2019-04-27 23:04:46 -06:00

74 lines
2.6 KiB
PHP

@extends('settings.template')
@section('section')
<div class="title">
<h3 class="font-weight-bold">Data Export</h3>
</div>
<hr>
<div class="alert alert-primary px-3 h6">We generate data exports once per hour, and they may not contain the latest data if you've requested them recently.</div>
<ul class="list-group">
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<span class="font-weight-bold">Following</span>
</div>
<div>
<form action="/settings/data-export/following" method="post">
@csrf
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">Download</button>
</form>
</div>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<span class="font-weight-bold">Followers</span>
</div>
<div>
<form action="/settings/data-export/followers" method="post">
@csrf
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">Download</button>
</form>
</div>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<span class="font-weight-bold">Statuses</span>
</div>
<div>
<form action="/settings/data-export/statuses" method="post" class="d-inline">
@csrf
<input type="hidden" name="type" value="ap">
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">Download</button>
</form>
{{-- <form action="/settings/data-export/statuses" method="post" class="d-inline">
@csrf
<input type="hidden" name="type" value="api">
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">api.json</button>
</form> --}}
</div>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<span class="font-weight-bold">Mute/Block List</span>
</div>
<div>
<form action="/settings/data-export/mute-block-list" method="post">
@csrf
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">Download</button>
</form>
</div>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<span class="font-weight-bold">Account</span>
</div>
<div>
<form action="/settings/data-export/account" method="post">
@csrf
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">Download</button>
</form>
</div>
</li>
</ul>
@endsection