mirror of https://github.com/Aidaho12/haproxy-wi
parent
5c18a2d837
commit
43a9f600c1
|
@ -85,6 +85,10 @@
|
|||
let path_dir = $('#path_config_name').val();
|
||||
config_file_name = config_file_name.replaceAll('\/','92');
|
||||
path_dir = path_dir.replaceAll('\/','92');
|
||||
service = escapeHtml(service);
|
||||
serv = escapeHtml(serv);
|
||||
path_dir = escapeHtml(path_dir);
|
||||
config_file_name = escapeHtml(config_file_name);
|
||||
window.location.replace('config.py?service='+service+'&serv='+serv+'&open=open&config_file_name='+path_dir+'92'+config_file_name+'.conf&new_config=1');
|
||||
$( this ).dialog( "close" );
|
||||
},
|
||||
|
|
|
@ -665,6 +665,8 @@ $( function() {
|
|||
}
|
||||
});
|
||||
$('#ddos1').click(function() {
|
||||
ddos_var = escapeHtml(ddos_var);
|
||||
table_name = escapeHtml(table_name);
|
||||
if($('#new_frontend').val() == "") {
|
||||
$("#optionsInput1").append(ddos_var)
|
||||
}
|
||||
|
@ -1987,6 +1989,7 @@ function showUserlists() {
|
|||
for (i = 0; i < data.length; i++) {
|
||||
var existing_userlist_ajax = $.find("#existing_userlist_ajax");
|
||||
existing_userlist_ajax = existing_userlist_ajax[0].id;
|
||||
data[i] = escapeHtml(data[i]);
|
||||
$('#'+existing_userlist_ajax).append('<a href="sections.py?serv='+serv+'§ion='+data[i]+'" title="Edit/Delete this userlist" target="_blank">'+data[i]+'</a> ');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -131,6 +131,7 @@ if(localStorage.getItem('restart')) {
|
|||
apply_div = apply_div[0].id;
|
||||
$("#apply").css('display', 'block');
|
||||
$('#'+apply_div).css('width', '850px');
|
||||
ip_for_restart = escapeHtml(ip_for_restart);
|
||||
if (cur_url[0] == "hapservers.py") {
|
||||
$('#'+apply_div).css('width', '650px');
|
||||
$('#'+apply_div).addClass("alert-one-row");
|
||||
|
|
Loading…
Reference in New Issue