{# Extends the base layout template #} {% extends "base.html" %} {# --- Page Title Block --- #} {# Sets the browser window/tab title, includes server name #} {% block title %}{{ super() }} - Backup Config File: {{ server_name }}{% endblock %} {# --- Head Scripts Block --- #} {# Includes JavaScript files needed specifically for this page in the #} {% 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 %} {# Hidden div to trigger JS initialization and pass server_name #} {# Main heading for the page #}

Select Configuration File to Backup

{# Display the server context #}

Server: {{ server_name }}

{# --- Status Message Area --- #} {# This div is targeted by the showStatusMessage() JavaScript function #} {# to display success, error, or info messages dynamically. #}
{# Initial content is empty, controlled by JS #}
{# Section containing the backup options #}

Click a button below to create a timestamped backup of the corresponding configuration file.

{# Group for the action buttons #}
{% endblock %}