mirror of https://github.com/Aidaho12/haproxy-wi
parent
63174b2567
commit
a0aaab0efe
|
@ -52,14 +52,12 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>
|
<span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if s.9 %}
|
<span title="Enabled checks:
|
||||||
<span title="HTTP check: {{s.9.split(':')[0]}}://{{s.0}}:{{s.1}}{{s.9.split(':')[1]}}
|
Port check{% if s.9 %}
|
||||||
{% if s.11 and s.11 != 'None' %}Body check: {{s.11}}{% endif %}"
|
HTTP status check: {{s.9.split(':')[0]}}://{{s.0}}:{{s.1}}{{s.9.split(':')[1]}}
|
||||||
|
{% if s.11 and s.11 != 'None' %}Body response check: {{s.11}}{% endif %}
|
||||||
|
{% endif %}"> {{s.0}}:{{s.1}}
|
||||||
</span>
|
</span>
|
||||||
{{s.0}}:{{s.1}}
|
|
||||||
{% else %}
|
|
||||||
{{s.0}}:{{s.1}}
|
|
||||||
{% endif %}
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="desc">
|
<div class="desc">
|
||||||
|
|
|
@ -991,7 +991,12 @@ function listHistroy() {
|
||||||
$('.menu li ul li').each(function () {
|
$('.menu li ul li').each(function () {
|
||||||
var link1 = $(this).find('a').attr('href');
|
var link1 = $(this).find('a').attr('href');
|
||||||
var link2 = link1.split('/')[2]
|
var link2 = link1.split('/')[2]
|
||||||
if (browse_history[i].split('?')[0] == link2) {
|
if (browse_history[i] == link2) {
|
||||||
|
title[i] = $(this).find('a').attr('title');
|
||||||
|
link_text[i] = $(this).find('a').text();
|
||||||
|
history_link = '<li><a href="'+browse_history[i]+'" title="'+title[i]+'">'+link_text[i]+'</a></li>'
|
||||||
|
$('#browse_histroy').append(history_link);
|
||||||
|
} else if (browse_history[i].split('?')[0] == link2) {
|
||||||
title[i] = $(this).find('a').attr('title');
|
title[i] = $(this).find('a').attr('title');
|
||||||
link_text[i] = $(this).find('a').text();
|
link_text[i] = $(this).find('a').text();
|
||||||
history_link = '<li><a href="'+browse_history[i]+'" title="'+title[i]+'">'+link_text[i]+'</a></li>'
|
history_link = '<li><a href="'+browse_history[i]+'" title="'+title[i]+'">'+link_text[i]+'</a></li>'
|
||||||
|
@ -1044,7 +1049,7 @@ function showSmon(action) {
|
||||||
},
|
},
|
||||||
type: "POST",
|
type: "POST",
|
||||||
success: function( data ) {
|
success: function( data ) {
|
||||||
if (data.indexOf('error') != '-1') {
|
if (data.indexOf('SMON error') != '-1') {
|
||||||
toastr.error(data);
|
toastr.error(data);
|
||||||
} else {
|
} else {
|
||||||
$("#smon_dashboard").html(data);
|
$("#smon_dashboard").html(data);
|
||||||
|
|
Loading…
Reference in New Issue