From f0d3bacb7bad66dd4eb0024eaf0732fed5a43e42 Mon Sep 17 00:00:00 2001 From: Hassan Hashmi <75794688+hassanhashmey@users.noreply.github.com> Date: Mon, 18 Dec 2023 12:45:28 +0500 Subject: [PATCH] mysql changes --- .../templates/baseTemplate/index.html | 88 ++------ cloudAPI/cloudManager.py | 10 +- databases/databaseManager.py | 23 ++ databases/mysqlOptimizer.py | 121 ++++++++++ databases/static/databases/databases.js | 208 ++++++++++++++++++ databases/static/databases/hourglass.png | Bin 0 -> 1062 bytes databases/static/databases/link.png | Bin 0 -> 1153 bytes databases/static/databases/snail.png | Bin 0 -> 3098 bytes .../templates/databases/OptimizeMySQL.html | 70 ++++++ .../templates/databases/mysqlmanager.html | 129 +++++++++++ databases/urls.py | 6 + databases/views.py | 116 +++++++++- plogical/mysqlUtilities.py | 5 +- 13 files changed, 686 insertions(+), 90 deletions(-) create mode 100644 databases/mysqlOptimizer.py create mode 100644 databases/static/databases/hourglass.png create mode 100644 databases/static/databases/link.png create mode 100644 databases/static/databases/snail.png create mode 100644 databases/templates/databases/OptimizeMySQL.html create mode 100644 databases/templates/databases/mysqlmanager.html diff --git a/baseTemplate/templates/baseTemplate/index.html b/baseTemplate/templates/baseTemplate/index.html index bf51910ee..6b661c72a 100755 --- a/baseTemplate/templates/baseTemplate/index.html +++ b/baseTemplate/templates/baseTemplate/index.html @@ -217,65 +217,6 @@ title="{% trans 'CPU Load Average' %}" data-placement="bottom"> {$ three $} {% endcomment %} - - {#
#} @@ -821,6 +762,18 @@ {% if admin %}ID | +User | +Database | +Command | +Time | +State | +Info | +Progress | +
---|---|---|---|---|---|---|---|
+ | + | + | + | + | + | + | + |