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

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

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

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

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

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

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

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

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

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

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

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

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

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

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