areyousure

This commit is contained in:
habi
2022-03-26 18:04:26 +05:00
parent a684b01c57
commit 7955b298db
2 changed files with 17 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
*/
/* Java script code to start/stop litespeed */
app.controller('litespeedStatus', function ($scope, $http) {
@@ -596,6 +597,10 @@ app.controller('lswsSwitch', function ($scope, $http, $timeout, $window) {
$scope.cyberPanelLoading = true;
$scope.installBoxGen = true;
$scope.confrimtril = function () {
$('#confrimtril').show();
}
$scope.switchTOLSWS = function () {
$scope.cyberPanelLoading = false;

View File

@@ -158,15 +158,26 @@
<div class="col-sm-4">
<button type="button" ng-click="switchTOLSWS()"
class="btn btn-primary btn-lg">{% trans "Switch" %}</button>
<button type="button" ng-click="switchTOLSWS()"
<button type="button" ng-click="confrimtril()"
class="btn btn-primary btn-lg">{% trans "Get 15 Days Trial" %}</button>
</div>
<div class="col-sm-4">
</div>
</div>
<div id="confrimtril" style="display: none" class="form-group ">
<label class="col-sm-3 control-label"></label>
<div class="col-sm-4">
<button type="button" ng-click="switchTOLSWS()"
class="btn btn-primary btn-lg">{% trans "Are you sure?" %}</button>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"></label>