{# --- Server Selection Dropdown and Global Actions --- #} {# This section remains visible regardless of the selected sidebar tab #}
{# Action buttons targeting the selected server #}
{# JS functions in server_actions.js use getSelectedServer() #}
{# --- End Server Selection --- #} {# --- Content Sections (Toggled by Sidebar Links) --- #} {# Overview Section - Displays Server Cards #}
{# Default active section #}

Overview

{# Grid container for cards #} {% if servers %} {% for server in servers %}
{# Individual card #}
{# Display world icon or default #} {% if server.icon_url %} {{ server.name }} World Icon {% else %} Default Icon {% endif %}
{# Server Name (acts as link to manage section?) - Consider adding link later #}

{{ server.name }}

{# Server Status with dynamic class for coloring #}

Status: {# CSS class like status-running, status-stopped etc. #} {{ server.status | upper }}

{# Server Version #}

Version: {# Add class if specific styling needed for version #} {{ server.version }}

{# Actions specific to this card (can repeat global actions or have different ones) #}
{# Example: Add direct buttons here if needed, duplicating global ones #} {# #}
{# End .server-card #} {% endfor %} {% else %} {# Message shown if no servers exist #}
No servers found. Use 'Install New Server' in the navigation menu to get started.
{% endif %}
{# End .server-card-list #}
{# --- End Overview Section --- #} {# Manage Section - Update, Monitor, Delete #}

Manage Server

Select a server from the dropdown above, then use the buttons below.

{# Actions specific to this section #}

Actions for (No server selected)

{# Buttons call JS functions, passing selected server name dynamically #} Monitor Usage
{# --- End Manage Section --- #} {# Configure Section - Links to specific config pages #}

Configure Server

Select a server from the dropdown above, then choose a configuration area:

Configuration Areas for (No server selected)

{# Links are disabled initially, href updated by JS #} Properties Allowlist Permissions Service Settings
{# Show message only if NO servers exist at all #} {% if not servers %}

No servers available to configure.

{% endif %}
{# --- End Configure Section --- #} {# Content Section - Links to import pages #}

Content Management

Select a server from the dropdown above to import content:

Import Options for (No server selected)

{% if not servers %}

No servers available to import content to.

{% endif %}
{# --- End Content Section --- #} {# Backup/Restore Section - Links to specific menus #}

Backup & Restore

Select a server from the dropdown above to manage backups:

Backup/Restore for (No server selected)

{% if not servers %}

No servers available for backup/restore.

{% endif %}
{# --- End Backup/Restore Section --- #} {# Scheduled Tasks Section - Link to scheduler page #}

Scheduled Tasks

Configure automated tasks like backups, restarts, or updates for the selected server.

Schedule Tasks for (No server selected)

{% if not servers %}

No servers available for task scheduling.

{% endif %}
{# --- End Tasks Section --- #}