{% load static %} {% comment %} ============================================================================== CloudPanel — base layout ------------------------------------------------------------------------------ Every authenticated page in the panel extends this template and overrides the three blocks it exposes: "title", "content" and "scripts". An optional "styles" block is available for page-specific CSS. Context this template expects (supplied by the CLOUDPANEL context processor and by each view): CLOUDPANEL dict PANEL_NAME, PANEL_DOMAIN, PANEL_PORT, SERVER_IP, ADMIN_EMAIL, COMPANY_DOMAIN, SUPPORT_EMAIL, VERSION, INSTALL_PREFIX, OLS_ROOT, DAEMON_SOCKET currentACL dict boolean ACL flags — see the ACL key list in static/vendor/README.md; missing key == hidden entry. currentUserName str login name of the signed-in account (optional) AngularJS interpolation in CloudPanel is {$ expr $}, NOT {{ expr }} — see the header comment in static/js/cloudpanel.js. ============================================================================== {% endcomment %} {% block title %}Dashboard{% endblock %} · {{ CLOUDPANEL.PANEL_NAME|default:"CloudPanel" }} {% block styles %}{% endblock %} {% firstof currentUserName userName request.session.userName "admin" as cpUser %} Skip to main content
{# ==================================================================== #} {# SIDEBAR #} {# ==================================================================== #} {# ==================================================================== #} {# MAIN COLUMN #} {# ==================================================================== #}
{{ CLOUDPANEL.PANEL_DOMAIN|default:"cp.a1hosting.net" }} {{ CLOUDPANEL.SERVER_IP|default:"139.59.10.200" }} {# ---- global search ---- #} {# ---- live resource mini-widget ---- #}
CPU—
RAM—
Disk—
{# ---- notifications ---- #} {# ---- theme toggle ---- #} {# ---- user menu ---- #}
{% include "userManagement/_impersonationBanner.html" %} {% if messages %} {% for message in messages %}

{{ message }}

{% endfor %} {% endif %} {% block content %}{% endblock %}
{# Toast host — CP.toast() appends here. #}
{% include "baseTemplate/_confirmModal.html" %} {# Hidden form purely so CP.csrfToken() has a DOM fallback. #} {% block scripts %}{% endblock %}