{# Extends the base layout template #} {% extends "base.html" %} {# --- Page Title Block --- #} {% block title %}{{ super() }} - Select Addon: {{ server_name }}{% endblock %} {# --- Head Scripts Block --- #} {# Include JavaScript files needed for addon installation actions #} {% block head_scripts %} {# content_management.js contains the triggerAddonInstall function #} {% endblock %} {# --- Main Content Block --- #} {% block content %} {# Main heading for the page #}
Server: {{ server_name }}
{# --- Status Message Area --- #} {# Targeted by JavaScript (showStatusMessage) #} {# Server-side flash messages (handled by base.html) #} {# Section containing the addon selection list #}Select an addon file (.mcaddon or .mcpack) to install to server '{{ server_name }}':
{# Responsive wrapper for the table #}Available Addon File | {# Header for the filename #}Action | {# Header for the button #}
---|---|
{{ addon_file_path | basename }} | {# Cell containing the install button #}{# Button calls triggerAddonInstall JS function #} |