mirror of https://github.com/Aidaho12/haproxy-wi
parent
d19ddc23eb
commit
95fda9f31b
|
@ -16,6 +16,8 @@
|
|||
{% elif smon|length == 0 and action != 'add' %}
|
||||
<center>
|
||||
<h3>You do not have added servers in SMON service. Create you first server <a href="smon.py?action=add" title="HAProxy-WI SMON" target="_blank">here</a> before use</h3>
|
||||
<br />
|
||||
<iframe width="860" height="515" src="https://www.youtube.com/embed/bJtRJeHG5B0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
</center>
|
||||
{% else %}
|
||||
{% if action == 'add' %}
|
||||
|
|
|
@ -308,7 +308,7 @@ function updateHapWIServer(id) {
|
|||
if (data.indexOf('error') != '-1') {
|
||||
toastr.error(data);
|
||||
} else {
|
||||
$('.alert-danger').remove();
|
||||
toastr.clear();
|
||||
$("#server-"+id).addClass( "update", 1000 );
|
||||
setTimeout(function() {
|
||||
$( "#server-"+id ).removeClass( "update" );
|
||||
|
|
Loading…
Reference in New Issue