# Server Deletion Confirmation Form
# Generated: {{ now_iso }}
# Purpose: Confirm destructive server deletion operation

[meta]
title = "Server Deletion Confirmation"
description = "This action will permanently delete the server and all associated data"
allow_cancel = true

# ============================================================================
# WARNING SECTION
# ============================================================================

[items.warning_header]
type = "text"
prompt = "⚠️ WARNING: This Action Cannot Be Undone"
display_only = true

[items.warning_text]
type = "text"
prompt = "Server Deletion will:"
help = """
• Permanently remove the server from all providers
• Delete all associated data and configurations
• Terminate all running services
• Release allocated IP addresses and storage"""
display_only = true

# ============================================================================
# SERVER INFORMATION
# ============================================================================

[items.server_info_header]
type = "text"
prompt = "Server to Delete"
display_only = true

[items.server_name]
type = "text"
prompt = "Server Name"
help = "Name of the server being deleted"
default = "{{ server_name | default('unknown') }}"
display_only = true

[items.server_ip]
type = "text"
prompt = "IP Address"
help = "Current IP address of the server"
default = "{{ server_ip | default('not assigned') }}"
display_only = true

[items.server_status]
type = "text"
prompt = "Current Status"
help = "Current operational status"
default = "{{ server_status | default('unknown') }}"
display_only = true

# ============================================================================
# CONFIRMATION
# ============================================================================

[items.confirm_header]
type = "text"
prompt = "Confirm Deletion"
display_only = true

[items.confirmation_text]
type = "text"
prompt = "Type 'DELETE' to Confirm"
help = "This prevents accidental deletion. You must type the exact word DELETE"
required = true

[items.final_confirm]
type = "confirm"
prompt = "I understand this is permanent and cannot be undone"
help = "Check this box to confirm you understand the consequences"
required = true

[items.proceed]
type = "confirm"
prompt = "Delete server {{ server_name | default('server') }}?"
help = "Final confirmation to proceed with deletion"
required = true
