Expired IP Pool Hotspot/PPPOE

This commit is contained in:
Ibnu Maksum
2023-09-05 16:40:23 +07:00
parent b7eca582a6
commit 5c9a0d8ea6
13 changed files with 72 additions and 26 deletions

View File

@ -14,7 +14,7 @@ $(document).ready(function () {
$('#TimeLimit').show();
$('#DataLimit').show();
}
if ($('#Unlimited').is(':checked')) {
$('#Type').hide();
$('#TimeLimit').hide();
@ -26,12 +26,12 @@ $(document).ready(function () {
if ($('#Hotspot').is(':checked')) {
$('#p').hide();
$('#h').show();
}
}
if ($('#PPPOE').is(':checked')) {
$('#p').show();
$('#h').hide();
}
});
});
$("#Hotspot").prop("checked", true).change();
@ -48,6 +48,7 @@ $(document).ready(function(){
cache: false,
success: function(msg){
$("#pool_name").html(msg);
$("#pool_expired").html(msg);
}
});
});
@ -62,10 +63,10 @@ $(function() {
dataType: "html",
url: "index.php?_route=autoload/server",
success: function(msg){
$("#server").html(msg);
$("#server").html(msg);
}
});
$("#server").change(getAjaxAlamat);
function getAjaxAlamat(){
var server = $("#server").val();