website v2issue

This commit is contained in:
Hassan Hashmi
2024-01-22 14:43:29 +05:00
parent 102a9a1c36
commit cc4e1f61e7
4 changed files with 173 additions and 124 deletions

View File

@@ -463,15 +463,15 @@ newapp.controller('websitePagesV2', function ($scope, $http, $timeout, $window)
$scope.hideLogs = true;
};
$scope.fileManagerURL = "/filemanager/" + $("#domainNamePage").text();
$scope.fileManagerURLV2 = "/filemanager/" + $("#domainNamePageV2").text();
$scope.wordPressInstallURLV2 = $("#domainNamePageV2").text() + "/wordpressInstallV2";
$scope.joomlaInstallURL = $("#domainNamePage").text() + "/joomlaInstall";
$scope.setupGit = $("#domainNamePage").text() + "/setupGit";
$scope.installPrestaURL = $("#domainNamePage").text() + "/installPrestaShop";
$scope.installMagentoURL = $("#domainNamePage").text() + "/installMagento";
$scope.installMauticURL = $("#domainNamePage").text() + "/installMautic";
$scope.domainAliasURL = "/websites/" + $("#domainNamePage").text() + "/domainAlias";
$scope.previewUrl = "/preview/" + $("#domainNamePage").text() + "/";
$scope.joomlaInstallURLV2 = $("#domainNamePageV2").text() + "/joomlaInstallV2";
$scope.setupGitV2 = $("#domainNamePageV2").text() + "/setupGitV2";
$scope.installPrestaURLV2 = $("#domainNamePageV2").text() + "/installPrestaShopV2";
$scope.installMagentoURLV2 = $("#domainNamePageV2").text() + "/installMagentoV2";
$scope.installMauticURLV2 = $("#domainNamePageV2").text() + "/installMauticV2";
$scope.domainAliasURLV2 = "/websites/" + $("#domainNamePageV2").text() + "/domainAliasV2";
$scope.previewUrl = "/preview/" + $("#domainNamePageV2").text() + "/";
var logType = 0;
$scope.pageNumber = 1;

View File

@@ -799,7 +799,7 @@
</div>
<div>
<ul class="flex w-full grid lg:grid-cols-4">
<a href="{% url 'FilemanagerV2' %}" class="px-3 py-3">
<a href="{$ fileManagerURLV2 $}" class="px-3 py-3">
<div class="flex items-center">
<div>
<svg width="20" height="20" viewBox="0 0 40 40" fill="none"
@@ -1079,7 +1079,7 @@
</div>
</div>
</a>
<a href="/websites/{{ domain }}/manageGITV2" class="px-3 py-3">
<a href="{$ setupGitV2 $}" class="px-3 py-3">
<div class="flex items-center">
<div>
<svg width="20" height="20" viewBox="0 0 40 40" fill="none"
@@ -1097,7 +1097,7 @@
</div>
</div>
</a>
<a href="{$ installPrestaURL $}" class="px-3 py-3">
<a href="{$ installPrestaURLV2 $}" class="px-3 py-3">
<div class="flex items-center">
<div>
<svg width="20" height="20" viewBox="0 0 40 40" fill="none"
@@ -1119,7 +1119,7 @@
</div>
</div>
</a>
<a href="{$ installMauticURL $}" class="px-3 py-3">
<a href="{$ installMauticURLV2 $}" class="px-3 py-3">
<div class="flex items-center">
<div>

View File

@@ -16,7 +16,10 @@ urlpatterns = [
url(r'^createWebsiteV2$', views.createWebsiteV2, name='createWebsiteV2'),
url(r'^listWebsitesV2$', views.listWebsitesV2, name='listWebsitesV2'),
url(r'^V2/(?P<domain>(.*))$', views.domainV2, name='domainv2'),
url(r'^V2/(?P<domain>(.*))/wordpressInstallV2$', views.wordpressInstallV2, name='wordpressInstallV2'),
url(r'^V3/(?P<domain>(.*))/wordpressInstallV2$', views.wordpressInstallV2, name='wordpressInstallV2'),
url(r'^V3/(?P<domain>(.*))/installMauticV2$', views.installMauticV2, name='installMauticV2'),
url(r'^V3/(?P<domain>(.*))/installPrestaShopV2$', views.installPrestaShopV2, name='installPrestaShopV2'),
url(r'^V3/(?P<domain>(.*))/manageGITV2$', views.manageGITV2, name='manageGITV2'),
url(r'^CreateNewDomain$', views.CreateNewDomain, name='CreateNewDomain'),
url(r'^CreateNewDomainV2$', views.CreateNewDomainV2, name='CreateNewDomainV2'),
@@ -151,7 +154,7 @@ urlpatterns = [
url(r'^prestaShopInstall$', views.prestaShopInstall, name='prestaShopInstall'),
url(r'^(?P<domain>(.*))/installPrestaShop$', views.installPrestaShop, name='installPrestaShop'),
url(r'^V2/(?P<domain>(.*))/installPrestaShopV2$', views.installPrestaShopV2, name='installPrestaShopV2'),
## magento
@@ -161,7 +164,7 @@ urlpatterns = [
## mautic
url(r'^(?P<domain>(.*))/installMautic$', views.installMautic, name='installMautic'),
url(r'^V2/(?P<domain>(.*))/installMauticV2$', views.installMauticV2, name='installMauticV2'),
url(r'^mauticInstall$', views.mauticInstall, name='mauticInstall'),
## Git
@@ -186,7 +189,6 @@ urlpatterns = [
### Manage GIT
url(r'^(?P<domain>(.*))/manageGIT$', views.manageGIT, name='manageGIT'),
url(r'^V2/(?P<domain>(.*))/manageGITV2$', views.manageGITV2, name='manageGITV2'),
url(r'^(?P<domain>(.*))/webhook$', views.webhook, name='webhook'),
url(r'^fetchFolderDetails$', views.fetchFolderDetails, name='fetchFolderDetails'),
url(r'^initRepo$', views.initRepo, name='initRepo'),