Pārlūkot izejas kodu

Add new account settings view

Daniel Supernault 6 gadi atpakaļ
vecāks
revīzija
1423e06c05
1 mainītis faili ar 31 papildinājumiem un 0 dzēšanām
  1. 31 0
      resources/views/settings/remove/permanent.blade.php

+ 31 - 0
resources/views/settings/remove/permanent.blade.php

@@ -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