{# Extends the base layout template #} {% extends "base.html" %} {# --- Page Title Block --- #} {# Sets the browser window/tab title, includes server name #} {% block title %}{{ super() }} - Backup Menu: {{ server_name }}{% endblock %} {# --- Head Scripts Block --- #} {# Includes JavaScript files needed for this page's actions #} {% block head_scripts %} {# Utility functions (showStatusMessage, sendServerActionRequest) #} {# Backup/Restore specific frontend functions #} {% endblock %} {# --- Main Content Block --- #} {# Overrides the content block in base.html #} {% block content %} {# Main heading for the page #}

Backup Options

{# Display the server context #}

Server: {{ server_name }}

{# --- Status Message Area --- #} {# Targeted by JavaScript (showStatusMessage) to display feedback #}
{# Status messages from backup actions will appear here #}
{# Section containing the menu options #}
{# Prompt text #}

Choose a backup action:

{# Group for buttons that trigger immediate backup actions via JavaScript #}
{# Button to trigger world backup API call #} {# 'this' refers to the button element itself (for disabling) #} {# 'server_name' comes from Jinja context #} {# 'world' specifies the backup type for the JS function #} {# Link to the page for selecting specific config files #} Backup Config File... {# Ellipsis indicates navigation #} {# Button to trigger full backup (world + standard configs) API call #}
{# Navigation link back to main dashboard #}
{# End of .backup-menu-section #} {% endblock %} {# --- Optional Body Scripts Block --- #} {% block body_scripts %} {# #} {% endblock %}