mirror of https://github.com/Aidaho12/haproxy-wi
parent
bb6d6c18f7
commit
f8ffdb1ef6
|
@ -1265,7 +1265,7 @@ def show_finding_in_config(stdout: str, **kwargs) -> str:
|
|||
def show_haproxy_log(serv, rows=10, waf='0', grep=None, hour='00', minut='00', hour1='24', minut1='00', service='haproxy', **kwargs):
|
||||
import sql
|
||||
exgrep = form.getvalue('exgrep')
|
||||
log_file = checkAjaxInput(form.getvalue('file'))
|
||||
log_file = form.getvalue('file')
|
||||
date = checkAjaxInput(hour) + ':' + checkAjaxInput(minut)
|
||||
date1 = checkAjaxInput(hour1) + ':' + checkAjaxInput(minut1)
|
||||
rows = checkAjaxInput(rows)
|
||||
|
@ -1282,6 +1282,8 @@ def show_haproxy_log(serv, rows=10, waf='0', grep=None, hour='00', minut='00', h
|
|||
else:
|
||||
exgrep_act = ''
|
||||
|
||||
log_file = checkAjaxInput(log_file) if log_file is not None else log_file
|
||||
|
||||
if service in ('nginx', 'haproxy', 'apache', 'keepalived'):
|
||||
syslog_server_enable = sql.get_setting('syslog_server_enable')
|
||||
if syslog_server_enable is None or syslog_server_enable == 0:
|
||||
|
|
|
@ -881,7 +881,7 @@ $( function() {
|
|||
|
||||
$( "#path-cert-listen" ).autocomplete({
|
||||
source: function( request, response ) {
|
||||
if(!checkIsServerFiled('#serv2')) return false;
|
||||
if(!checkIsServerFiled('#serv')) return false;
|
||||
$.ajax( {
|
||||
url: "options.py",
|
||||
data: {
|
||||
|
|
Loading…
Reference in New Issue