From 65a49c023ed79ab16812196590dbb47dc8cf7a9d Mon Sep 17 00:00:00 2001 From: Hassan Hashmi <75794688+hassanhashmey@users.noreply.github.com> Date: Wed, 14 Feb 2024 08:44:41 +0500 Subject: [PATCH] add rest ftp and dns code --- .../templates/baseTemplate/index.html | 11 ++ .../templates/databases/Updatemysql.html | 2 +- .../templates/databases/mysqlmanager.html | 6 +- dns/static/dns/dns.js | 152 ++++++++++++++++- dns/templates/dns/resetdnsconf.html | 70 ++++++++ dns/urls.py | 3 + dns/views.py | 119 ++++++++++++-- ftp/static/ftp/ftp.js | 153 +++++++++++++++++- ftp/templates/ftp/ResetFTPconf.html | 70 ++++++++ ftp/urls.py | 5 +- ftp/views.py | 90 ++++++++++- 11 files changed, 664 insertions(+), 17 deletions(-) create mode 100644 dns/templates/dns/resetdnsconf.html create mode 100644 ftp/templates/ftp/ResetFTPconf.html diff --git a/baseTemplate/templates/baseTemplate/index.html b/baseTemplate/templates/baseTemplate/index.html index 887036790..0766e95b6 100755 --- a/baseTemplate/templates/baseTemplate/index.html +++ b/baseTemplate/templates/baseTemplate/index.html @@ -549,6 +549,11 @@ title="{% trans 'CloudFlare' %}">{% trans "CloudFlare" %} {% endif %} + {% if admin or addDeleteRecords %} +
{% trans "CSF successfully installed, refreshing page in 3 seconds.." %}
+{% trans "Upgrading Done successfully." %}
{% trans "Reset your DNS Configurations here." %}
+{% trans "Failed to start installation, Error message: " %} {$ errorMessage + $}
+{% trans "Could not connect. Please refresh this page." %}
+{% trans "Installation failed." %} {$ errorMessage $}
+{% trans "successfully Completed Reset Process." %}
+{% trans "Reset your FTP Configurations here." %}
+{% trans "Failed to start installation, Error message: " %} {$ errorMessage + $}
+{% trans "Could not connect. Please refresh this page." %}
+{% trans "Installation failed." %} {$ errorMessage $}
+{% trans "successfully Completed Reset Process." %}
+