From b7f1ac8691a61b59370a1d02bea2c28fb9e00c4e Mon Sep 17 00:00:00 2001 From: usmannasir Date: Tue, 1 Apr 2025 15:33:57 +0500 Subject: [PATCH] additional setting for improved wp page --- .../websiteFunctions/WPsitesList.html | 457 ++++++------------ 1 file changed, 156 insertions(+), 301 deletions(-) diff --git a/websiteFunctions/templates/websiteFunctions/WPsitesList.html b/websiteFunctions/templates/websiteFunctions/WPsitesList.html index 20f538462..baa518651 100644 --- a/websiteFunctions/templates/websiteFunctions/WPsitesList.html +++ b/websiteFunctions/templates/websiteFunctions/WPsitesList.html @@ -1,19 +1,8 @@ {% extends "baseTemplate/index.html" %} {% load i18n %} {% block title %}{% trans "WordPress Toolkit - CyberPanel" %}{% endblock %} -{% block content %} - - {% load static %} - {% get_current_language as LANGUAGE_CODE %} - - {% csrf_token %} - - +{% block styles %} +{% endblock %} +{% block content %} + {% load static %} + {% csrf_token %} -
- {% if debug_info %} -
+
+

Debug Information

-

Total WordPress Sites: {{ total_sites }}

-

User ID: {{ debug_info.user_id }}

-

Is Admin: {{ debug_info.is_admin }}

-

WP Sites Count: {{ debug_info.wp_sites_count }}

-
- {% endif %} - - {% if not wpsite %} -
- No WordPress sites found. Install WordPress to get started. -
- {% endif %} - - {% if wpsite %} -
-

WordPress Toolkit {% if help_url %}Help{% endif %}

- +

Total WordPress Sites: [[totalSites]]

+

User ID: [[userId]]

+

Is Admin: [[isAdmin]]

+

WP Sites Count: [[wpSitesCount]]

- {% for site in wpsite %} -
-
+
+ No WordPress sites found. Install WordPress to get started. +
+ +
+
+

WordPress Toolkit {% if help_url %}Help{% endif %}

- - {{ site.url }} - {% if site.production_status %}PRODUCTION{% endif %} -
-
- - Manage - - + + Install WordPress
-
- {{ site.title }} - -
-

{{ site.title }} Login

- -
-
- WordPress - - Loading... - -
-
- Plugins - - Loading... - -
-
- Themes - - Loading... - -
-
- PHP - - Loading... - -
-
-
-
- Search engine indexing - +
+
+
+ + [[site.url]] + PRODUCTION +
+
+ + Manage + + +
+
+
+ [[site.title]] + +
+

[[site.title]] Login

+ +
+
+ WordPress + + + [[site.version || 'Loading...']] + +
+
+ Plugins + + + [[site.activePlugins || 'Loading...']] + +
+
+ Themes + + + [[site.activeTheme || 'Loading...']] + +
+
+ PHP + + + [[site.phpVersion || 'Loading...']] + +
-
- Debugging - -
-
- Password protection - -
-
- Maintenance mode - + +
+
+ Search engine indexing + +
+
+ Debugging + +
+
+ Password protection + +
+
+ Maintenance mode + +
- {% endfor %} -
- -{% endblock %} +{% endblock content %}