[Applicant+Admin] Withdraw application, delete account, admin analytics dashboard
Applicant: 'انصراف از درخواست' on /Me removes the Apply event for that shift/job. Account: 'حذف حساب من' on /Me/Profile permanently deletes the user + cascades (profile, alerts, reviews, applications), detaches anonymous visitor history, and signs out (per privacy policy). Admin: /Admin/Analytics dashboard — totals (users, facilities/verified, open shifts/jobs, applications, reviews), 7-day deltas, and a 14-day applications bar chart; linked from Overview alongside the new نظرات moderation page. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -95,4 +95,12 @@
|
||||
|
||||
<button type="submit" class="btn btn-accent btn-block btn-lg">ذخیره پروفایل</button>
|
||||
</form>
|
||||
|
||||
<div class="card card-pad" style="margin-top:14px; border-color:var(--danger);">
|
||||
<h3 style="margin-top:0; color:var(--danger);">حذف حساب کاربری</h3>
|
||||
<p class="muted" style="font-size:13px;">با حذف حساب، اطلاعات پروفایل، رزومه، هشدارها و درخواستهای شما حذف میشود. این کار بازگشتناپذیر است.</p>
|
||||
<form method="post" asp-page-handler="DeleteAccount" onsubmit="return confirm('آیا از حذف کامل حساب خود مطمئنی؟ این کار بازگشتناپذیر است.');">
|
||||
<button type="submit" class="btn btn-outline" style="color:var(--danger); border-color:var(--danger);">حذف حساب من</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user