@ -16,8 +16,8 @@
< td style = "width: 5%;" > WAF logs< / td >
{% endif %}
< td > Number rows< / td >
< td class = "padding10 "> < span title = "Find in log file(supports regular expressions)" > Find (?) < span > < / td >
< td class = "padding10 "> < span title = "Exclude from search in log file(supports regular expressions)" > Exclude (?) < span > < / td >
< td class = "padding10 help_cursor "> < span title = "Find in log file(supports regular expressions)" > Find< span > < / td >
< td class = "padding10 help_cursor "> < span title = "Exclude from search in log file(supports regular expressions)" > Exclude< span > < / td >
< td style = "width: 10%;" >
< label for = "time_range_out_hour" style = "padding: 0" > Time range:< / label >
{{ input('time_range_out_hour', value=hour, class='time-range', readonly='readonly') }}:{{ input('time_range_out_minut', value=minut, class='time-range', readonly='readonly') }}
@ -33,8 +33,8 @@
< option disabled selected > Choose log< / option >
{% for select in selects %}
{% if page == 'for_editor' %}
{% if select.1.startswith('hap roxy-wi') or select.1.startswith('config_edit') or select.1.startswith('port_sca') %}
{% if select.0|int() == serv|int() %}
{% if select.1.startswith('roxy-wi') or select.1.startswith('config_edit') or select.1.startswith('port_sca') %}
{% if select.0 == serv %}
< option value = "{{ select.0 }}" selected > {{ select.1 }}< / option >
{% else %}
< option value = "{{ select.0 }}" > {{ select.1 }}< / option >
@ -78,7 +78,7 @@
< / table >
< div id = "ajax" >
< / div >
{% if select_id == 'viewlogs' and serv != '' and viewlogs != '' and viewlogs != 'hap roxy-wi.error.log' and viewlogs != 'hap roxy-wi.access.log' %}
{% if select_id == 'viewlogs' and serv != '' and viewlogs != '' and viewlogs != 'roxy-wi.error.log' and viewlogs != 'roxy-wi.access.log' %}
< script >
viewLogs()
if (window.matchMedia('(max-width: 786px)').matches || window.matchMedia('(max-width: 1024px)').matches || window.matchMedia('(max-width: 667px)').matches) {
@ -90,7 +90,7 @@
< div class = "add-note addName alert-info" style = "width: inherit; margin-right: 15px;" >
You can read the descriptions about all logs < a href = "https://roxy-wi.org/description.py?description=logs" title = "Servers description" target = "_blank" > here< / a >
< / div >
{% elif serv == 'hap roxy-wi.error.log' or serv == 'hap roxy-wi.access.log' %}
{% elif serv == 'roxy-wi.error.log' or serv == 'roxy-wi.access.log' %}
< script >
showApacheLog('{{serv}}');
< / script >