diff options
author | 2020-04-02 15:32:18 +0200 | |
---|---|---|
committer | 2020-04-02 15:32:18 +0200 | |
commit | ddd002094d5c80ca4065b7d181e7f5b9471556da (patch) | |
tree | 1c5d9d018878595b32b4ec6bd3734bef698237d5 /resources/views/dashboard/delete.edge | |
parent | Merge branch 'master' of https://github.com/getferdi/ferdi-server (diff) | |
download | ferdium-server-ddd002094d5c80ca4065b7d181e7f5b9471556da.tar.gz ferdium-server-ddd002094d5c80ca4065b7d181e7f5b9471556da.tar.zst ferdium-server-ddd002094d5c80ca4065b7d181e7f5b9471556da.zip |
Update dashboard design
Diffstat (limited to 'resources/views/dashboard/delete.edge')
-rw-r--r-- | resources/views/dashboard/delete.edge | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/resources/views/dashboard/delete.edge b/resources/views/dashboard/delete.edge index d3fc0df..3a29253 100644 --- a/resources/views/dashboard/delete.edge +++ b/resources/views/dashboard/delete.edge | |||
@@ -1,31 +1,36 @@ | |||
1 | @layout('layouts.main') | 1 | @layout('layouts.v2') |
2 | 2 | ||
3 | @section('content') | 3 | @section('content') |
4 | <h2>Delete Ferdi account</h2> | 4 | <div class="w-screen h-screen bg-purple-200 flex items-center justify-center"> |
5 | @if(flashMessage('error')) | 5 | <div class="w-full max-w-lg bg-white shadow-md rounded px-8 pt-6 pb-8 mb-4"> |
6 | <div class="alert"> | 6 | <h1 class="text-gray-700 text-center text-2xl pb-5">Delete your account</h1> |
7 | {{ flashMessage('error') }} | 7 | @if(flashMessage('error')) |
8 | <div class="bg-orange-100 border-l-4 border-orange-500 text-orange-700 p-4"> | ||
9 | {{ flashMessage('error') }} | ||
8 | </div> | 10 | </div> |
9 | @endif | 11 | @endif |
10 | @if(old('message')) | 12 | @if(old('message')) |
11 | <div class="alert"> | 13 | <div class="bg-orange-100 border-l-4 border-orange-500 text-orange-700 p-4"> |
12 | {{ old('message') }} | 14 | {{ old('message') }} |
13 | </div> | 15 | </div> |
14 | @endif | 16 | @endif |
15 | 17 | ||
16 | <form action="/user/delete" method="POST"> | 18 | <form action="/user/delete" method="POST"> |
17 | <p>Are you sure, that you want to delete your Ferdi account?</p> | 19 | <p>Are you sure, that you want to delete your Ferdi account?</p> |
18 | <p>This will <b>permanently</b> delete all your account settings, services and workspaces.</p> | 20 | <p>This will <b>permanently</b> delete all your account settings, services and workspaces.</p> |
19 | <div> | 21 | <div class="pt-8"> |
20 | {{ csrfField() }} | 22 | {{ csrfField() }} |
21 | <button style="background-color:#F6416C;margin-bottom:1rem;">Yes, delete account</button> | 23 | <button style="background-color:#F6416C;margin-bottom:1rem;">Yes, delete account</button> |
24 | </div> | ||
25 | </form> | ||
26 | |||
27 | <div class="text-center"> | ||
28 | <a class="w-full font-bold text-sm text-gray-500 hover:text-gray-800 mb-3" href="/user/account">Back to My | ||
29 | Account</a> | ||
22 | </div> | 30 | </div> |
23 | </form> | ||
24 | 31 | ||
25 | <div> | 32 | </div> |
26 | <a class="button" href="/user/account" style="background-color:#28C76F;">Cancel</a> | 33 | <script src="/js/transfer.js"></script> |
27 | </div> | 34 | </div> |
28 | |||
29 | </div> | 35 | </div> |
30 | 36 | @endsection | |
31 | @endsection \ No newline at end of file | ||