Welcome, Guest. Please login or register.

Author Topic: GUI: little modif in monitoring-messages.php  (Read 2100 times)

richard.lajaunie

  • Newbie
  • *
  • Posts: 26
    • View Profile
GUI: little modif in monitoring-messages.php
« on: January 05, 2010, 03:37:01 PM »
hello,
Happy new year!!!!

Just a little proposition to stop the countdown in the monitoring-messages.php
To do this I propose to had this javascript function

function stop_countdown(id){
   window.clearInterval(id);
   document.getElementById('ctr').setAttribute('class', 'blk');
}

and modif the <span> tag like this

<span class="grn" id="ctr" width="20" onClick="stop_countdown(interval);"><?=$timer?></span>

Stopping the count down is very help for me when i'm analizing some log ....

Bye

oxo

  • Guest
Re: GUI: little modif in monitoring-messages.php
« Reply #1 on: January 05, 2010, 11:13:50 PM »
Worked for me: click on the counter and it goes black and stops
- nice one

Could also be nice for Monitoring-Health ...
« Last Edit: January 05, 2010, 11:25:46 PM by oxo »

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2701
    • View Profile
    • NeDi
Re: GUI: little modif in monitoring-messages.php
« Reply #2 on: January 08, 2010, 09:17:43 PM »
Good idea indeed...added  :)
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo