2016-09-01 15:33:46 -07:00
|
|
|
|
extends ../layout
|
|
|
|
|
block content
|
|
|
|
|
include ../partials/flyer
|
2016-11-30 17:14:03 -06:00
|
|
|
|
#modal-dialog.modal
|
2016-09-01 15:33:46 -07:00
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
2016-12-04 20:07:06 -05:00
|
|
|
|
a.close(href='/settings', data-dismiss='modal', aria-hidden='true') ×
|
2016-09-01 15:33:46 -07:00
|
|
|
|
h3 You don't really want to delete your account, do you?
|
|
|
|
|
.modal-body
|
|
|
|
|
p This will really delete all your data, including all your progress and brownie points.
|
|
|
|
|
p We won't be able to recover any of it for you later, even if you change your mind.
|
|
|
|
|
p If there's something we could do better, send us an email instead and we'll do our best:  
|
2017-08-26 00:07:44 +02:00
|
|
|
|
a(href="mailto:team@freecodecamp.org") team@freecodecamp.org
|
2016-09-01 15:33:46 -07:00
|
|
|
|
| .
|
|
|
|
|
.modal-footer
|
2016-12-04 20:07:06 -05:00
|
|
|
|
a.btn.btn-success.btn-block(href='/settings', data-dismiss='modal', aria-hidden='true')
|
2016-09-01 15:33:46 -07:00
|
|
|
|
| Nevermind, I don't want to delete all of my progress
|
|
|
|
|
.spacer
|
|
|
|
|
form(action='/account/delete', method='POST')
|
|
|
|
|
input(type='hidden', name='_csrf', value=_csrf)
|
|
|
|
|
button.btn.btn-danger.btn-block(type='submit')
|
|
|
|
|
| I am 100% sure I want to delete my account and all of my progress
|
|
|
|
|
script.
|
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
|
const modal$ = document.getElementById('modal-dialog');
|
|
|
|
|
modal$.classList.add('show');
|
|
|
|
|
});
|