mirror of https://github.com/Aidaho12/haproxy-wi
parent
a905a2ae3e
commit
cc52ec7779
|
@ -88,8 +88,8 @@ function autoRefreshStyle(autoRefresh) {
|
||||||
|
|
||||||
function setRefreshInterval(interval) {
|
function setRefreshInterval(interval) {
|
||||||
if (interval == "0") {
|
if (interval == "0") {
|
||||||
Cookies.remove('auto-refresh', { path: '' });
|
Cookies.remove('auto-refresh');
|
||||||
Cookies.remove('auto-refresh-pause', { path: '' });
|
Cookies.remove('auto-refresh-pause');
|
||||||
pauseAutoRefresh();
|
pauseAutoRefresh();
|
||||||
$('.auto-refresh').prepend('<img src=/image/pic/update.png alt="restart" class="icon">');
|
$('.auto-refresh').prepend('<img src=/image/pic/update.png alt="restart" class="icon">');
|
||||||
$('.auto-refresh').css('margin-top', '-3px');
|
$('.auto-refresh').css('margin-top', '-3px');
|
||||||
|
|
|
@ -212,6 +212,7 @@ $( function() {
|
||||||
newserver: "1",
|
newserver: "1",
|
||||||
servername: $('#new-server-add').val(),
|
servername: $('#new-server-add').val(),
|
||||||
newip: $('#new-ip').val(),
|
newip: $('#new-ip').val(),
|
||||||
|
newport: $('#new-port').val(),
|
||||||
newservergroup: $('#new-server-group-add').val(),
|
newservergroup: $('#new-server-group-add').val(),
|
||||||
typeip: typeip,
|
typeip: typeip,
|
||||||
enable: enable,
|
enable: enable,
|
||||||
|
@ -725,6 +726,7 @@ function updateServer(id) {
|
||||||
data: {
|
data: {
|
||||||
updateserver: $('#hostname-'+id).val(),
|
updateserver: $('#hostname-'+id).val(),
|
||||||
ip: $('#ip-'+id).val(),
|
ip: $('#ip-'+id).val(),
|
||||||
|
port: $('#port-'+id).val(),
|
||||||
servergroup: servergroup,
|
servergroup: servergroup,
|
||||||
typeip: typeip,
|
typeip: typeip,
|
||||||
enable: enable,
|
enable: enable,
|
||||||
|
|
Loading…
Reference in New Issue