Add new account settings view

This commit is contained in:
Daniel Supernault 2018-12-20 21:47:53 -07:00
parent a57c2290d3
commit 1423e06c05
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -0,0 +1,31 @@
@extends('settings.template')
@section('section')
<div class="title">
<h3 class="font-weight-bold">Delete Your Account</h3>
</div>
<hr>
<div class="mt-3">
<p>Hi <span class="font-weight-bold">{{Auth::user()->username}}</span>,</p>
<p>We're sorry to hear you'd like to delete your account.</p>
<p class="pb-1">If you're just looking to take a break, you can always <a href="{{route('settings.remove.temporary')}}">temporarily disable</a> your account instead.</p>
<p class="">When you press the button below, your photos, comments, likes, friendships and all other data will be removed permanently and will not be recoverable. If you decide to create another Pixelfed account in the future, you cannot sign up with the same username again on this instance.</p>
<div class="alert alert-danger my-5">
<span class="font-weight-bold">Warning:</span> Some remote servers may contain your public data (statuses, avatars, ect) and will not be deleted until federation support is launched.
</div>
<p>
<form method="post">
@csrf
<button class="btn btn-danger font-weight-bold py-0">Permanently delete my account</button>
</form>
</p>
</div>
@endsection