Merge branch 'v2.3.2-dev' of https://github.com/usmannasir/cyberpanel into v2.3.2-dev

This commit is contained in:
Hassan Hashmi
2022-06-16 14:35:12 +05:00
6 changed files with 138 additions and 28 deletions

View File

@@ -135,8 +135,7 @@
<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"
<input type="radio" data-toggle="modal"
data-target="#Passwordprotection"
class="custom-control-input ng-pristine ng-untouched ng-valid ng-not-empty"
id="passwdprotection">
@@ -165,13 +164,13 @@
<div>
<label class="col-sm-4">Username</label>
<input required class="col-lg-8"
<input ng-model="$parent.PPUsername" 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"
<input ng-model="$parent.PPPassword" required class="col-lg-8"
type="password" placeholder="*******************">
</div>
@@ -179,7 +178,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary"
ng-click="FiPasswordprotection()">Yes
ng-click="UpdateWPSettings('PasswordProtection')">Yes
</button>
<button type="button" ng-disabled="savingSettings"
class="btn btn-default" data-dismiss="modal">