mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 17:26:17 +01:00
passwordprotectionmodeldone
This commit is contained in:
@@ -3047,7 +3047,7 @@ $parameters = array(
|
|||||||
Webnewpath = str(newWPpath)+str(pathexta)
|
Webnewpath = str(newWPpath)+str(pathexta)
|
||||||
else:
|
else:
|
||||||
##usr/local/CyberCP/tmp/4701/ab/usr/local/CyberCP/tmp/9507/public_html/public_html/
|
##usr/local/CyberCP/tmp/4701/ab/usr/local/CyberCP/tmp/9507/public_html/public_html/
|
||||||
unzippath = "%s/ab/usr/local/CyberCP/tmp/%s/public_html/public_html/" % (self.tempPath, oldtemppath)
|
unzippath = "%s/ab/usr/local/CyberCP/tmp/%s/public_html/" % (self.tempPath, oldtemppath)
|
||||||
Webnewpath = newWPpath
|
Webnewpath = newWPpath
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -113,15 +113,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style="margin-top: 4%">
|
<div style="margin-top: 4%">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-3">
|
||||||
<h6 style="font-weight: bold">WordPress Version</h6>
|
<h6 style="font-weight: bold">WordPress Version</h6>
|
||||||
<p id="WPVersion" class="text-sm lh-150"></p>
|
<p id="WPVersion" class="text-sm lh-150"></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-3">
|
||||||
<h6 style="font-weight: bold">PHP</h6>
|
<h6 style="font-weight: bold">PHP</h6>
|
||||||
<p class="text-sm lh-150">{{ wpsite.owner.phpSelection }}</p>
|
<p class="text-sm lh-150">{{ wpsite.owner.phpSelection }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-3">
|
||||||
<h6 style="font-weight: bold">LSCache</h6>
|
<h6 style="font-weight: bold">LSCache</h6>
|
||||||
<div class="custom-control custom-switch">
|
<div class="custom-control custom-switch">
|
||||||
<input ng-click="UpdateWPSettings('lscache')"
|
<input ng-click="UpdateWPSettings('lscache')"
|
||||||
@@ -132,11 +132,67 @@
|
|||||||
for="lscache"></label>
|
for="lscache"></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<h6 style="font-weight: bold">Password Protection</h6>
|
||||||
|
<div class="custom-control custom-switch">
|
||||||
|
<input
|
||||||
|
type="radio" data-toggle="modal"
|
||||||
|
data-target="#Passwordprotection"
|
||||||
|
class="custom-control-input ng-pristine ng-untouched ng-valid ng-not-empty"
|
||||||
|
id="passwdprotection">
|
||||||
|
<label class="custom-control-label"
|
||||||
|
for="passwdprotection"></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!------------------MOdael for passwd protection-------->
|
||||||
|
<div id="Passwordprotection" 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" style="height: 100px;">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<label class="col-sm-4">Username</label>
|
||||||
|
<input required class="col-lg-8"
|
||||||
|
type="text" placeholder="Username" >
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div style="margin-top: 36px;">
|
||||||
|
<label class="col-sm-4">Password</label>
|
||||||
|
<input required class="col-lg-8"
|
||||||
|
type="password" placeholder="*******************" >
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-primary"
|
||||||
|
ng-click="FiPasswordprotection()">Yes
|
||||||
|
</button>
|
||||||
|
<button type="button" ng-disabled="savingSettings"
|
||||||
|
class="btn btn-default" data-dismiss="modal">
|
||||||
|
Cancel
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!------------------End MOdael for passwd protection-------->
|
||||||
<div style="margin-top: 4%">
|
<div style="margin-top: 4%">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-3">
|
||||||
<h6 style="font-weight: bold">Debugging</h6>
|
<h6 style="font-weight: bold">Debugging</h6>
|
||||||
<div class="custom-control custom-switch">
|
<div class="custom-control custom-switch">
|
||||||
<input ng-click="UpdateWPSettings('debugging')"
|
<input ng-click="UpdateWPSettings('debugging')"
|
||||||
@@ -147,7 +203,7 @@
|
|||||||
for="debugging"></label>
|
for="debugging"></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-3">
|
||||||
<h6 style="font-weight: bold">Search Engine Indexing</h6>
|
<h6 style="font-weight: bold">Search Engine Indexing</h6>
|
||||||
<div class="custom-control custom-switch">
|
<div class="custom-control custom-switch">
|
||||||
<input ng-click="UpdateWPSettings('searchIndex')"
|
<input ng-click="UpdateWPSettings('searchIndex')"
|
||||||
@@ -158,7 +214,7 @@
|
|||||||
for="searchIndex"></label>
|
for="searchIndex"></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-3">
|
||||||
<h6 style="font-weight: bold">Maintenance mode</h6>
|
<h6 style="font-weight: bold">Maintenance mode</h6>
|
||||||
<div class="custom-control custom-switch">
|
<div class="custom-control custom-switch">
|
||||||
<input ng-click="UpdateWPSettings('maintenanceMode')"
|
<input ng-click="UpdateWPSettings('maintenanceMode')"
|
||||||
|
|||||||
Reference in New Issue
Block a user