mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-15 09:46:11 +01:00
wpdone
This commit is contained in:
@@ -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 ng-model="pluginbucket" class="form-control">
|
||||
<select id="pliginbucket" 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>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<!-- Current language: {{ LANGUAGE_CODE }} -->
|
||||
|
||||
<div class="container">
|
||||
<span id="pluginbID" style="display: none">{{ pluginbID }}</span>
|
||||
<span id="pluginbID" style="display: none">{{ pluginbID }}</span>
|
||||
<div id="page-title">
|
||||
<h2 id="domainNamePage">{% trans "Eidt Plugin Bucket" %}
|
||||
|
||||
@@ -17,58 +17,53 @@
|
||||
<div ng-controller="WPAddNewPlugin" class="panel">
|
||||
<div class="panel-body">
|
||||
<div class="example-box-wrapper">
|
||||
<h2>{{ BucketName }}</h2>
|
||||
|
||||
<form name="websiteCreationForm" action="/" id="createPackages"
|
||||
class="form-horizontal bordered-row panel-body">
|
||||
|
||||
|
||||
<label style="margin-bottom: 10px;">{% trans "Search Plugin Name" %}</label>
|
||||
|
||||
<input name="searchcontent" type="text" class="form-control" ng-model="searchcontent"
|
||||
ng-keyup="SearchPluginName('eidt')"
|
||||
placeholder="{% trans "Search Plugin...." %}" required>
|
||||
|
||||
<div id="mysearch" class="col-lg-12" style="display: none; border-top: none!important;
|
||||
<label style="margin-bottom: 10px;">{% trans "Search Plugin Name" %}</label>
|
||||
|
||||
<input name="searchcontent" type="text" class="form-control" ng-model="searchcontent"
|
||||
ng-keyup="SearchPluginName('eidt')"
|
||||
placeholder="{% trans "Search Plugin...." %}" required>
|
||||
|
||||
<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>
|
||||
<div id="sedplugn" style=" display: flex; flex-direction: row; margin-top: 10px;">
|
||||
{% for plugin in Selectedplugins %}
|
||||
<div id="selplug"
|
||||
style="background-color: #12207a; color: #FFFFFF; padding: 5px; border-radius: 30px">
|
||||
{{plugin}}
|
||||
<svg ng-click="deletesPlgin('{{plugin}}')" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"
|
||||
role="img" width="1em" height="1em"
|
||||
preserveAspectRatio="xMidYMid meet" viewBox="0 0 16 16">
|
||||
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
||||
stroke-width="1.5" d="m11.25 4.75l-6.5 6.5m0-6.5l6.5 6.5"/>
|
||||
</svg>
|
||||
<div id="sedplugn" style=" display: flex; flex-direction: row; margin-top: 10px;">
|
||||
{% for plugin in Selectedplugins %}
|
||||
<div id="selplug"
|
||||
style="background-color: #12207a; color: #FFFFFF; padding: 5px; border-radius: 30px">
|
||||
{{ plugin }}
|
||||
<svg ng-click="deletesPlgin('{{ plugin }}')" xmlns="http://www.w3.org/2000/svg"
|
||||
aria-hidden="true"
|
||||
role="img" width="1em" height="1em"
|
||||
preserveAspectRatio="xMidYMid meet" viewBox="0 0 16 16">
|
||||
<path fill="none" stroke="currentColor" stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
stroke-width="1.5" d="m11.25 4.75l-6.5 6.5m0-6.5l6.5 6.5"/>
|
||||
</svg>
|
||||
|
||||
</div>
|
||||
   
|
||||
{% endfor %}
|
||||
</div>
|
||||
   
|
||||
{% endfor %}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div ng-hide="installationDetailsForm" class="form-group">
|
||||
<label class="col-sm-3 control-label"></label>
|
||||
<div class="col-sm-4">
|
||||
<button ng-disabled="websiteCreationForm.dom.$error.required || websiteCreationForm.email.$invalid"
|
||||
type="button" ng-click="AddNewplugin()"
|
||||
class="btn btn-primary btn-lg">{% trans "Add Plugin Bucket" %}</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -127,15 +127,43 @@
|
||||
|
||||
<td style="padding: 13px;">
|
||||
|
||||
|
||||
|
||||
<button
|
||||
|
||||
data-toggle="modal"
|
||||
data-target="#DeleteMember" aria-label=""
|
||||
onclick="DeleteWPNow('{% url 'ListWPSites' %}?DeleteID={{ sub.id }}')"
|
||||
type="button" class="btn btn-border btn-alt border-red btn-link font-red">
|
||||
Delete
|
||||
</button>
|
||||
<div id="DeleteMember" class="modal fade" role="dialog">
|
||||
<div class="modal-dialog">
|
||||
<!-- Modal content-->
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×
|
||||
</button>
|
||||
<h4 class="modal-title">Delete WordPress Site
|
||||
<img ng-hide="$parent.cyberPanelLoading"
|
||||
src="/static/images/loading.gif"
|
||||
style="display: none;">
|
||||
</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form name="DeleteDocumentRootForm" action="/" class="form-horizontal">
|
||||
|
||||
<span>Do you want to delete the site??</span>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary"
|
||||
onclick="FinalDeleteWPNow()">Yes
|
||||
</button>
|
||||
<button type="button" ng-disabled="savingSettings"
|
||||
class="btn btn-default" data-dismiss="modal">
|
||||
NOt
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user