mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-06-27 10:08:28 +02:00
areyousure
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user