{# Extends the base layout template #} {% extends "base.html" %} {# --- Page Title Block --- #} {% block title %}{{ super() }} - Restore Menu: {{ server_name }}{% endblock %} {# --- Head Scripts Block --- #} {# Include JavaScript files needed for this page's actions (utils, backup_restore) #} {% block head_scripts %} {# backup_restore.js contains triggerRestoreAll and potentially other handlers #} {% endblock %} {# --- Main Content Block --- #} {% block content %} {# Main heading for the page #}

Restore Options

{# Display the server context #}

Server: {{ server_name }}

{# --- Status Message Area --- #} {# Targeted by JavaScript (showStatusMessage) #}
{# Server-side flash messages (handled by base.html) #} {# Section containing the restore options #}

Choose a restore action:

{# Group for restore action buttons/forms #}
{# Form to navigate to World backup selection #}
{# Keep buttons inline #} {# CSRF token required for POST requests #} {# Hidden input to tell the next route which backup type to list #} {# Submit button styled as action button #}
{# Form to navigate to properties backup selection #}
{# Form to navigate to allowlist backup selection #}
{# Form to navigate to permissions backup selection #}
{# Button to trigger Restore All API call directly via JavaScript #} {# 'this' refers to the button element (for disabling) #} {# 'server_name' comes from Jinja context #}
{# --- End .button-group --- #} {# Navigation Link Back #}
{# --- End .restore-menu-section --- #} {% endblock %}