diff --git a/websiteFunctions/templates/websiteFunctions/WPsitesList.html b/websiteFunctions/templates/websiteFunctions/WPsitesList.html index 93278f944..e4ebf8ef4 100644 --- a/websiteFunctions/templates/websiteFunctions/WPsitesList.html +++ b/websiteFunctions/templates/websiteFunctions/WPsitesList.html @@ -13,7 +13,6 @@ // Now add our controller to the module angular.module('CyberCP').controller('listWordPressSites', function($scope, $http) { - // Initialize scope variables with pre-serialized JSON $scope.wpSites = {{ wpsite|safe }}; $scope.debug = {{ debug_info|safe }}; $scope.totalSites = {{ total_sites }}; @@ -131,11 +130,7 @@ } }, function(response) { - new PNotify({ - title: 'Operation Failed!', - text: 'Could not fetch site data, please refresh the page.', - type: 'error' - }); + console.log('Failed to fetch site data'); } ); } @@ -148,91 +143,105 @@ {% endblock %} {% block content %} -
-
-
-
-
-

WordPress Sites

-
- -
-
-
- -
-
-
- -
-
-

{$ site.title $}

-
- Manage - +
+
+
+
+
+
+
+

{% trans "WordPress Sites" %}

+
+
- -
-
- WordPress -
{$ site.version $}
-
-
- Plugins -
{$ site.activePlugins || 0 $} active
-
-
- Theme -
{$ site.activeTheme || 'Loading...' $}
-
-
- PHP Version -
{$ site.phpVersion || 'Loading...' $}
-
-
- -
-
-
- - -
-
- - -
-
-
-
- - -
-
- - +
+
+
+
+
+
+
+
+

{$ site.title $}

+
+
+ Manage + +
+
+
+
+
+
+ {$ site.title $} + Visit Site +
+
+
+
+
+ + {$ site.version $} +
+
+
+
+ + {$ site.phpVersion || 'Loading...' $} +
+
+
+
+ + {$ site.activeTheme || 'twentytwentyfive' $} +
+
+
+
+ + {$ site.activePlugins || '1' $} active +
+
+
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+
@@ -241,6 +250,38 @@
+ + {% endblock content %}