bug fixes in wp manager

This commit is contained in:
Usman Nasir
2022-06-05 12:46:02 +05:00
parent 9c9a0eb214
commit 7ae3856e32
11 changed files with 187 additions and 99 deletions

View File

@@ -20,27 +20,25 @@
<form name="websiteCreationForm" action="/" id="createPackages"
class="form-horizontal bordered-row panel-body">
<label>{% trans "Plugin Bucket Name" %}</label>
<label>{% trans "Plugin Bucket Name" %} <img ng-hide="webSiteCreationLoading"
src="{% static 'images/loading.gif' %}"></label>
<input name="PluginbucketName" type="text" class="form-control"
ng-model="PluginbucketName"
required>
<input name="PluginbucketName" type="text" class="form-control"
ng-model="PluginbucketName"
required>
<label style="margin-top: 15px;">{% trans "Search Plugin Name" %}</label>
<input name="searchcontent" type="text" class="form-control" ng-model="searchcontent"
ng-keyup="$event.keyCode == 13 ? SearchPluginName('add') : null"
placeholder="{% trans "Search Plugin...." %}" required>
<label style="margin-top: 15px;">{% trans "Search Plugin Name" %}</label>
<input name="searchcontent" type="text" class="form-control" ng-model="searchcontent"
ng-keyup="SearchPluginName('add')"
placeholder="{% trans "Search Plugin...." %}" required>
<div id="mysearch" class="col-lg-12" style="display: none; border-top: none!important;
<div id="mysearch" class="col-lg-12" style="display: none; border-top: none!important;
border: 1px solid rgba(90, 91, 92, 0.7);
position: absolute; z-index: 1;
background-color: #FFFFFF">
</div>
</div>
<h3 style="margin-top: 20px;">Selected Plugin</h3>

View File

@@ -1,6 +1,6 @@
{% extends "baseTemplate/index.html" %}
{% load i18n %}
{% block title %}{% trans "plugin - CyberPanel" %}{% endblock %}
{% block title %}{% trans "Create Plugin Buckets - CyberPanel" %}{% endblock %}
{% block content %}
{% load static %}

View File

@@ -1,6 +1,6 @@
{% extends "baseTemplate/index.html" %}
{% load i18n %}
{% block title %}{% trans "Create New WordPress - CyberPanel" %}{% endblock %}
{% block title %}{% trans "Deploy WordPress - CyberPanel" %}{% endblock %}
{% block content %}
{% load static %}
@@ -106,7 +106,7 @@
<div ng-hide="installationDetailsForm" class="form-group">
<label class="col-sm-3 control-label">{% trans "Plugin/Theme" %}</label>
<div class="col-sm-6">
<select id="pliginbucket" ng-model="pluginbucket" class="form-control">
<select ng-model="pluginbucket" class="form-control">
<option value="-1" selected>Select Plugin Bucket</option>
{% for wp in Plugins %}
<option value="{{ wp.id }}">{{ wp.Name }}</option>

View File

@@ -1,6 +1,6 @@
{% extends "baseTemplate/index.html" %}
{% load i18n %}
{% block title %}{% trans "plugin - CyberPanel" %}{% endblock %}
{% block title %}{% trans "Edit Plugin Bucket - CyberPanel" %}{% endblock %}
{% block content %}
{% load static %}

View File

@@ -1,6 +1,6 @@
{% extends "baseTemplate/index.html" %}
{% load i18n %}
{% block title %}{% trans "Worpress Manager - CyberPanel" %}{% endblock %}
{% block title %}{% trans "WordPress Manager - CyberPanel" %}{% endblock %}
{% block content %}
{% load static %}

View File

@@ -1,6 +1,6 @@
{% extends "baseTemplate/index.html" %}
{% load i18n %}
{% block title %}{% trans "WordPress List - CyberPanel" %}{% endblock %}
{% block title %}{% trans "WordPress Sites - CyberPanel" %}{% endblock %}
{% block content %}
{% load static %}
@@ -150,7 +150,7 @@
<div class="modal-body">
<form name="DeleteDocumentRootForm" action="/" class="form-horizontal">
<span>Do you want to delete the site??</span>
<span>Do you want to delete the site?</span>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary"
@@ -158,7 +158,7 @@
</button>
<button type="button" ng-disabled="savingSettings"
class="btn btn-default" data-dismiss="modal">
NOt
Cancel
</button>
</div>
</div>